import { c as createComponent } from './astro-component_zOMRFNdO.mjs'; import { f as createRenderInstruction, j as defineStyleVars, r as renderComponent, F as Fragment, a as renderTemplate, m as maybeRenderHead, h as spreadAttributes, b as addAttribute, u as unescapeHTML, A as AstroUserError, e as renderSlot } from './prerender_DM8EEygr.mjs'; import 'piccolore'; import * as z from 'zod/v4'; import { locales } from 'zod/v4'; import 'clsx'; import { select } from 'hast-util-select'; import { rehype } from 'rehype'; import { visit, CONTINUE, SKIP } from 'unist-util-visit'; import rehypeFormat from 'rehype-format'; import { h, s } from 'hastscript'; import { fromHtml } from 'hast-util-from-html'; import { toString } from 'hast-util-to-string'; import { addClassName, toHtml } from 'rehype-expressive-code/hast'; async function renderScript(result, id) { const inlined = result.inlinedScripts.get(id); let content = ""; if (inlined != null) { if (inlined) { content = ``; } } else { const resolved = await result.resolve(id); content = ``; } return createRenderInstruction({ type: "script", id, content }); } const definitions = { files: { "astro.config.js": "astro", "astro.config.mjs": "astro", "astro.config.cjs": "astro", "astro.config.ts": "astro", "pnpm-debug.log": "pnpm", "pnpm-lock.yaml": "pnpm", "pnpm-workspace.yaml": "pnpm", "biome.json": "biome", "bun.lockb": "bun", COMMIT_EDITMSG: "seti:git", MERGE_MSG: "seti:git", "karma.conf.js": "seti:karma", "karma.conf.cjs": "seti:karma", "karma.conf.mjs": "seti:karma", "karma.conf.coffee": "seti:karma", "README.md": "seti:info", "README.txt": "seti:info", README: "seti:info", "CHANGELOG.md": "seti:clock", "CHANGELOG.txt": "seti:clock", CHANGELOG: "seti:clock", "CHANGES.md": "seti:clock", "CHANGES.txt": "seti:clock", CHANGES: "seti:clock", "VERSION.md": "seti:clock", "VERSION.txt": "seti:clock", VERSION: "seti:clock", mvnw: "seti:maven", "pom.xml": "seti:maven", "tsconfig.json": "seti:tsconfig", "vite.config.js": "seti:vite", "vite.config.ts": "seti:vite", "vite.config.mjs": "seti:vite", "vite.config.mts": "seti:vite", "vite.config.cjs": "seti:vite", "vite.config.cts": "seti:vite", "swagger.json": "seti:json", "swagger.yml": "seti:json", "swagger.yaml": "seti:json", "mime.types": "seti:config", Jenkinsfile: "seti:jenkins", "babel.config.js": "seti:babel", "babel.config.json": "seti:babel", "babel.config.cjs": "seti:babel", BUILD: "seti:bazel", "BUILD.bazel": "seti:bazel", WORKSPACE: "seti:bazel", "WORKSPACE.bazel": "seti:bazel", "bower.json": "seti:bower", "Bower.json": "seti:bower", "eslint.config.js": "seti:eslint", "firebase.json": "seti:firebase", geckodriver: "seti:firefox", "Gruntfile.js": "seti:grunt", "gruntfile.babel.js": "seti:grunt", "Gruntfile.babel.js": "seti:grunt", "gruntfile.js": "seti:grunt", "Gruntfile.coffee": "seti:grunt", "gruntfile.coffee": "seti:grunt", "ionic.config.json": "seti:ionic", "Ionic.config.json": "seti:ionic", "ionic.project": "seti:ionic", "Ionic.project": "seti:ionic", "platformio.ini": "seti:platformio", "rollup.config.js": "seti:rollup", "sass-lint.yml": "seti:sass", "stylelint.config.js": "seti:stylelint", "stylelint.config.cjs": "seti:stylelint", "stylelint.config.mjs": "seti:stylelint", "yarn.clean": "seti:yarn", "yarn.lock": "seti:yarn", "webpack.config.js": "seti:webpack", "webpack.config.cjs": "seti:webpack", "webpack.config.mjs": "seti:webpack", "webpack.config.ts": "seti:webpack", "webpack.config.build.js": "seti:webpack", "webpack.config.build.cjs": "seti:webpack", "webpack.config.build.mjs": "seti:webpack", "webpack.config.build.ts": "seti:webpack", "webpack.common.js": "seti:webpack", "webpack.common.cjs": "seti:webpack", "webpack.common.mjs": "seti:webpack", "webpack.common.ts": "seti:webpack", "webpack.dev.js": "seti:webpack", "webpack.dev.cjs": "seti:webpack", "webpack.dev.mjs": "seti:webpack", "webpack.dev.ts": "seti:webpack", "webpack.prod.js": "seti:webpack", "webpack.prod.cjs": "seti:webpack", "webpack.prod.mjs": "seti:webpack", "webpack.prod.ts": "seti:webpack", "npm-debug.log": "seti:npm_ignored" }, extensions: { ".astro": "astro", ".mdx": "mdx", ".pkl": "pkl", ".bsl": "seti:bsl", ".mdo": "seti:mdo", ".cls": "seti:salesforce", ".apex": "seti:salesforce", ".asm": "seti:asm", ".s": "seti:asm", ".bicep": "seti:bicep", ".bzl": "seti:bazel", ".bazel": "seti:bazel", ".BUILD": "seti:bazel", ".WORKSPACE": "seti:bazel", ".bazelignore": "seti:bazel", ".bazelversion": "seti:bazel", ".c": "seti:c", ".h": "seti:c", ".m": "seti:c", ".cs": "seti:c-sharp", ".cshtml": "seti:html", ".aspx": "seti:html", ".ascx": "seti:html", ".asax": "seti:html", ".master": "seti:html", ".cc": "seti:cpp", ".cpp": "seti:cpp", ".cxx": "seti:cpp", ".c++": "seti:cpp", ".hh": "seti:cpp", ".hpp": "seti:cpp", ".hxx": "seti:cpp", ".h++": "seti:cpp", ".mm": "seti:cpp", ".clj": "seti:clojure", ".cljs": "seti:clojure", ".cljc": "seti:clojure", ".edn": "seti:clojure", ".cfc": "seti:coldfusion", ".cfm": "seti:coldfusion", ".coffee": "seti:cjsx", ".litcoffee": "seti:cjsx", ".config": "seti:config", ".cfg": "seti:config", ".conf": "seti:config", ".cr": "seti:crystal", ".ecr": "seti:crystal_embedded", ".slang": "seti:crystal_embedded", ".cson": "seti:json", ".css": "seti:css", ".css.map": "seti:css", ".sss": "seti:css", ".csv": "seti:csv", ".xls": "seti:xls", ".xlsx": "seti:xls", ".cu": "seti:cu", ".cuh": "seti:cu", ".hu": "seti:cu", ".cake": "seti:cake", ".ctp": "seti:cake_php", ".d": "seti:d", ".doc": "seti:word", ".docx": "seti:word", ".ejs": "seti:ejs", ".ex": "seti:elixir", ".exs": "seti:elixir_script", ".elm": "seti:elm", ".ico": "seti:favicon", ".fs": "seti:f-sharp", ".fsx": "seti:f-sharp", ".gitignore": "seti:git", ".gitconfig": "seti:git", ".gitkeep": "seti:git", ".gitattributes": "seti:git", ".gitmodules": "seti:git", ".go": "seti:go", ".slide": "seti:go", ".article": "seti:go", ".gd": "seti:godot", ".godot": "seti:godot", ".tres": "seti:godot", ".tscn": "seti:godot", ".gradle": "seti:gradle", ".groovy": "seti:grails", ".gsp": "seti:grails", ".gql": "seti:graphql", ".graphql": "seti:graphql", ".graphqls": "seti:graphql", ".hack": "seti:hacklang", ".haml": "seti:haml", ".handlebars": "seti:mustache", ".hbs": "seti:mustache", ".hjs": "seti:mustache", ".hs": "seti:haskell", ".lhs": "seti:haskell", ".hx": "seti:haxe", ".hxs": "seti:haxe", ".hxp": "seti:haxe", ".hxml": "seti:haxe", ".html": "seti:html", ".jade": "seti:jade", ".java": "seti:java", ".class": "seti:java", ".classpath": "seti:java", ".properties": "seti:java", ".js": "seti:javascript", ".js.map": "seti:javascript", ".cjs": "seti:javascript", ".cjs.map": "seti:javascript", ".mjs": "seti:javascript", ".mjs.map": "seti:javascript", ".spec.js": "seti:javascript", ".spec.cjs": "seti:javascript", ".spec.mjs": "seti:javascript", ".test.js": "seti:javascript", ".test.cjs": "seti:javascript", ".test.mjs": "seti:javascript", ".es": "seti:javascript", ".es5": "seti:javascript", ".es6": "seti:javascript", ".es7": "seti:javascript", ".jinja": "seti:jinja", ".jinja2": "seti:jinja", ".json": "seti:json", ".jl": "seti:julia", ".kt": "seti:kotlin", ".kts": "seti:kotlin", ".dart": "seti:dart", ".less": "seti:json", ".liquid": "seti:liquid", ".ls": "seti:livescript", ".lua": "seti:lua", ".markdown": "seti:markdown", ".md": "seti:markdown", ".argdown": "seti:argdown", ".ad": "seti:argdown", ".mustache": "seti:mustache", ".stache": "seti:mustache", ".nim": "seti:nim", ".nims": "seti:nim", ".github-issues": "seti:github", ".ipynb": "seti:notebook", ".njk": "seti:nunjucks", ".nunjucks": "seti:nunjucks", ".nunjs": "seti:nunjucks", ".nunj": "seti:nunjucks", ".njs": "seti:nunjucks", ".nj": "seti:nunjucks", ".npm-debug.log": "seti:npm", ".npmignore": "seti:npm", ".npmrc": "seti:npm", ".ml": "seti:ocaml", ".mli": "seti:ocaml", ".cmx": "seti:ocaml", ".cmxa": "seti:ocaml", ".odata": "seti:odata", ".pl": "seti:perl", ".php": "seti:php", ".php.inc": "seti:php", ".pipeline": "seti:pipeline", ".pddl": "seti:pddl", ".plan": "seti:plan", ".happenings": "seti:happenings", ".ps1": "seti:powershell", ".psd1": "seti:powershell", ".psm1": "seti:powershell", ".prisma": "seti:prisma", ".pug": "seti:pug", ".pp": "seti:puppet", ".epp": "seti:puppet", ".purs": "seti:purescript", ".py": "seti:python", ".jsx": "seti:react", ".spec.jsx": "seti:react", ".test.jsx": "seti:react", ".cjsx": "seti:react", ".tsx": "seti:react", ".spec.tsx": "seti:react", ".test.tsx": "seti:react", ".res": "seti:rescript", ".resi": "seti:rescript", ".R": "seti:R", ".rmd": "seti:R", ".rb": "seti:ruby", ".erb": "seti:html", ".erb.html": "seti:html", ".html.erb": "seti:html", ".rs": "seti:rust", ".sass": "seti:sass", ".scss": "seti:sass", ".springBeans": "seti:spring", ".slim": "seti:slim", ".smarty.tpl": "seti:smarty", ".tpl": "seti:smarty", ".sbt": "seti:sbt", ".scala": "seti:scala", ".sol": "seti:ethereum", ".styl": "seti:stylus", ".svelte": "seti:svelte", ".swift": "seti:swift", ".sql": "seti:db", ".soql": "seti:db", ".tf": "seti:terraform", ".tf.json": "seti:terraform", ".tfvars": "seti:terraform", ".tfvars.json": "seti:terraform", ".tex": "seti:tex", ".sty": "seti:tex", ".dtx": "seti:tex", ".ins": "seti:tex", ".txt": "seti:default", ".toml": "seti:config", ".twig": "seti:twig", ".ts": "seti:typescript", ".spec.ts": "seti:typescript", ".test.ts": "seti:typescript", ".vala": "seti:vala", ".vapi": "seti:vala", ".component": "seti:html", ".vue": "seti:vue", ".wasm": "seti:wasm", ".wat": "seti:wat", ".xml": "seti:xml", ".yml": "seti:yml", ".yaml": "seti:yml", ".pro": "seti:prolog", ".zig": "seti:zig", ".jar": "seti:zip", ".zip": "seti:zip", ".wgt": "seti:wgt", ".ai": "seti:illustrator", ".psd": "seti:photoshop", ".pdf": "seti:pdf", ".eot": "seti:font", ".ttf": "seti:font", ".woff": "seti:font", ".woff2": "seti:font", ".otf": "seti:font", ".avif": "seti:image", ".gif": "seti:image", ".jpg": "seti:image", ".jpeg": "seti:image", ".png": "seti:image", ".pxm": "seti:image", ".svg": "seti:svg", ".svgx": "seti:image", ".tiff": "seti:image", ".webp": "seti:image", ".sublime-project": "seti:sublime", ".sublime-workspace": "seti:sublime", ".code-search": "seti:code-search", ".sh": "seti:shell", ".zsh": "seti:shell", ".fish": "seti:shell", ".zshrc": "seti:shell", ".bashrc": "seti:shell", ".mov": "seti:video", ".ogv": "seti:video", ".webm": "seti:video", ".avi": "seti:video", ".mpg": "seti:video", ".mp4": "seti:video", ".mp3": "seti:audio", ".ogg": "seti:audio", ".wav": "seti:audio", ".flac": "seti:audio", ".3ds": "seti:svg", ".3dm": "seti:svg", ".stl": "seti:svg", ".obj": "seti:svg", ".dae": "seti:svg", ".bat": "seti:windows", ".cmd": "seti:windows", ".babelrc": "seti:babel", ".babelrc.js": "seti:babel", ".babelrc.cjs": "seti:babel", ".bazelrc": "seti:bazel", ".bowerrc": "seti:bower", ".codeclimate.yml": "seti:code-climate", ".eslintrc": "seti:eslint", ".eslintrc.js": "seti:eslint", ".eslintrc.cjs": "seti:eslint", ".eslintrc.yaml": "seti:eslint", ".eslintrc.yml": "seti:eslint", ".eslintrc.json": "seti:eslint", ".eslintignore": "seti:eslint", ".firebaserc": "seti:firebase", ".gitlab-ci.yml": "seti:gitlab", ".jshintrc": "seti:javascript", ".jscsrc": "seti:javascript", ".stylelintrc": "seti:stylelint", ".stylelintrc.json": "seti:stylelint", ".stylelintrc.yaml": "seti:stylelint", ".stylelintrc.yml": "seti:stylelint", ".stylelintrc.js": "seti:stylelint", ".stylelintignore": "seti:stylelint", ".direnv": "seti:config", ".env": "seti:config", ".static": "seti:config", ".editorconfig": "seti:config", ".slugignore": "seti:config", ".tmp": "seti:clock", ".htaccess": "seti:config", ".key": "seti:lock", ".cert": "seti:lock", ".cer": "seti:lock", ".crt": "seti:lock", ".pem": "seti:lock", ".DS_Store": "seti:ignored" }, partials: { mix: "seti:hex", Gemfile: "seti:ruby", gemfile: "seti:ruby", dockerfile: "seti:docker", Dockerfile: "seti:docker", DOCKERFILE: "seti:docker", ".dockerignore": "seti:docker", "docker-healthcheck": "seti:docker", "docker-compose.yml": "seti:docker", "docker-compose.yaml": "seti:docker", "docker-compose.override.yml": "seti:docker", "docker-compose.override.yaml": "seti:docker", GULPFILE: "seti:gulp", Gulpfile: "seti:gulp", gulpfile: "seti:gulp", "gulpfile.js": "seti:gulp", LICENSE: "seti:license", LICENCE: "seti:license", "LICENSE.txt": "seti:license", "LICENCE.txt": "seti:license", "LICENSE.md": "seti:license", "LICENCE.md": "seti:license", COPYING: "seti:license", "COPYING.txt": "seti:license", "COPYING.md": "seti:license", COMPILING: "seti:license", "COMPILING.txt": "seti:license", "COMPILING.md": "seti:license", CONTRIBUTING: "seti:license", "CONTRIBUTING.txt": "seti:license", "CONTRIBUTING.md": "seti:license", MAKEFILE: "seti:makefile", Makefile: "seti:makefile", makefile: "seti:makefile", QMAKEFILE: "seti:makefile", QMakefile: "seti:makefile", qmakefile: "seti:makefile", OMAKEFILE: "seti:makefile", OMakefile: "seti:makefile", omakefile: "seti:makefile", "CMAKELISTS.TXT": "seti:makefile", "CMAKELISTS.txt": "seti:makefile", "CMakeLists.txt": "seti:makefile", "cmakelists.txt": "seti:makefile", Procfile: "seti:heroku", TODO: "seti:todo", "TODO.txt": "seti:todo", "TODO.md": "seti:todo" } }; const FileIcons = { "seti:folder": '', "seti:bsl": '', "seti:mdo": '', "seti:salesforce": '', "seti:asm": '', "seti:bicep": '', "seti:bazel": '', "seti:c": '', "seti:c-sharp": '', "seti:html": '', "seti:cpp": '', "seti:clojure": '', "seti:coldfusion": '', "seti:config": '', "seti:crystal": '', "seti:crystal_embedded": '', "seti:json": '', "seti:css": '', "seti:csv": '', "seti:xls": '', "seti:cu": '', "seti:cake": '', "seti:cake_php": '', "seti:d": '', "seti:word": '', "seti:elixir": '', "seti:elixir_script": '', "seti:hex": '', "seti:elm": '', "seti:favicon": '', "seti:f-sharp": '', "seti:git": '', "seti:go": '', "seti:godot": '', "seti:gradle": '', "seti:grails": '', "seti:graphql": '', "seti:hacklang": '', "seti:haml": '', "seti:mustache": '', "seti:haskell": '', "seti:haxe": '', "seti:jade": '', "seti:java": '', "seti:javascript": '', "seti:jinja": '', "seti:julia": '', "seti:karma": '', "seti:kotlin": '', "seti:dart": '', "seti:liquid": '', "seti:livescript": '', "seti:lua": '', "seti:markdown": '', "seti:argdown": '', "seti:info": '', "seti:clock": '', "seti:maven": '', "seti:nim": '', "seti:github": '', "seti:notebook": '', "seti:nunjucks": '', "seti:npm": '', "seti:ocaml": '', "seti:odata": '', "seti:perl": '', "seti:php": '', "seti:pipeline": '', "seti:pddl": '', "seti:plan": '', "seti:happenings": '', "seti:powershell": '', "seti:prisma": '', "seti:pug": '', "seti:puppet": '', "seti:purescript": '', "seti:python": '', "seti:react": '', "seti:rescript": '', "seti:R": '', "seti:ruby": '', "seti:rust": '', "seti:sass": '', "seti:spring": '', "seti:slim": '', "seti:smarty": '', "seti:sbt": '', "seti:scala": '', "seti:ethereum": '', "seti:stylus": '', "seti:svelte": '', "seti:swift": '', "seti:db": '', "seti:terraform": '', "seti:tex": '', "seti:default": '', "seti:twig": '', "seti:typescript": '', "seti:tsconfig": '', "seti:vala": '', "seti:vite": '', "seti:vue": '', "seti:wasm": '', "seti:wat": '', "seti:xml": '', "seti:yml": '', "seti:prolog": '', "seti:zig": '', "seti:zip": '', "seti:wgt": '', "seti:illustrator": '', "seti:photoshop": '', "seti:pdf": '', "seti:font": '', "seti:image": '', "seti:svg": '', "seti:sublime": '', "seti:code-search": '', "seti:shell": '', "seti:video": '', "seti:audio": '', "seti:windows": '', "seti:jenkins": '', "seti:babel": '', "seti:bower": '', "seti:docker": '', "seti:code-climate": '', "seti:eslint": '', "seti:firebase": '', "seti:firefox": '', "seti:gitlab": '', "seti:grunt": '', "seti:gulp": '', "seti:ionic": '', "seti:platformio": '', "seti:rollup": '', "seti:stylelint": '', "seti:yarn": '', "seti:webpack": '', "seti:lock": '', "seti:license": '', "seti:makefile": '', "seti:heroku": '', "seti:todo": '', "seti:ignored": '' }; const BuiltInIcons = { "up-caret": '', "down-caret": '', "right-caret": '', "left-caret": '', "up-arrow": '', "down-arrow": '', "right-arrow": '', "left-arrow": '', bars: '', translate: '', pencil: '', pen: '', document: '', "add-document": '', setting: '', external: '', download: '', "cloud-download": '', moon: '', sun: '', laptop: '', "open-book": '', information: '', magnifier: '', "forward-slash": '', close: '', error: '', warning: '', "approve-check-circle": '', "approve-check": '', rocket: '', star: '', puzzle: '', "list-format": '', random: '', comment: '', "comment-alt": '', heart: '', github: '', gitlab: '', bitbucket: '', codePen: '', farcaster: '', discord: '', gitter: '', twitter: '', "x.com": '', mastodon: '', codeberg: '', youtube: '', threads: '', linkedin: '', twitch: '', azureDevOps: '', microsoftTeams: '', instagram: '', stackOverflow: '', telegram: '', rss: '', facebook: '', email: '', phone: '', reddit: '', patreon: '', signal: '', slack: '', matrix: '', hackerOne: '', openCollective: '', blueSky: '', discourse: '', zulip: '', pinterest: '', tiktok: '', astro: '', alpine: '', pnpm: '', biome: '', bun: '', mdx: '', apple: '', linux: '', homebrew: '', nix: '', starlight: '', pkl: '', node: '', cloudflare: '', vercel: '', netlify: '', deno: '', jsr: '', nostr: '', backstage: '', confluence: '', jira: '', storybook: '', vscode: '', jetbrains: '', zed: '', vim: '', figma: '', sketch: '', npm: '', sourcehut: '', substack: '', chrome: '', edge: '', firefox: '', safari: '' }; const Icons = { ...BuiltInIcons, ...FileIcons }; const $$Icon = createComponent(($$result, $$props, $$slots) => { const Astro2 = $$result.createAstro($$props, $$slots); Astro2.self = $$Icon; const { name, label, size = "1em", color } = Astro2.props; const a11yAttrs = label ? { "aria-label": label } : { "aria-hidden": "true" }; const $$definedVars = defineStyleVars([{ "sl-icon-color": color, "sl-icon-size": size }]); return renderTemplate`${renderComponent($$result, "Fragment", Fragment, { "class": "astro-c6vsoqas", "style": $$definedVars }, { "default": ($$result2) => renderTemplate`${maybeRenderHead()}${unescapeHTML(Icons[name])}` })}`; }, "C:/Users/Harun/OneDrive/Desktop/my pc desktop/node_modules/@astrojs/starlight/user-components/Icon.astro", void 0); function throwInvalidAsideIconError(icon) { throw new AstroUserError( "Invalid aside icon", `An aside custom icon must be set to the name of one of Starlight’s built-in icons, but received \`${icon}\`. See https://starlight.astro.build/reference/icons/#all-icons for a list of available icons.` ); } const $$Aside = createComponent(($$result, $$props, $$slots) => { const Astro2 = $$result.createAstro($$props, $$slots); Astro2.self = $$Aside; const asideVariants = ["note", "tip", "caution", "danger"]; const icons = { note: "information", tip: "rocket", caution: "warning", danger: "error" }; let { type = "note", title, icon } = Astro2.props; if (!asideVariants.includes(type)) { throw new AstroUserError( "Invalid `type` prop passed to the ``; }, "C:/Users/Harun/OneDrive/Desktop/my pc desktop/node_modules/@astrojs/starlight/user-components/Aside.astro", void 0); const badgeBaseSchema = z.object({ variant: z.enum(["note", "danger", "success", "caution", "tip", "default"]).default("default"), class: z.string().optional() }); const badgeSchema = z.object({ ...badgeBaseSchema.shape, text: z.string() }); z.object({ ...badgeBaseSchema.shape, text: z.union([z.string(), z.record(z.string(), z.string())]) }); const BadgeComponentSchema = z.looseObject({ ...badgeSchema.shape, size: z.enum(["small", "medium", "large"]).default("small") }); const zodErrorMap = locales.en().localeError; function parseWithFriendlyErrors(schema, input, message) { return processParsedData( schema.safeParse(input, { error: errorMap, reportInput: true }), message ); } function processParsedData(parsedData, message) { if (!parsedData.success) { throw new AstroUserError(message, parsedData.error.issues.map((i) => i.message).join("\n")); } return parsedData.data; } const errorMap = (issue) => { const baseErrorPath = flattenErrorPath(issue.path ?? []); if (issue.code === "invalid_union") { const unionErrors = issue.errors.flat(); const typeOrLiteralErrByPath = /* @__PURE__ */ new Map(); for (const unionError of unionErrors) { if (unionError.code === "invalid_type") { const flattenedErrorPath = flattenErrorPath([baseErrorPath, ...unionError.path]); if (typeOrLiteralErrByPath.has(flattenedErrorPath)) { typeOrLiteralErrByPath.get(flattenedErrorPath).expected.push(unionError.expected); } else { typeOrLiteralErrByPath.set(flattenedErrorPath, { code: unionError.code, received: parsedType(issue.input), expected: [unionError.expected], message: unionError.message }); } } } const messages = [prefix(baseErrorPath, "Did not match union.")]; const details = [...typeOrLiteralErrByPath.entries()].filter(([, error]) => error.expected.length === unionErrors.length).map( ([key, error]) => key === baseErrorPath ? ( // Avoid printing the key again if it's a base error `> ${getTypeErrMsg(error)}` ) : `> ${prefix(key, getTypeErrMsg(error))}` ); if (details.length === 0) { const expectedShapes = []; for (const unionError of issue.errors) { const expectedShape = []; for (const issue2 of unionError) { if (issue2.code === "invalid_union") { return errorMap({ ...issue2, input: issue2.input, path: [baseErrorPath, ...issue2.path] }); } const relativePath = flattenErrorPath(issue2.path).replace(baseErrorPath, "").replace(leadingPeriod, ""); if (issue2.code === "invalid_type") { expectedShape.push( relativePath ? `${relativePath}: ${issue2.expected}` : issue2.expected ); } else if (issue2.code === "custom") { expectedShape.push(relativePath); } } if (expectedShape.length === 1 && !expectedShape[0]?.includes(":")) { expectedShapes.push(expectedShape.join("")); } else if (expectedShape.length > 0) { expectedShapes.push(`{ ${expectedShape.join("; ")} }`); } } if (expectedShapes.length) { details.push("> Expected type `" + expectedShapes.join(" | ") + "`"); details.push("> Received `" + stringify(issue.input) + "`"); } } return messages.concat(details).join("\n"); } else if (issue.code === "invalid_type") { return prefix( baseErrorPath, getTypeErrMsg({ code: issue.code, received: parsedType(issue.input), expected: [issue.expected], message: issue.message }) ); } else if (issue.message) { return prefix(baseErrorPath, issue.message); } else { const defaultError = zodErrorMap(issue); if (!defaultError) return; return prefix( baseErrorPath, typeof defaultError === "string" ? defaultError : defaultError.message ); } }; const getTypeErrMsg = (error) => { if (typeof error.received === "undefined" || error.received === "undefined") return error.message ?? "Required"; const expectedDeduped = new Set(error.expected); return `Expected type \`${unionExpectedVals(expectedDeduped)}\`, received \`${stringify( error.received )}\``; }; const prefix = (key, msg) => key.length ? `**${key}**: ${msg}` : msg; const unionExpectedVals = (expectedVals) => [...expectedVals].map((expectedVal) => stringify(expectedVal)).join(" | "); const flattenErrorPath = (errorPath) => errorPath.join("."); const stringify = (val) => JSON.stringify(val, null, 1).split(newlinePlusWhitespace).join(" "); const newlinePlusWhitespace = /\n\s*/; const leadingPeriod = /^\./; const parsedType = (data) => { const t = typeof data; switch (t) { case "number": { return Number.isNaN(data) ? "NaN" : "number"; } case "object": { if (Array.isArray(data)) { return "array"; } if (data === null) { return "null"; } if (data && Object.getPrototypeOf(data) !== Object.prototype && data.constructor) { return data.constructor.name; } } } return t; }; const $$Badge = createComponent(($$result, $$props, $$slots) => { const Astro2 = $$result.createAstro($$props, $$slots); Astro2.self = $$Badge; const { text, variant, size, class: customClass, ...attrs } = parseWithFriendlyErrors( BadgeComponentSchema, Astro2.props, "Invalid prop passed to the `` component." ); return renderTemplate`${renderComponent($$result, "Fragment", Fragment, { "class": "astro-avdet4wd" }, { "default": ($$result2) => renderTemplate`${maybeRenderHead()}${text}` })}`; }, "C:/Users/Harun/OneDrive/Desktop/my pc desktop/node_modules/@astrojs/starlight/user-components/Badge.astro", void 0); const $$Card = createComponent(($$result, $$props, $$slots) => { const Astro2 = $$result.createAstro($$props, $$slots); Astro2.self = $$Card; const { icon, title } = Astro2.props; return renderTemplate`${maybeRenderHead()}

${icon && renderTemplate`${renderComponent($$result, "Icon", $$Icon, { "name": icon, "class": "icon astro-v5tidmuc", "size": "1.333em" })}`} ${unescapeHTML(title)}

${renderSlot($$result, $$slots["default"])}
`; }, "C:/Users/Harun/OneDrive/Desktop/my pc desktop/node_modules/@astrojs/starlight/user-components/Card.astro", void 0); const $$CardGrid = createComponent(($$result, $$props, $$slots) => { const Astro2 = $$result.createAstro($$props, $$slots); Astro2.self = $$CardGrid; const { stagger = false } = Astro2.props; return renderTemplate`${maybeRenderHead()}${renderSlot($$result, $$slots["default"])}`; }, "C:/Users/Harun/OneDrive/Desktop/my pc desktop/node_modules/@astrojs/starlight/user-components/CardGrid.astro", void 0); const TabItemTagname = "starlight-tab-item"; const focusableElementSelectors = [ "input:not([disabled]):not([type=hidden])", "select:not([disabled])", "textarea:not([disabled])", "button:not([disabled])", "a[href]", "area[href]", "summary", "iframe", "object", "embed", "audio[controls]", "video[controls]", "[contenteditable]", "[tabindex]:not([disabled])" ].map((selector) => `${selector}:not([hidden]):not([tabindex="-1"])`).join(","); let count = 0; const getIDs = () => { const id = count++; return { panelId: "tab-panel-" + id, tabId: "tab-" + id }; }; const tabsProcessor = rehype().data("settings", { fragment: true }).use(function tabs() { return (tree, file) => { file.data.panels = []; let isFirst = true; visit(tree, "element", (node) => { if (node.tagName !== TabItemTagname || !node.properties) { return CONTINUE; } const { dataLabel, dataIcon } = node.properties; const ids = getIDs(); const panel = { ...ids, label: String(dataLabel) }; if (dataIcon) panel.icon = String(dataIcon); file.data.panels?.push(panel); delete node.properties.dataLabel; delete node.properties.dataIcon; node.tagName = "div"; node.properties.id = ids.panelId; node.properties["aria-labelledby"] = ids.tabId; node.properties.role = "tabpanel"; const focusableChild = select(focusableElementSelectors, node); if (!focusableChild) { node.properties.tabindex = 0; } if (isFirst) { isFirst = false; } else { node.properties.hidden = true; } return SKIP; }); }; }); const processPanels = (html) => { const file = tabsProcessor.processSync({ value: html }); return { /** Data for each tab panel. */ panels: file.data.panels, /** Processed HTML for the tab panels. */ html: file.toString() }; }; var __freeze = Object.freeze; var __defProp = Object.defineProperty; var __template = (cooked, raw) => __freeze(__defProp(cooked, "raw", { value: __freeze(raw || cooked.slice()) })); var _a; const $$Tabs = createComponent(async ($$result, $$props, $$slots) => { const Astro2 = $$result.createAstro($$props, $$slots); Astro2.self = $$Tabs; const { syncKey } = Astro2.props; const panelHtml = await Astro2.slots.render("default"); const { html, panels } = processPanels(panelHtml); const isSynced = syncKey !== void 0; const didRenderSyncedTabsRestoreScriptSymbol = /* @__PURE__ */ Symbol.for("starlight:did-render-synced-tabs-restore-script"); const shouldRenderSyncedTabsRestoreScript = isSynced && Astro2.locals[didRenderSyncedTabsRestoreScriptSymbol] !== true; if (isSynced) { Astro2.locals[didRenderSyncedTabsRestoreScriptSymbol] = true; } return renderTemplate`${shouldRenderSyncedTabsRestoreScript && renderTemplate(_a || (_a = __template([`