UNPKG

create-dan

Version:

Dan frameworks

1 lines 1.8 kB
{"ast":null,"code":"\"use strict\";\n\nexports.__esModule = true;\nexports.displayContent = displayContent;\n\nfunction displayContent() {\n // This is the fallback helper that removes Next.js' no-FOUC styles when\n // CSS mode is enabled. This only really activates if you haven't created\n // _any_ styles in your application yet.\n ;\n (window.requestAnimationFrame || setTimeout)(function () {\n for (var x = document.querySelectorAll('[data-next-hide-fouc]'), i = x.length; i--;) {\n x[i].parentNode.removeChild(x[i]);\n }\n });\n}","map":{"version":3,"sources":["/Users/sbourgal/Documents/Projets/DAN/dan-framework/template/node_modules/next/dist/client/dev/fouc.js"],"names":["exports","__esModule","displayContent","window","requestAnimationFrame","setTimeout","x","document","querySelectorAll","i","length","parentNode","removeChild"],"mappings":"AAAA;;AAAaA,OAAO,CAACC,UAAR,GAAmB,IAAnB;AAAwBD,OAAO,CAACE,cAAR,GAAuBA,cAAvB;;AAAsC,SAASA,cAAT,GAAyB;AAAC;AACrG;AACA;AACA;AAAC,GAACC,MAAM,CAACC,qBAAP,IAA8BC,UAA/B,EAA2C,YAAU;AAAC,SAAI,IAAIC,CAAC,GAACC,QAAQ,CAACC,gBAAT,CAA0B,uBAA1B,CAAN,EAAyDC,CAAC,GAACH,CAAC,CAACI,MAAjE,EAAwED,CAAC,EAAzE,GAA6E;AAACH,MAAAA,CAAC,CAACG,CAAD,CAAD,CAAKE,UAAL,CAAgBC,WAAhB,CAA4BN,CAAC,CAACG,CAAD,CAA7B;AAAmC;AAAC,GAAxK;AAA2K","sourcesContent":["\"use strict\";exports.__esModule=true;exports.displayContent=displayContent;function displayContent(){// This is the fallback helper that removes Next.js' no-FOUC styles when\n// CSS mode is enabled. This only really activates if you haven't created\n// _any_ styles in your application yet.\n;(window.requestAnimationFrame||setTimeout)(function(){for(var x=document.querySelectorAll('[data-next-hide-fouc]'),i=x.length;i--;){x[i].parentNode.removeChild(x[i]);}});}"]},"metadata":{},"sourceType":"script"}