/home/techb158/balavpn.abdallabala.com/node_modules/next/dist/shared/lib
NameSizeModeActions
errors/-0777rm
i18n/-0777rm
isomorphic/-0777rm
lazy-dynamic/-0777rm
page-path/-0777rm
router/-0777rm
segment-cache/-0777rm
turbopack/-0777rm
utils/-0777rm
amp-context.shared-runtime.d.ts850666editdlrm
amp-context.shared-runtime.js5920666editdlrm
amp-context.shared-runtime.js.map5810666editdlrm
amp-mode.d.ts1910666editdlrm
amp-mode.js4190666editdlrm
amp-mode.js.map4860666editdlrm
amp.d.ts430666editdlrm
amp.js10260666editdlrm
amp.js.map6080666editdlrm
app-dynamic.d.ts8750666editdlrm
app-dynamic.js12690666editdlrm
app-dynamic.js.map18880666editdlrm
app-router-context.shared-runtime.d.ts51030666editdlrm
app-router-context.shared-runtime.js16860666editdlrm
app-router-context.shared-runtime.js.map63390666editdlrm
bloom-filter.d.ts5980666editdlrm
bloom-filter.js29650666editdlrm
bloom-filter.js.map55080666editdlrm
canary-only.d.ts1700666editdlrm
canary-only.js12820666editdlrm
canary-only.js.map14660666editdlrm
constants.d.ts59880666editdlrm
constants.js149340666editdlrm
constants.js.map122990666editdlrm
deep-freeze.d.ts5120666editdlrm
deep-freeze.js8680666editdlrm
deep-freeze.js.map17600666editdlrm
deep-readonly.d.ts3890666editdlrm
deep-readonly.js3480666editdlrm
deep-readonly.js.map5650666editdlrm
dset.d.ts1170666editdlrm
dset.js19140666editdlrm
dset.js.map25700666editdlrm
dynamic.d.ts17110666editdlrm
dynamic.js54130666editdlrm
dynamic.js.map75250666editdlrm
encode-uri-path.d.ts610666editdlrm
encode-uri-path.js3620666editdlrm
encode-uri-path.js.map4690666editdlrm
error-source.d.ts2310666editdlrm
error-source.js8580666editdlrm
error-source.js.map10300666editdlrm
escape-regexp.d.ts650666editdlrm
escape-regexp.js6940666editdlrm
escape-regexp.js.map8520666editdlrm
fnv1a.d.ts3350666editdlrm
fnv1a.js27700666editdlrm
fnv1a.js.map40890666editdlrm
format-webpack-messages.d.ts820666editdlrm
format-webpack-messages.js84980666editdlrm
format-webpack-messages.js.map129940666editdlrm
get-hostname.d.ts4540666editdlrm
get-hostname.js6790666editdlrm
get-hostname.js.map13820666editdlrm
get-img-props.d.ts33540666editdlrm
get-img-props.js252010666editdlrm
get-img-props.js.map378620666editdlrm
get-rspack.d.ts1000666editdlrm
get-rspack.js25850666editdlrm
get-rspack.js.map27970666editdlrm
get-webpack-bundler.d.ts2640666editdlrm
get-webpack-bundler.js6320666editdlrm
get-webpack-bundler.js.map7250666editdlrm
hash.d.ts1090666editdlrm
hash.js13260666editdlrm
hash.js.map15260666editdlrm
head-manager-context.shared-runtime.d.ts2880666editdlrm
head-manager-context.shared-runtime.js6160666editdlrm
head-manager-context.shared-runtime.js.map8630666editdlrm
head.d.ts4460666editdlrm
head.js70060666editdlrm
head.js.map96060666editdlrm
hooks-client-context.shared-runtime.d.ts3080666editdlrm
hooks-client-context.shared-runtime.js11080666editdlrm
hooks-client-context.shared-runtime.js.map11450666editdlrm
html-context.shared-runtime.d.ts18890666editdlrm
html-context.shared-runtime.js11490666editdlrm
html-context.shared-runtime.js.map27870666editdlrm
htmlescape.d.ts1820666editdlrm
htmlescape.js14170666editdlrm
htmlescape.js.map16760666editdlrm
image-blur-svg.d.ts3700666editdlrm
image-blur-svg.js14950666editdlrm
image-blur-svg.js.map21220666editdlrm
image-config-context.shared-runtime.d.ts1630666editdlrm
image-config-context.shared-runtime.js6930666editdlrm
image-config-context.shared-runtime.js.map7660666editdlrm
image-config.d.ts43030666editdlrm
image-config.js14280666editdlrm
image-config.js.map59410666editdlrm
image-external.d.ts7420666editdlrm
image-external.js14850666editdlrm
image-external.js.map21760666editdlrm
image-loader.d.ts2710666editdlrm
image-loader.js50710666editdlrm
image-loader.js.map67600666editdlrm
invariant-error.d.ts1120666editdlrm
invariant-error.js5010666editdlrm
invariant-error.js.map6820666editdlrm
is-internal.d.ts3550666editdlrm
is-internal.js12980666editdlrm
is-internal.js.map12970666editdlrm
is-plain-object.d.ts1250666editdlrm
is-plain-object.js11800666editdlrm
is-plain-object.js.map12500666editdlrm
is-thenable.d.ts2330666editdlrm
is-thenable.js5370666editdlrm
is-thenable.js.map6790666editdlrm
loadable-context.shared-runtime.d.ts1560666editdlrm
loadable-context.shared-runtime.js6130666editdlrm
loadable-context.shared-runtime.js.map6520666editdlrm
loadable.shared-runtime.d.ts15430666editdlrm
loadable.shared-runtime.js84580666editdlrm
loadable.shared-runtime.js.map138400666editdlrm
magic-identifier.d.ts1280666editdlrm
magic-identifier.js36540666editdlrm
magic-identifier.js.map41460666editdlrm
match-local-pattern.d.ts2530666editdlrm
match-local-pattern.js13010666editdlrm
match-local-pattern.js.map16960666editdlrm
match-remote-pattern.d.ts2680666editdlrm
match-remote-pattern.js19310666editdlrm
match-remote-pattern.js.map27230666editdlrm
mitt.d.ts2630666editdlrm
mitt.js22470666editdlrm
mitt.js.map30140666editdlrm
modern-browserslist-target.d.ts1990666editdlrm
modern-browserslist-target.js6520666editdlrm
modern-browserslist-target.js.map8930666editdlrm
no-fallback-error.external.d.ts740666editdlrm
no-fallback-error.external.js4080666editdlrm
no-fallback-error.external.js.map4260666editdlrm
normalized-asset-prefix.d.ts880666editdlrm
normalized-asset-prefix.js9610666editdlrm
normalized-asset-prefix.js.map13140666editdlrm
promise-with-resolvers.d.ts820666editdlrm
promise-with-resolvers.js6060666editdlrm
promise-with-resolvers.js.map7790666editdlrm
router-context.shared-runtime.d.ts1480666editdlrm
router-context.shared-runtime.js5870666editdlrm
router-context.shared-runtime.js.map6220666editdlrm
runtime-config.external.d.ts2930666editdlrm
runtime-config.external.js7220666editdlrm
runtime-config.external.js.map6720666editdlrm
segment.d.ts5040666editdlrm
segment.js15620666editdlrm
segment.js.map17330666editdlrm
server-inserted-html.shared-runtime.d.ts2880666editdlrm
server-inserted-html.shared-runtime.js11710666editdlrm
server-inserted-html.shared-runtime.js.map13470666editdlrm
server-reference-info.d.ts11460666editdlrm
server-reference-info.js16010666editdlrm
server-reference-info.js.map33420666editdlrm
side-effect.d.ts4520666editdlrm
side-effect.js27490666editdlrm
side-effect.js.map39470666editdlrm
styled-jsx.d.ts430666editdlrm
styled-jsx.js990666editdlrm
styled-jsx.js.map2310666editdlrm
utils.d.ts92010666editdlrm
utils.js62890666editdlrm
utils.js.map160730666editdlrm
zod.d.ts3810666editdlrm
zod.js33590666editdlrm
zod.js.map45070666editdlrm
Edit: /home/techb158/balavpn.abdallabala.com/node_modules/next/dist/shared/lib/head.js (7006B)
'use client'; "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); 0 && (module.exports = { default: null, defaultHead: null }); function _export(target, all) { for(var name in all)Object.defineProperty(target, name, { enumerable: true, get: all[name] }); } _export(exports, { default: function() { return _default; }, defaultHead: function() { return defaultHead; } }); const _interop_require_default = require("@swc/helpers/_/_interop_require_default"); const _interop_require_wildcard = require("@swc/helpers/_/_interop_require_wildcard"); const _jsxruntime = require("react/jsx-runtime"); const _react = /*#__PURE__*/ _interop_require_wildcard._(require("react")); const _sideeffect = /*#__PURE__*/ _interop_require_default._(require("./side-effect")); const _ampcontextsharedruntime = require("./amp-context.shared-runtime"); const _headmanagercontextsharedruntime = require("./head-manager-context.shared-runtime"); const _ampmode = require("./amp-mode"); const _warnonce = require("./utils/warn-once"); function defaultHead(inAmpMode) { if (inAmpMode === void 0) inAmpMode = false; const head = [ /*#__PURE__*/ (0, _jsxruntime.jsx)("meta", { charSet: "utf-8" }, "charset") ]; if (!inAmpMode) { head.push(/*#__PURE__*/ (0, _jsxruntime.jsx)("meta", { name: "viewport", content: "width=device-width" }, "viewport")); } return head; } function onlyReactElement(list, child) { // React children can be "string" or "number" in this case we ignore them for backwards compat if (typeof child === 'string' || typeof child === 'number') { return list; } // Adds support for React.Fragment if (child.type === _react.default.Fragment) { return list.concat(// @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[] _react.default.Children.toArray(child.props.children).reduce(// @ts-expect-error @types/react does not remove fragments but this could also return ReactPortal[] (fragmentList, fragmentChild)=>{ if (typeof fragmentChild === 'string' || typeof fragmentChild === 'number') { return fragmentList; } return fragmentList.concat(fragmentChild); }, [])); } return list.concat(child); } const METATYPES = [ 'name', 'httpEquiv', 'charSet', 'itemProp' ]; /* returns a function for filtering head child elements which shouldn't be duplicated, like Also adds support for deduplicated `key` properties */ function unique() { const keys = new Set(); const tags = new Set(); const metaTypes = new Set(); const metaCategories = {}; return (h)=>{ let isUnique = true; let hasKey = false; if (h.key && typeof h.key !== 'number' && h.key.indexOf('$') > 0) { hasKey = true; const key = h.key.slice(h.key.indexOf('$') + 1); if (keys.has(key)) { isUnique = false; } else { keys.add(key); } } // eslint-disable-next-line default-case switch(h.type){ case 'title': case 'base': if (tags.has(h.type)) { isUnique = false; } else { tags.add(h.type); } break; case 'meta': for(let i = 0, len = METATYPES.length; i < len; i++){ const metatype = METATYPES[i]; if (!h.props.hasOwnProperty(metatype)) continue; if (metatype === 'charSet') { if (metaTypes.has(metatype)) { isUnique = false; } else { metaTypes.add(metatype); } } else { const category = h.props[metatype]; const categories = metaCategories[metatype] || new Set(); if ((metatype !== 'name' || !hasKey) && categories.has(category)) { isUnique = false; } else { categories.add(category); metaCategories[metatype] = categories; } } } break; } return isUnique; }; } /** * * @param headChildrenElements List of children of <Head> */ function reduceComponents(headChildrenElements, props) { const { inAmpMode } = props; return headChildrenElements.reduce(onlyReactElement, []).reverse().concat(defaultHead(inAmpMode).reverse()).filter(unique()).reverse().map((c, i)=>{ const key = c.key || i; if (process.env.NODE_ENV === 'development') { // omit JSON-LD structured data snippets from the warning if (c.type === 'script' && c.props['type'] !== 'application/ld+json') { const srcMessage = c.props['src'] ? '<script> tag with src="' + c.props['src'] + '"' : "inline <script>"; (0, _warnonce.warnOnce)("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"); } else if (c.type === 'link' && c.props['rel'] === 'stylesheet') { (0, _warnonce.warnOnce)('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'); } } return /*#__PURE__*/ _react.default.cloneElement(c, { key }); }); } /** * This component injects elements to `<head>` of your page. * To avoid duplicated `tags` in `<head>` you can use the `key` property, which will make sure every tag is only rendered once. */ function Head(param) { let { children } = param; const ampState = (0, _react.useContext)(_ampcontextsharedruntime.AmpStateContext); const headManager = (0, _react.useContext)(_headmanagercontextsharedruntime.HeadManagerContext); return /*#__PURE__*/ (0, _jsxruntime.jsx)(_sideeffect.default, { reduceComponentsToState: reduceComponents, headManager: headManager, inAmpMode: (0, _ampmode.isInAmpMode)(ampState), children: children }); } const _default = Head; if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') { Object.defineProperty(exports.default, '__esModule', { value: true }); Object.assign(exports.default, exports); module.exports = exports.default; } //# sourceMappingURL=head.js.map