1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[737],{42330:function(e,t,n){"use strict";var a,l=n(67294);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}t.Z=function(e){return l.createElement("svg",_extends({viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),a||(a=l.createElement("path",{d:"M13.299.71a.996.996 0 0 0-1.41 0l-4.89 4.88L2.109.7a.996.996 0 1 0-1.41 1.41L5.589 7l-4.89 4.89a.996.996 0 1 0 1.41 1.41l4.89-4.89 4.89 4.89a.996.996 0 1 0 1.41-1.41L8.409 7l4.89-4.89c.38-.38.38-1.02 0-1.4Z",fill:"#fff",fillOpacity:.8})))}},4699:function(e,t,n){"use strict";var a,l=n(67294);function _extends(){return(_extends=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}).apply(this,arguments)}t.Z=function(e){return l.createElement("svg",_extends({preserveAspectRatio:"none",overflow:"visible",style:{display:"block"},width:16,height:16,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),a||(a=l.createElement("g",{stroke:"#232137",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"},l.createElement("path",{d:"m4 12 8-8M5.5 4H12v6.5"}))))}},27236:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/gallery/adult",function(){return n(40478)}])},40478:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return l}});var a=n(23801),l=!0;t.default=a.default},23801:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return C},default:function(){return gallery_Gallery}});var a=n(85893),l=n(67294),r=n(5152),s=n.n(r),i=n(9008),o=n.n(i),c=n(11163),u=n(42330),d=n(4699),h=n(95166),g=n(27337),f=n(1566),p=n.n(f);function SignupsClosedModal(e){let{isOpen:t,onClose:n}=e;return t?(0,a.jsx)("div",{className:p().modalContainer,onClick:n,"aria-label":"Close new sign-ups closed modal",children:(0,a.jsxs)("div",{role:"dialog","aria-label":"New sign-ups closed",className:p().modal,onClick:e=>e.stopPropagation(),children:[(0,a.jsx)(h.z,{form:"square",variant:"black",transparent:!0,onClick:n,className:p().closeBtn,"aria-label":"Close new sign-ups closed modal button",children:(0,a.jsx)(u.Z,{width:14,height:14,"aria-label":"Close new sign-ups closed modal button"})}),(0,a.jsx)("h2",{className:p().title,children:"CGDream is closed to new accounts"}),(0,a.jsxs)("p",{className:p().description,children:["We couldn't sign you in - CGDream is retiring on"," ",(0,a.jsx)("strong",{children:g.te})," and no longer accepts new sign-ups. Existing users can still sign in to download their files. To keep creating, head to CGTrader AI."]}),(0,a.jsxs)("a",{href:g.DQ,target:"_blank",rel:"noreferrer",className:p().continueButton,children:["Continue on CGTrader AI",(0,a.jsx)(d.Z,{width:16,height:16})]})]})}):null}var _=n(76891),m=n(35425),w=n(74508),y=n(60008),v=n(35579),b=n(6718),x=n.n(b),j=n(52090);let k=s()(async()=>(await Promise.all([n.e(1579),n.e(971)]).then(n.bind(n,51579))).UnderMaintenance,{loadableGenerated:{webpack:()=>[51579]}});var C=!0;function gallery_Gallery(e){let{userData:t,gallerySortBy:n,shouldShowUnderMaintenanceContent:r}=e;(0,m.v)(t);let s=v.L.getState(),i=null!=t?t:s,u=(0,c.useRouter)(),[d,h]=(0,l.useState)(!1);(0,l.useEffect)(()=>{(0,j.d8)({name:"lastGalleryVisited",value:"/gallery"})},[]),(0,l.useEffect)(()=>{"true"===u.query.unauthorized&&(h(!0),u.replace("/gallery",void 0,{shallow:!0}))},[u]);let{flipperFlags:g,subscriber:f}=i,{shouldShowSearchFromHomePage:p,enableCommunityChallenge:b,enableNsfwGallery:C,enableFlashSales:N,enableRelaxedGenerations:G}=null!=g?g:{};(0,_.B)(b);let S="".concat("https://api.cgdream.ai","/images/").concat(n,"?per_page=50&page=1");return r?(0,a.jsx)(k,{}):(0,a.jsxs)(w.Z,{className:x().container,title:"AI Image Gallery",userData:i,shouldRestorePreviousSettings:!0,enableNsfwGallery:C,enableFlashSales:N,enableRelaxedGenerations:G,isSubscriber:f,hideBodyTitle:!0,children:[(0,a.jsxs)(o(),{children:[(0,a.jsx)("link",{rel:"canonical",href:"https://cgdream.ai/gallery"}),(0,a.jsx)("meta",{name:"description",content:"CGDream's AI Image Gallery - a collection of stunning AI-generated artwork and visuals. Discover and download unique, high quality images for free."}),(0,a.jsx)("link",{rel:"preload",href:S,as:"fetch",crossOrigin:"true"})]},"gallery-head"),(0,a.jsx)(y.r,{endpoint:"/images",title:"AI Image Gallery",withSearch:!!p,withSorting:!0,withFilters:!0,withNsfwGallery:C,userData:i,gallerySortBy:n,withModelGenerationUi:!0,withSunsetBanner:!0}),(0,a.jsx)(SignupsClosedModal,{isOpen:d,onClose:()=>h(!1)})]})}},1566:function(e){e.exports={modalContainer:"style_modalContainer__ULxlR",modal:"style_modal__czk1e",closeBtn:"style_closeBtn___vvdv",title:"style_title__jOtRk",description:"style_description__6MbTh",continueButton:"style_continueButton__juPvw"}},6718:function(e){e.exports={container:"Home_container__B1VFq",title:"Home_title__CJM6I"}}},function(e){e.O(0,[5470,5675,1403,3229,7672,278,7892,2979,8,9774,2888,179],function(){return e(e.s=27236)}),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.