securityos/node_modules/next/dist/export/routes/pages.js.map

1 line
4.5 KiB
Plaintext

{"version":3,"sources":["../../../src/export/routes/pages.ts"],"names":["exportPages","ExportedPagesFiles","HTML","DATA","AMP_HTML","AMP_DATA","req","res","path","page","query","htmlFilepath","htmlFilename","ampPath","subFolders","outDir","ampValidatorPath","pagesDataDir","buildExport","isDynamic","hasOrigQueryValues","renderOpts","components","fileWriter","ampState","ampFirst","pageConfig","amp","hasQuery","Boolean","hybrid","inAmpMode","isInAmpMode","hybridAmp","getServerSideProps","Error","SERVER_PROPS_EXPORT_ERROR","getStaticProps","endsWith","renderResult","Component","RenderResult","fromStatic","optimizeFonts","process","env","__NEXT_OPTIMIZE_FONTS","JSON","stringify","optimizeCss","__NEXT_OPTIMIZE_CSS","lazyRenderPagesPage","err","digest","NEXT_DYNAMIC_NO_SSR_CODE","ssgNotFound","metadata","isNotFound","ampValidations","validateAmp","rawAmpHtml","ampPageName","validatorPath","validator","AmpHtmlValidator","getInstance","result","validateString","errors","filter","e","severity","warnings","length","push","html","isNull","toUnchunkedString","ampRenderResult","ampSkipValidation","ampHtmlFilename","join","ampHtmlFilepath","exists","fileExists","FileType","File","ampHtml","pageData","dataFile","replace","revalidate"],"mappings":";;;;;;;;;;;;;;;;;;IA0BsBA,WAAW;eAAXA;;;qEApBG;sBACJ;yBAKO;2BACc;4BACD;yEACZ;4BACQ;8BACD;;;;;;IAE7B;UAAWC,kBAAkB;IAAlBA,mBAChBC,UAAAA;IADgBD,mBAEhBE,UAAAA;IAFgBF,mBAGhBG,cAAAA;IAHgBH,mBAIhBI,cAAW;GAJKJ,uBAAAA;AAOX,eAAeD,YACpBM,GAAkB,EAClBC,GAAmB,EACnBC,IAAY,EACZC,IAAY,EACZC,KAAyB,EACzBC,YAAoB,EACpBC,YAAoB,EACpBC,OAAe,EACfC,UAAmB,EACnBC,MAAc,EACdC,gBAAoC,EACpCC,YAAoB,EACpBC,WAAoB,EACpBC,SAAkB,EAClBC,kBAA2B,EAC3BC,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