File "index.min.js.map"

Full Path: /home/pumpbmko/public_html/wp-content/plugins/gutenberg/build/router/index.min.js.map
File size: 8 KB
MIME-type: application/json
Charset: utf-8

{"version":3,"file":"./build/router/index.min.js","mappings":"mBACA,IAAIA,EAAsB,CCA1BA,EAAwB,CAACC,EAASC,KACjC,IAAI,IAAIC,KAAOD,EACXF,EAAoBI,EAAEF,EAAYC,KAASH,EAAoBI,EAAEH,EAASE,IAC5EE,OAAOC,eAAeL,EAASE,EAAK,CAAEI,YAAY,EAAMC,IAAKN,EAAWC,IAE1E,ECNDH,EAAwB,CAACS,EAAKC,IAAUL,OAAOM,UAAUC,eAAeC,KAAKJ,EAAKC,GCClFV,EAAyBC,IACH,oBAAXa,QAA0BA,OAAOC,aAC1CV,OAAOC,eAAeL,EAASa,OAAOC,YAAa,CAAEC,MAAO,WAE7DX,OAAOC,eAAeL,EAAS,aAAc,CAAEe,OAAO,GAAO,G,uCCL9D,MAAM,EAA+BC,OAAW,GAAW,QCA3D,SAAS,IACP,OAAO,EAAWZ,OAAOa,OAASb,OAAOa,OAAOC,OAAS,SAAUC,GACjE,IAAK,IAAIC,EAAI,EAAGA,EAAIC,UAAUC,OAAQF,IAAK,CACzC,IAAIG,EAAIF,UAAUD,GAClB,IAAK,IAAII,KAAKD,GAAG,CAAG,GAAEZ,eAAeC,KAAKW,EAAGC,KAAOL,EAAEK,GAAKD,EAAEC,GAC/D,CACA,OAAOL,CACT,EAAG,EAASM,MAAM,KAAMJ,UAC1B,C,kWCRA,MAAM,EAA+BL,OAAW,GAAO,ICUjDU,E,w8DAAUC,GAEVC,EAAsBF,EAAQG,KAC9BC,EAAyBJ,EAAQK,QAKvC,SAASC,EAAsBC,GAC9B,GAAKA,EAAOtB,eAAgB,oBAC3B,OAAOsB,EAER,MACMC,EADgB,IAAIC,gBAAiBT,EAAQU,SAASC,QAClB9B,IAAK,oBAC/C,OAA6B,OAAxB2B,EACGD,EAED,IAAKA,EAAQK,iBAAkBJ,EACvC,CAYA,MAAMK,EAAe,IAAIC,QAgBzBd,EAAQG,KA1BR,SAAeI,EAAQQ,GACtB,MAAMJ,GAASK,EAAAA,EAAAA,kBAAkBV,EAAsBC,IACvD,OAAOL,EAAoBhB,KAAMc,EAAS,CAAEW,UAAUI,EACvD,EAwBAf,EAAQK,QAtBR,SAAkBE,EAAQQ,GACzB,MAAMJ,GAASK,EAAAA,EAAAA,kBAAkBV,EAAsBC,IACvD,OAAOH,EAAuBlB,KAAMc,EAAS,CAAEW,UAAUI,EAC1D,EAoBAf,EAAQiB,sBAjBR,WACC,MAAMP,EAAWV,EAAQU,SACzB,IAAIQ,EAAqBL,EAAahC,IAAK6B,GAU3C,OATOQ,IACNA,EAAqB,IACjBR,EACHH,OAAQ7B,OAAOyC,YACd,IAAIV,gBAAiBC,EAASC,UAGhCE,EAAaO,IAAKV,EAAUQ,IAEtBA,CACR,EAMA,UC5DM,EAA+B5B,OAAwB,gBCcvD+B,GAAgBC,EAAAA,EAAAA,iBAChBC,GAAiBD,EAAAA,EAAAA,iBCfjB,EAA+BhC,OAAW,GAAe,aCKlD,KAAEkC,EAAI,OAAEC,IACpBC,EAAAA,EAAAA,kDACC,gIACA,qBCFWC,EAAc,CAAC,EAC5BH,EAAMG,EAAa,CAClBC,WHaM,WACN,OAAOC,EAAAA,EAAAA,YAAYN,EACpB,EGdCO,YHQM,WACN,OAAOD,EAAAA,EAAAA,YAAYR,EACpB,EGTCU,eHeM,UAAyB,SAAEC,IACjC,MAAMtB,GAAWuB,EAAAA,EAAAA,sBAChBjC,EAAQkC,OACRlC,EAAQiB,sBACRjB,EAAQiB,uBAGT,OACCkB,EAAAA,EAAAA,KAACZ,EAAea,SAAQ,CAAC/C,MAAQW,EAASgC,UACzCG,EAAAA,EAAAA,KAACd,EAAce,SAAQ,CAAC/C,MAAQqB,EAAUsB,SACvCA,KAIN,K","sources":["webpack://wp/webpack/bootstrap","webpack://wp/webpack/runtime/define property getters","webpack://wp/webpack/runtime/hasOwnProperty shorthand","webpack://wp/webpack/runtime/make namespace object","webpack://wp/external window [\"wp\",\"element\"]","webpack://wp/./node_modules/@babel/runtime/helpers/esm/extends.js","webpack://wp/external window [\"wp\",\"url\"]","../../packages/router/src/history.js","webpack://wp/external window \"ReactJSXRuntime\"","../../packages/router/src/router.js","webpack://wp/external window [\"wp\",\"privateApis\"]","../../packages/router/src/lock-unlock.js","../../packages/router/src/private-apis.js"],"sourcesContent":["// The require scope\nvar __webpack_require__ = {};\n\n","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","const __WEBPACK_NAMESPACE_OBJECT__ = window[\"wp\"][\"element\"];","function _extends() {\n  return _extends = Object.assign ? Object.assign.bind() : function (n) {\n    for (var e = 1; e < arguments.length; e++) {\n      var t = arguments[e];\n      for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n    }\n    return n;\n  }, _extends.apply(null, arguments);\n}\nexport { _extends as default };","const __WEBPACK_NAMESPACE_OBJECT__ = window[\"wp\"][\"url\"];","/**\n * External dependencies\n */\nimport { createBrowserHistory } from 'history';\n\n/**\n * WordPress dependencies\n */\nimport { buildQueryString } from '@wordpress/url';\n\nconst history = createBrowserHistory();\n\nconst originalHistoryPush = history.push;\nconst originalHistoryReplace = history.replace;\n\n// Preserve the `wp_theme_preview` query parameter when navigating\n// around the Site Editor.\n// TODO: move this hack out of the router into Site Editor code.\nfunction preserveThemePreview( params ) {\n\tif ( params.hasOwnProperty( 'wp_theme_preview' ) ) {\n\t\treturn params;\n\t}\n\tconst currentSearch = new URLSearchParams( history.location.search );\n\tconst currentThemePreview = currentSearch.get( 'wp_theme_preview' );\n\tif ( currentThemePreview === null ) {\n\t\treturn params;\n\t}\n\treturn { ...params, wp_theme_preview: currentThemePreview };\n}\n\nfunction push( params, state ) {\n\tconst search = buildQueryString( preserveThemePreview( params ) );\n\treturn originalHistoryPush.call( history, { search }, state );\n}\n\nfunction replace( params, state ) {\n\tconst search = buildQueryString( preserveThemePreview( params ) );\n\treturn originalHistoryReplace.call( history, { search }, state );\n}\n\nconst locationMemo = new WeakMap();\nfunction getLocationWithParams() {\n\tconst location = history.location;\n\tlet locationWithParams = locationMemo.get( location );\n\tif ( ! locationWithParams ) {\n\t\tlocationWithParams = {\n\t\t\t...location,\n\t\t\tparams: Object.fromEntries(\n\t\t\t\tnew URLSearchParams( location.search )\n\t\t\t),\n\t\t};\n\t\tlocationMemo.set( location, locationWithParams );\n\t}\n\treturn locationWithParams;\n}\n\nhistory.push = push;\nhistory.replace = replace;\nhistory.getLocationWithParams = getLocationWithParams;\n\nexport default history;\n","const __WEBPACK_NAMESPACE_OBJECT__ = window[\"ReactJSXRuntime\"];","/**\n * WordPress dependencies\n */\nimport {\n\tcreateContext,\n\tuseContext,\n\tuseSyncExternalStore,\n} from '@wordpress/element';\n\n/**\n * Internal dependencies\n */\nimport history from './history';\n\nconst RoutesContext = createContext();\nconst HistoryContext = createContext();\n\nexport function useLocation() {\n\treturn useContext( RoutesContext );\n}\n\nexport function useHistory() {\n\treturn useContext( HistoryContext );\n}\n\nexport function RouterProvider( { children } ) {\n\tconst location = useSyncExternalStore(\n\t\thistory.listen,\n\t\thistory.getLocationWithParams,\n\t\thistory.getLocationWithParams\n\t);\n\n\treturn (\n\t\t<HistoryContext.Provider value={ history }>\n\t\t\t<RoutesContext.Provider value={ location }>\n\t\t\t\t{ children }\n\t\t\t</RoutesContext.Provider>\n\t\t</HistoryContext.Provider>\n\t);\n}\n","const __WEBPACK_NAMESPACE_OBJECT__ = window[\"wp\"][\"privateApis\"];","/**\n * WordPress dependencies\n */\nimport { __dangerousOptInToUnstableAPIsOnlyForCoreModules } from '@wordpress/private-apis';\n\nexport const { lock, unlock } =\n\t__dangerousOptInToUnstableAPIsOnlyForCoreModules(\n\t\t'I acknowledge private features are not for use in themes or plugins and doing so will break in the next version of WordPress.',\n\t\t'@wordpress/router'\n\t);\n","/**\n * Internal dependencies\n */\nimport { useHistory, useLocation, RouterProvider } from './router';\nimport { lock } from './lock-unlock';\n\nexport const privateApis = {};\nlock( privateApis, {\n\tuseHistory,\n\tuseLocation,\n\tRouterProvider,\n} );\n"],"names":["__webpack_require__","exports","definition","key","o","Object","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","Symbol","toStringTag","value","window","assign","bind","n","e","arguments","length","t","r","apply","history","createBrowserHistory","originalHistoryPush","push","originalHistoryReplace","replace","preserveThemePreview","params","currentThemePreview","URLSearchParams","location","search","wp_theme_preview","locationMemo","WeakMap","state","buildQueryString","getLocationWithParams","locationWithParams","fromEntries","set","RoutesContext","createContext","HistoryContext","lock","unlock","__dangerousOptInToUnstableAPIsOnlyForCoreModules","privateApis","useHistory","useContext","useLocation","RouterProvider","children","useSyncExternalStore","listen","_jsx","Provider"],"sourceRoot":""}