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AAF,EAClD,EAEA,OADAM,EAAAvE,WAAA,oBAA6CD,EAAAC,WAAA,EAAAD,EAAAE,IAAA,EAAAoE,EAAqD,GAClGE,CACA","sources":["webpack://_N_E/./node_modules/next/dist/api/link.js","webpack://_N_E/../client/add-locale.ts","webpack://_N_E/../client/get-domain-locale.ts","webpack://_N_E/../client/link.tsx","webpack://_N_E/../client/resolve-href.ts","webpack://_N_E/../client/use-intersection.tsx","webpack://_N_E/../../../src/shared/lib/escape-regexp.ts","webpack://_N_E/../../../src/shared/lib/router-context.shared-runtime.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/format-url.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/index.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/interpolate-as.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/is-dynamic.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/is-local-url.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/omit.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/querystring.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/route-matcher.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/route-regex.ts","webpack://_N_E/../../../../../src/shared/lib/router/utils/sorted-routes.ts","webpack://_N_E/../../../src/shared/lib/utils.ts","webpack://_N_E/./node_modules/@locmod/event-aggregator/dist/index.es.js","webpack://_N_E/./node_modules/@locmod/modal/dist/index.js"],"sourcesContent":["export { default } from \"../client/link\";\nexport * from \"../client/link\";\n\n//# sourceMappingURL=link.js.map",null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,"var Event = /** @class */ (function () {\r\n function Event(name) {\r\n this.name = name;\r\n this.handlers = [];\r\n }\r\n /**\r\n * Add handler to current Event\r\n */\r\n Event.prototype.addHandler = function (handler) {\r\n this.handlers.push(handler);\r\n };\r\n /**\r\n * Remove handler from current Event\r\n */\r\n Event.prototype.removeHandler = function (handler) {\r\n this.handlers = this.handlers.filter(function (h) { return h !== handler; });\r\n };\r\n /**\r\n * Call all handlers in all priorities of current Event\r\n */\r\n Event.prototype.call = function () {\r\n var eventArgs = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n eventArgs[_i] = arguments[_i];\r\n }\r\n this.handlers.forEach(function (handler) {\r\n try {\r\n handler.apply(void 0, eventArgs);\r\n }\r\n catch (err) {\r\n console.error(err);\r\n }\r\n });\r\n };\r\n return Event;\r\n}());\r\nvar EventAggregator = /** @class */ (function () {\r\n function EventAggregator() {\r\n this.events = {};\r\n }\r\n /**\r\n * Get Event by name\r\n */\r\n EventAggregator.prototype.getEvent = function (name) {\r\n var event = this.events[name];\r\n if (!event) {\r\n event = new Event(name);\r\n this.events[name] = event;\r\n }\r\n return event;\r\n };\r\n EventAggregator.prototype.subscribe = function (name, handler) {\r\n var _this = this;\r\n var event = this.getEvent(name);\r\n event.addHandler(handler);\r\n return function () {\r\n _this.unsubscribe(name, handler);\r\n };\r\n };\r\n EventAggregator.prototype.unsubscribe = function (name, handler) {\r\n var event = this.getEvent(name);\r\n event.removeHandler(handler);\r\n };\r\n EventAggregator.prototype.dispatch = function (name) {\r\n var eventArgs = [];\r\n for (var _i = 1; _i < arguments.length; _i++) {\r\n eventArgs[_i - 1] = arguments[_i];\r\n }\r\n var event = this.getEvent(name);\r\n if (event) {\r\n event.call.apply(event, eventArgs);\r\n }\r\n };\r\n /**\r\n * Subscribe to Event and unsubscribe after call\r\n */\r\n EventAggregator.prototype.once = function (name, handler) {\r\n var event = this.getEvent(name);\r\n var handlerWrapper = function () {\r\n var args = [];\r\n for (var _i = 0; _i < arguments.length; _i++) {\r\n args[_i] = arguments[_i];\r\n }\r\n var result = handler.apply(void 0, args);\r\n if (result) {\r\n event.removeHandler(handlerWrapper);\r\n }\r\n };\r\n event.addHandler(handlerWrapper);\r\n return { event: event, handlerWrapper: handlerWrapper };\r\n };\r\n return EventAggregator;\r\n}());\r\nvar events = new EventAggregator();export{EventAggregator as default,events};","import EventAggregator from'@locmod/event-aggregator';import React,{useState,useEffect,useRef}from'react';const modalsRegistry = {};\nclass ModalManager {\n constructor() {\n this.events = new EventAggregator();\n this.state = new Map();\n this.standaloneModals = {};\n this.lastId = 0;\n }\n generateId() {\n return this.lastId++;\n }\n subscribe(listener) {\n this.events.subscribe('change', listener);\n }\n unsubscribe(listener) {\n this.events.unsubscribe('change', listener);\n }\n emitRender(name) {\n this.events.dispatch('change', name);\n }\n openModal(name, props) {\n const id = this.generateId();\n const isStandalone = this.standaloneModals[name] > 0;\n const closeModal = (withOnClose) => {\n this.state.delete(id);\n this.emitRender(name);\n if (withOnClose === true && typeof props?.onClose === 'function') {\n props?.onClose();\n }\n };\n this.state.set(id, { name, props, closeModal, isStandalone });\n this.emitRender(name);\n return closeModal;\n }\n // closes every modal with requested name\n closeModal(name) {\n this.state.forEach((value, key) => {\n if (value.name === name) {\n this.state.delete(key);\n }\n });\n this.emitRender(name);\n }\n getState() {\n return this.state;\n }\n markAsStandalone(name) {\n this.standaloneModals[name] = (this.standaloneModals[name] || 0) + 1;\n }\n unmarkAsStandalone(name) {\n this.standaloneModals[name] = (this.standaloneModals[name] || 1) - 1;\n }\n getOpenModalNames() {\n const openModalNames = [];\n this.getState().forEach((value) => {\n openModalNames.push(value.name);\n });\n return openModalNames;\n }\n}\nconst manager = new ModalManager();\nconst openModal = (name, ...args) => manager.openModal(name, args[0]);\nconst closeModal = (name) => manager.closeModal(name);\nconst getOpenModalNames = () => manager.getOpenModalNames();\nconst registerModals = (registry) => {\n Object.keys(registry).forEach((key) => {\n modalsRegistry[key] = registry[key];\n });\n // unregister function\n return () => {\n Object.keys(registry).forEach((key) => {\n delete modalsRegistry[key];\n });\n };\n};const ModalsRenderer = ({ registry }) => {\n const [_, update] = useState(0);\n useEffect(() => {\n if (registry) {\n return registerModals(registry);\n }\n }, [registry]);\n useEffect(() => {\n const listener = () => {\n update((value) => value + 1);\n };\n manager.subscribe(listener);\n return () => {\n manager.unsubscribe(listener);\n };\n }, []);\n const nodes = [];\n for (const [id, { name, props, closeModal, isStandalone }] of manager.getState().entries()) {\n // skip standalone modals, they render themselves\n if (isStandalone) {\n continue;\n }\n if (!modalsRegistry[name]) {\n continue;\n }\n const Component = modalsRegistry[name];\n nodes.push(React.createElement(Component, { key: id, name: name, closeModal: closeModal, ...props }));\n }\n return (React.createElement(React.Fragment, null, nodes));\n};// to render a modal in-place without registration required\nconst standaloneModal = (modalName, Component) => {\n // ATTN because we can render several instances of standaloneModal,\n // we should track them and render only in the active one\n let lastId = 1;\n let activeIds = [];\n const Wrapper = () => {\n const [, forceUpdate] = useState(0);\n const instanceIdRef = useRef(lastId++);\n useEffect(() => {\n const listener = () => {\n forceUpdate((value) => (value + 1));\n };\n manager.subscribe(listener);\n manager.markAsStandalone(modalName);\n activeIds.push(instanceIdRef.current);\n return () => {\n activeIds = activeIds.filter((value) => value !== instanceIdRef.current);\n manager.unsubscribe(listener);\n manager.unmarkAsStandalone(modalName);\n };\n }, []);\n // ATTN show only if this instance is the first instance of this modal\n if (activeIds[0] !== instanceIdRef.current) {\n return null;\n }\n let nodes = [];\n for (const [id, { name, props, closeModal }] of manager.getState().entries()) {\n if (modalName === name) {\n nodes.push(React.createElement(Component, { key: id, name: name, closeModal: closeModal, ...props }));\n }\n }\n return (React.createElement(React.Fragment, null, nodes));\n };\n Wrapper.displayName = `StandaloneModal(${Component.displayName || Component.name || modalName})`;\n return Wrapper;\n};function useModalOpenState(name) {\n const [isOpen, setIsOpen] = useState(false);\n useEffect(() => {\n const listener = (eventModalName) => {\n if (eventModalName !== name) {\n return;\n }\n // we take info if modal is open from the manager state (getOpenModalNames), not from event\n // because:\n // - we can have several open modals with the same name\n // - we can close all of them (manager.closeModal) or just one of them (by method closeModal in each modal instance)\n setIsOpen(manager.getOpenModalNames().includes(name));\n };\n manager.subscribe(listener);\n return () => {\n manager.unsubscribe(listener);\n };\n }, [name]);\n return isOpen;\n}export{ModalsRenderer,closeModal,getOpenModalNames,openModal,registerModals,standaloneModal,useModalOpenState};"],"names":["addLocale","path","args","getDomainLocale","locale","locales","domainLocales","_interop_require_default","_","require","prefetched","Set","router","prefetch","window","href","as","options","appOptions","isAppRouter","_islocalurl","isLocalURL","prefetchedKey","has","add","process","env","formatStringOrUrl","urlObjOrString","_formaturl","formatUrl","children","legacyBehavior","childrenProp","a","appRouter","React","useContext","AppRouterContext","pagesRouter","prefetchEnabled","prefetchProp","_routerreducertypes","PrefetchKind","AUTO","FULL","default","useMemo","resolvedHref","hrefProp","asProp","resolvedAs","_resolvehref","resolveHref","previousAs","useRef","_react","child","Children","only","childRef","setIntersectionRef","isVisible","resetVisible","useIntersection","rootMargin","_useintersection","setRef","useCallback","previousHref","current","el","useEffect","appPrefetchKind","ref","onClick","e","props","defaultPrevented","linkClicked","currentTarget","replace","shallow","scroll","nodeName","isModifiedEvent","event","target","eventTarget","nativeEvent","which","metaKey","ctrlKey","shiftKey","altKey","preventDefault","navigate","routerScroll","startTransition","onMouseEnter","onMouseEnterProp","priority","bypassPrefetchedCheck","onTouchStart","onTouchStartProp","childProps","curLocale","type","localeDomain","addBasePath","_getdomainlocale","defaultLocale","_addbasepath","_addlocale","restProps","cloneElement","_jsxruntime","jsx","resolveAs","base","urlAsString","formatWithValidation","urlProtoMatch","match","urlAsStringNoProto","slice","length","urlParts","split","console","error","pathname","normalizedUrl","normalizeRepeatedSlashes","URL","startsWith","asPath","finalUrl","normalizePathTrailingSlash","interpolatedAs","isDynamicRoute","searchParams","query","searchParamsToUrlQuery","result","params","interpolateAs","hash","omit","origin","hasIntersectionObserver","IntersectionObserver","observers","Map","idList","param","rootRef","disabled","isDisabled","visible","setVisible","useState","elementRef","setElement","element","tagName","observe","callback","id","observer","elements","createObserver","instance","root","margin","existing","find","obj","get","entries","forEach","entry","isIntersecting","intersectionRatio","push","set","delete","unobserve","size","disconnect","index","findIndex","splice","idleCallback","requestIdleCallback","cancelIdleCallback","escapeStringRegexp","reHasRegExp","reReplaceRegExp","str","test","RouterContext","createContext","urlObjectKeys","slashedProtocols","urlObj","auth","hostname","protocol","host","encodeURIComponent","indexOf","port","String","querystring","urlQueryToSearchParams","search","endsWith","slashes","url","getSortedRoutes","route","asPathname","interpolatedRoute","dynamicRegex","getRouteRegex","dynamicGroups","groups","dynamicMatches","getRouteMatcher","Object","keys","every","value","repeat","optional","replaced","Array","isArray","map","segment","join","TEST_ROUTE","isInterceptionRouteAppPath","extractInterceptionRouteInformation","interceptedRoute","isAbsoluteUrl","locationOrigin","getLocationOrigin","resolved","hasBasePath","object","omitted","includes","key","stringifyUrlQueryParam","isNaN","urlQuery","URLSearchParams","append","item","assign","_len","arguments","searchParamsList","_key","from","re","routeMatch","exec","decode","decodeURIComponent","DecodeError","g","slugName","m","pos","undefined","getNamedMiddlewareRegex","getNamedRouteRegex","parseParameter","getParametrizedRoute","segments","removeTrailingSlash","groupIndex","parameterizedRoute","markerMatch","INTERCEPTION_ROUTE_MARKERS","paramMatches","normalizedRoute","getSafeKeyFromSegment","interceptionMarker","getSafeRouteKey","routeKeys","keyPrefix","cleanedKey","invalidKey","parseInt","interceptionPrefix","getNamedParametrizedRoute","prefixRouteKeys","i","routeKey","j","fromCharCode","Math","floor","namedParameterizedRoute","hasInterceptionMarker","some","usedMarker","prefixRouteKey","namedRegex","catchAll","UrlNode","insert","urlPath","_insert","filter","Boolean","smoosh","_smoosh","prefix","childrenPaths","sort","restSlugName","optionalRestSlugName","routes","c","reduce","prev","curr","placeholder","r","unshift","urlPaths","slugNames","isCatchAll","nextSegment","segmentName","isOptional","substring","handleSlug","previousSlug","nextSlug","slug","normalizedPages","pagePath","MiddlewareNotFoundError","MissingStaticPage","NormalizeError","PageNotFoundError","SP","ST","WEB_VITALS","execOnce","getDisplayName","getURL","isResSent","loadGetInitialProps","stringifyError","fn","used","ABSOLUTE_URL_REGEX","location","Component","displayName","name","res","finished","headersSent","urlNoQuery","App","ctx","getInitialProps","pageProps","performance","method","Error","constructor","page","code","message","JSON","stringify","stack","Event","handlers","prototype","addHandler","handler","removeHandler","h","call","eventArgs","_i","apply","err","EventAggregator","events","getEvent","subscribe","_this","unsubscribe","dispatch","once","handlerWrapper","modalsRegistry","ModalManager","state","standaloneModals","lastId","generateId","listener","emitRender","openModal","isStandalone","closeModal","withOnClose","onClose","getState","markAsStandalone","unmarkAsStandalone","getOpenModalNames","openModalNames","manager","registerModals","registry","ModalsRenderer","update","react","nodes","createElement","Fragment","standaloneModal","modalName","activeIds","Wrapper","forceUpdate","instanceIdRef"],"sourceRoot":""}