dsql-admin/dsql-app/.local_dist/server/chunks/883.js

6 lines
65 KiB
JavaScript
Raw Normal View History

2024-12-05 07:03:33 +00:00
exports.id=883,exports.ids=[883],exports.modules={70781:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{Head:function(){return b},Html:function(){return y},Main:function(){return N},NextScript:function(){return O},default:function(){return P}});let n=r(8732),o=function(e,t){if(e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=g(void 0);if(r&&r.has(e))return r.get(e);var n={__proto__:null},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if("default"!==i&&Object.prototype.hasOwnProperty.call(e,i)){var a=o?Object.getOwnPropertyDescriptor(e,i):null;a&&(a.get||a.set)?Object.defineProperty(n,i,a):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}(r(82015)),i=r(8939),a=r(34251),s=r(61611),l=function(e){return e&&e.__esModule?e:{default:e}}(r(83382)),u=r(84244),c=r(81149),d=r(96510),p=r(73010);function g(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(g=function(e){return e?r:t})(e)}let f=new Set;function _(e,t,r){let n=(0,a.getPageFiles)(e,"/_app"),o=r?[]:(0,a.getPageFiles)(e,t);return{sharedFiles:n,pageFiles:o,allFiles:[...new Set([...n,...o])]}}function h(e,t){let{assetPrefix:r,buildManifest:o,assetQueryString:i,disableOptimizedLoading:a,crossOrigin:s}=e;return o.polyfillFiles.filter(e=>e.endsWith(".js")&&!e.endsWith(".module.js")).map(e=>(0,n.jsx)("script",{defer:!a,nonce:t.nonce,crossOrigin:t.crossOrigin||s,noModule:!0,src:`${r}/_next/${(0,c.encodeURIPath)(e)}${i}`},e))}function m({styles:e}){if(!e)return null;let t=Array.isArray(e)?e:[];if(e.props&&Array.isArray(e.props.children)){let r=e=>{var t,r;return null==e?void 0:null==(r=e.props)?void 0:null==(t=r.dangerouslySetInnerHTML)?void 0:t.__html};e.props.children.forEach(e=>{Array.isArray(e)?e.forEach(e=>r(e)&&t.push(e)):r(e)&&t.push(e)})}return(0,n.jsx)("style",{"amp-custom":"",dangerouslySetInnerHTML:{__html:t.map(e=>e.props.dangerouslySetInnerHTML.__html).join("").replace(/\/\*# sourceMappingURL=.*\*\//g,"").replace(/\/\*@ sourceURL=.*?\*\//g,"")}})}function S(e,t,r){let{dynamicImports:o,assetPrefix:i,isDevelopment:a,assetQueryString:s,disableOptimizedLoading:l,crossOrigin:u}=e;return o.map(e=>!e.endsWith(".js")||r.allFiles.includes(e)?null:(0,n.jsx)("script",{async:!a&&l,defer:!l,src:`${i}/_next/${(0,c.encodeURIPath)(e)}${s}`,nonce:t.nonce,crossOrigin:t.crossOrigin||u},e))}function v(e,t,r){var o;let{assetPrefix:i,buildManifest:a,isDevelopment:s,assetQueryString:l,disableOptimizedLoading:u,crossOrigin:d}=e;return[...r.allFiles.filter(e=>e.endsWith(".js")),...null==(o=a.lowPriorityFiles)?void 0:o.filter(e=>e.endsWith(".js"))].map(e=>(0,n.jsx)("script",{src:`${i}/_next/${(0,c.encodeURIPath)(e)}${l}`,nonce:t.nonce,async:!s&&u,defer:!u,crossOrigin:t.crossOrigin||d},e))}function E(e,t){let{scriptLoader:r,disableOptimizedLoading:i,crossOrigin:a}=e,s=function(e,t){let{assetPrefix:r,scriptLoader:i,crossOrigin:a,nextScriptWorkers:s}=e;if(!s)return null;try{let{partytownSnippet:e}=require("@builder.io/partytown/integration"),s=(Array.isArray(t.children)?t.children:[t.children]).find(e=>{var t,r;return!!e&&!!e.props&&(null==e?void 0:null==(r=e.props)?void 0:null==(t=r.dangerouslySetInnerHTML)?void 0:t.__html.length)&&"data-partytown-config"in e.props});return(0,n.jsxs)(n.Fragment,{children:[!s&&(0,n.jsx)("script",{"data-partytown-config":"",dangerouslySetInnerHTML:{__html:`
partytown = {
lib: "${r}/_next/static/~partytown/"
};
`}}),(0,n.jsx)("script",{"data-partytown":"",dangerouslySetInnerHTML:{__html:e()}}),(i.worker||[]).map((e,r)=>{let{strategy:n,src:i,children:s,dangerouslySetInnerHTML:l,...u}=e,c={};if(i)c.src=i;else if(l&&l.__html)c.dangerouslySetInnerHTML={__html:l.__html};else if(s)c.dangerouslySetInnerHTML={__html:"string"==typeof s?s:Array.isArray(s)?s.join(""):""};else throw Error("Invalid usage of next/script. Did you forget to include a src attribute or an inline script? https://nextjs.org/docs/messages/invalid-script");return(0,o.createElement)("script",{...c,...u,type:"text/partytown",key:i||r,nonce:t.nonce,"data-nscript":"worker",crossOrigin:t.crossOrigin||a})})]})}catch(e){return(0,l.default)(e)&&"MODULE_NOT_FOUND"!==e.code&&console.warn(`Warning: ${e.message}`),null}}(e,t),u=(r.beforeInteractive||[]).filter(e=>e.src).map((e,r)=>{let{strategy:n,...s}=e;return(0,o.createElement)("script",{...s,key:s.src||r,defer:s.defer??!i,nonce:t.nonce,"data-nscript":"beforeInteractive",crossOrigin:t.crossOrigin||a})});return(0,n.jsxs)(n.Fragment,{children:[s,u]})}class b extends o.default.Component{static #e=this.contextType=u.HtmlContext;getCssLinks(e){let{assetPrefix:t,assetQueryString:r,dynamicImports:o,crossOrigin:i,optimizeCss:a}=this.context,s=e.allFiles.filter(e=>e.endsWith(".css")),l=new Set(e.sharedFiles),u=new Set([]),d=Array.from(new Set(o.filter(e=>e.endsWith(".css"))));if(d.length){let e=new Set(s);u=new Set(d=d.filter(t=>!(e.has(t)||l.has(t)))),s.push(...d)}let p=[];return s.forEach(e=>{let o=l.has(e);a||p.push((0,n.jsx)("link",{nonce:this.props.nonce,rel:"preload",href:`${t}/_next/${(0,c.encodeURIPath)(e)}${r}`,as:"style",crossOrigin:this.props.crossOrigin||i},`${e}-preload`));let s=u.has(e);p.push((0,n.jsx)("link",{nonce:this.props.nonce,rel:"stylesheet",href:`${t}/_next/${(0,c.encodeURIPath)(e)}${r}`,crossOrigin:this.props.crossOrigin||i,"data-n-g":s?void 0:o?"":void 0,"data-n-p":s?void 0:o?void 0:""},e))}),0===p.length?null:p}getPreloadDynamicChunks(){let{dynamicImports:e,assetPrefix:t,assetQueryString:r,crossOrigin:o}=this.context;return e.map(e=>e.endsWith(".js")?(0,n.jsx)("link",{rel:"preload",href:`${t}/_next/${(0,c.encodeURIPath)(e)}${r}`,as:"script",nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||o},e):null).filter(Boolean)}getPreloadMainLinks(e){let{assetPrefix:t,assetQueryString:r,scriptLoader:o,crossOrigin:i}=this.context,a=e.allFiles.filter(e=>e.endsWith(".js"));return[...(o.beforeInteractive||[]).map(e=>(0,n.jsx)("link",{nonce:this.props.nonce,rel:"preload",href:e.src,as:"script",crossOrigin:this.props.crossOrigin||i},e.src)),...a.map(e=>(0,n.jsx)("link",{nonce:this.props.nonce,rel:"preload",href:`${t}/_next/${(0,c.encodeURIPath)(e)}${r}`,as:"script",crossOrigin:this.props.crossOrigin||i},e))]}getBeforeInteractiveInlineScripts(){let{scriptLoader:e}=this.context,{nonce:t,crossOrigin:r}=this.props;return(e.beforeInteractive||[]).filter(e=>!e.src&&(e.dangerouslySetInnerHTML||e.children)).map((e,n)=>{let{strategy:i,children:a,dangerouslySetInnerHTML:s,src:l,...u}=e,c="";return s&&s.__html?c=s.__html:a&&(c="string"==typeof a?a:Array.isArray(a)?a.join(""):""),(0,o.createElement)("script",{...u,dangerouslySetInnerHTML:{__html:c},key:u.id||n,nonce:t,"data-nscript":"beforeInteractive",crossOrigin:r||void 0})})}getDynamicChunks(e){return S(this.context,this.props,e)}getPreNextScripts(){return E(this.context,this.props)}getScripts(e){return v(this.context,this.props,e)}getPolyfillScripts(){return h(this.context,this.props)}render(){let{styles:e,ampPath:t,inAmpMode:i,hybridAmp:a,canonicalBase:s,__NEXT_DATA__:l,dangerousAsPath:u,headTags:g,unstable_runtimeJS:f,unstable_JsPreload:h,disableOptimizedLoading:S,optimizeCss:v,assetPrefix:E,nextFontManifest:b}=this.context,O=!1===f,y=!1===h||!S;this.context.docComponentsRendered.Head=!0;let{head:N}=this.context,P=[],T=[];N&&(N.forEach(e=>{e&&"link"===e.type&&"preload"===e.props.rel&&"style"===e.props.as?this.context.strictNextHead?P.push(o.default.cloneElement(e,{"data-next-head":""})):P.push(e):e&&(this.context.strictNextHead?T.push(o.default.cloneElement(e,{
See more info here: https://nextjs.org/docs/messages/large-page-data`)),(0,s.htmlEscapeJsonString)(o)}catch(e){if((0,l.default)(e)&&-1!==e.message.indexOf("circular structure"))throw Error(`Circular structure in "getInitialProps" result of page "${t.page}". https://nextjs.org/docs/messages/circular-structure`);throw e}}render(){let{assetPrefix:e,inAmpMode:t,buildManifest:r,unstable_runtimeJS:o,docComponentsRendered:i,assetQueryString:a,disableOptimizedLoading:s,crossOrigin:l}=this.context,u=!1===o;if(i.NextScript=!0,t)return null;let d=_(this.context.buildManifest,this.context.__NEXT_DATA__.page,t);return(0,n.jsxs)(n.Fragment,{children:[!u&&r.devFiles?r.devFiles.map(t=>(0,n.jsx)("script",{src:`${e}/_next/${(0,c.encodeURIPath)(t)}${a}`,nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||l},t)):null,u?null:(0,n.jsx)("script",{id:"__NEXT_DATA__",type:"application/json",nonce:this.props.nonce,crossOrigin:this.props.crossOrigin||l,dangerouslySetInnerHTML:{__html:O.getInlineScriptSource(this.context)}}),s&&!u&&this.getPolyfillScripts(),s&&!u&&this.getPreNextScripts(),s&&!u&&this.getDynamicChunks(d),s&&!u&&this.getScripts(d)]})}}function y(e){let{inAmpMode:t,docComponentsRendered:r,locale:i,scriptLoader:a,__NEXT_DATA__:s}=(0,u.useHtmlContext)();return r.Html=!0,function(e,t,r){var n,i,a,s;if(!r.children)return;let l=[],u=Array.isArray(r.children)?r.children:[r.children],c=null==(i=u.find(e=>e.type===b))?void 0:null==(n=i.props)?void 0:n.children,d=null==(s=u.find(e=>"body"===e.type))?void 0:null==(a=s.props)?void 0:a.children,p=[...Array.isArray(c)?c:[c],...Array.isArray(d)?d:[d]];o.default.Children.forEach(p,t=>{var r;if(t&&(null==(r=t.type)?void 0:r.__nextScript)){if("beforeInteractive"===t.props.strategy){e.beforeInteractive=(e.beforeInteractive||[]).concat([{...t.props}]);return}if(["lazyOnload","afterInteractive","worker"].includes(t.props.strategy)){l.push(t.props);return}if(void 0===t.props.strategy){l.push({...t.props,strategy:"afterInteractive"});return}}}),t.scriptLoader=l}(a,s,e),(0,n.jsx)("html",{...e,lang:e.lang||i||void 0,amp:t?"":void 0,"data-ampdevmode":void 0})}function N(){let{docComponentsRendered:e}=(0,u.useHtmlContext)();return e.Main=!0,(0,n.jsx)("next-js-internal-body-render-target",{})}class P extends o.default.Component{static getInitialProps(e){return e.defaultGetInitialProps(e)}render(){return(0,n.jsxs)(y,{children:[(0,n.jsx)(b,{}),(0,n.jsxs)("body",{children:[(0,n.jsx)(N,{}),(0,n.jsx)(O,{})]})]})}}P[i.NEXT_BUILTIN_DOCUMENT]=function(){return(0,n.jsxs)(y,{children:[(0,n.jsx)(b,{}),(0,n.jsxs)("body",{children:[(0,n.jsx)(N,{}),(0,n.jsx)(O,{})]})]})}},8939:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{APP_BUILD_MANIFEST:function(){return v},APP_CLIENT_INTERNALS:function(){return q},APP_PATHS_MANIFEST:function(){return h},APP_PATH_ROUTES_MANIFEST:function(){return m},BARREL_OPTIMIZATION_PREFIX:function(){return $},BLOCKED_PAGES:function(){return B},BUILD_ID_FILE:function(){return w},BUILD_MANIFEST:function(){return S},CLIENT_PUBLIC_FILES_PATH:function(){return F},CLIENT_REFERENCE_MANIFEST:function(){return G},CLIENT_STATIC_FILES_PATH:function(){return U},CLIENT_STATIC_FILES_RUNTIME_AMP:function(){return Z},CLIENT_STATIC_FILES_RUNTIME_MAIN:function(){return X},CLIENT_STATIC_FILES_RUNTIME_MAIN_APP:function(){return Y},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS:function(){return ee},CLIENT_STATIC_FILES_RUNTIME_POLYFILLS_SYMBOL:function(){return et},CLIENT_STATIC_FILES_RUNTIME_REACT_REFRESH:function(){return J},CLIENT_STATIC_FILES_RUNTIME_WEBPACK:function(){return Q},COMPILER_INDEXES:function(){return i},COMPILER_NAMES:function(){return o},CONFIG_FILES:function(){return D},DEFAULT_RUNTIME_WEBPACK:function(){return er},DEFAULT_SANS_SERIF_FONT:function(){return es},DEFAULT_SERIF_FONT:function(){return ea},DEV_CLIENT_MIDDLEWARE_MANIFEST:function(){return A},DEV_CLIENT_PAGES_MANIFEST:function(){return x},EDGE_RUNTIME_WEBPACK:function(){return en},EDGE_UNSUPPORTED_NODE_APIS:function(){return ep},EXPORT