1/*! For license information please see [id]-4e34386448ac2577.js.LICENSE.txt */ 2(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6520],{15746:function(e,t,n){"use strict";var i=n(21584);t.Z=i.Z},71230:function(e,t,n){"use strict";var i=n(92820);t.Z=i.Z},99455:function(e,t,n){"use strict";n.d(t,{O:function(){return m}});var i=n(50029),r=n(16835),a=n(87794),l=n.n(a),s=n(67294),o=n(57132),c=n(16536),u=n(19521),d=n(25793),p=n.n(d),v=n(85893),f=u.ZP.span.withConfig({displayName:"CopyText__StyledCopyText",componentId:"sc-9qfw5u-0"})(["cursor:pointer;"]),m=function(e){var t=e.text,n=e.style,a=e.children,u=e.successCallback,d=e.dark,m=void 0===d||d,h=c.ZP.useMessage(),x=(0,r.Z)(h,2),_=x[0],g=x[1],y=(0,s.useCallback)((0,i.Z)(l().mark(function e(){var n;return l().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new Promise(function(e,n){try{var i=document.createElement("input");i.value=t,document.body.appendChild(i),i.select(),document.execCommand("copy")?e(!0):n(!1),i.remove()}catch(e){n(!1)}});case 2:n=e.sent,c.ZP.destroy(),n?(null==u||u(),_.open({type:"success",content:"å¤å¶æå",className:m?"":p().customMessage})):_.open({type:"error",content:"å¤å¶å¤±è´¥",className:m?"":p().customMessage});case 5:case"end":return e.stop()}},e)})),[t,u]);return(0,v.jsxs)(v.Fragment,{children:[g,(0,v.jsx)(f,{onClick:y,style:n,children:a||(0,v.jsx)(o.Z,{style:{marginLeft:8}})})]})}},32323:function(e,t,n){"use strict";n.d(t,{C:function(){return S}});var i=n(59499),r=n(50029),a=n(16835),l=n(87794),s=n.n(l),o=n(67294),c=n(77485),u=n(19521),d=n(25039),p=n(33524),v=n(50319),f=n(28325),m=n(72080),h=n(1146),x=n.n(h),_=n(16536),g=n(71230),y=n(15746),N=n(24016),j=n(94184),w=n.n(j),b=n(48108),I=n(85893),T=(0,u.ZP)(c.X).withConfig({displayName:"Complain__CustomMyModal",componentId:"sc-f1wg2b-0"})([".ant-modal-body{padding:16px 36px;}"]),S=function(e){var t=e.postId,n=(0,d.q)().validateIsLogin,l=(0,o.useState)(!1),c=l[0],u=l[1],h=(0,o.useState)(""),j=h[0],S=h[1],A=(0,o.useState)([]),C=A[0],P=A[1],O=(0,f.y)(p.dKz),k=(0,o.useState)(null),L=k[0],E=k[1],R=(0,v.D)(p.zSN),M=(0,a.Z)(R,2),W=M[0],Z=M[1].loading,q=(0,f.y)(p.bAV),F=(0,o.useState)(!1),D=F[0],V=F[1];(0,o.useEffect)(function(){if(!c)return E(null),void S("");O().then(function(e){var t,n,i=(null==e||null===(t=e.data)||void 0===t||null===(n=t.squareModule)||void 0===n?void 0:n.complaintTypeList)||[];P(i)}).catch(function(e){})},[c]);var U=function(){var e=(0,r.Z)(s().mark(function e(){var i,r,a,l,o;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(n()){e.next=2;break}return e.abrupt("return");case 2:if(t&&!D){e.next=4;break}return e.abrupt("return");case 4:return V(!0),i=!1,r="举æ¥åçä¸,请èå¿çå¾ ï½",e.prev=7,e.next=10,q({postId:t});case 10:o=e.sent,i=(null==o||null===(a=o.data)||void 0===a||null===(l=a.squareModule)||void 0===l?void 0:l.canComplaint)||!1,e.next=18;break;case 14:e.prev=14,e.t0=e.catch(7),r=(0,m.Pp)(e.t0)||r,i=!1;case 18:V(!1),i?u(!0):(_.ZP.destroy(),_.ZP.error(r));case 20:case"end":return e.stop()}},e,null,[[7,14]])}));return function(){return e.apply(this,arguments)}}(),Y=function(){var e=(0,r.Z)(s().mark(function e(){var n,i,r;return s().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return");case 2:if(!Z){e.next=4;break}return e.abrupt("return");case 4:if(_.ZP.destroy(),L||0===L){e.next=8;break}return _.ZP.error("è¯·éæ©ä¸¾æ¥ç±»å"),e.abrupt("return");case 8:return e.prev=8,e.next=11,W({variables:{param:{postId:t,reason:j,typeIndex:L,complaintReasonTemplate:0}}});case 11:null!=(r=e.sent)&&null!==(n=r.data)&&void 0!==n&&null!==(i=n.squareModule)&&void 0!==i&&i.succeed?(_.ZP.success("æäº¤æåï¼è¯·èå¿çå¾ ï½"),u(!1)):_.ZP.error("æäº¤å¤±è´¥ï¼è¯·ç¨ååè¯ï½"),e.next=19;break;case 15:e.prev=15,e.t0=e.catch(8),_.ZP.error("æäº¤å¤±è´¥ï¼è¯·ç¨ååè¯ï½");case 19:case"end":return e.stop()}},e,null,[[8,15]])}));return function(){return e.apply(this,arguments)}}();return(0,I.jsxs)(I.Fragment,{children:[(0,I.jsx)("span",{onClick:U,className:"cursor-pointer hover:text-primary transition-colors",children:"举æ¥"}),(0,I.jsxs)(T,{dark:!0,open:c,title:"è¯·éæ©ä¸¾æ¥ç±»å",onCancel:function(){return u(!1)},maskStyle:{backgroundColor:"rgba(0,0,0,0.8)"}
2,width:448,footer:null,transitionName:"",maskTransitionName:"",centered:!0,children:[!!C.length&&(0,I.jsx)(g.Z,{gutter:4,children:C.map(function(e,t){return(0,I.jsx)(y.Z,{span:8,children:(0,I.jsx)("div",{className:w()(x().tag,(0,i.Z)({},x().tagActive,L===t)),onClick:function(){E(t)},children:e})},t)})}),(0,I.jsx)("div",{className:"text-xs text-neutral-400 my-3",children:"å
·ä½åå "}),(0,I.jsx)("div",{className:x().inputArea,children:(0,I.jsx)(N.Z.TextArea,{maxLength:500,autoSize:{minRows:3},showCount:!0,placeholder:"请补å
举æ¥çç±ï¼éå¡«ï¼",value:j,onChange:function(e){return S(e.target.value)}})}),(0,I.jsxs)("div",{className:"flex justify-between mt-3",children:[(0,I.jsx)(b.I,{type:"default",$dark:!0,block:!0,size:"large",className:"!bg-neutral-200 !border-neutral-200",children:"åæ¶"}),(0,I.jsx)(b.I,{$dark:!0,type:"primary",block:!0,size:"large",className:"ml-4",onClick:Y,children:"确认举æ¥"})]})]})]})}},86264:function(e,t,n){"use strict";n.d(t,{l:function(){return f}});var i=n(16835),r=n(67294),a=n(81472),l=n(94184),s=n.n(l),o=n(42142),c=n(96486),u=n(41333),d=n.n(u),p=n(85893),v=function(e,t){var n=e.activeIndex,l=e.hasArrow,u=void 0!==l&&l,v=e.className,f=e.children,m=e.gutter,h=void 0===m?12:m,x=e.distanceCoefficient,_=void 0===x?.5:x,g=e.isUseDataKey,y=e.activeKey,N=e.setArriveRight,j=(0,r.useRef)(null),w=(0,r.useState)(!1),b=w[0],I=w[1],T=(0,r.useState)(!0),S=T[0],A=T[1],C=(0,r.useState)(0),P=C[0],O=C[1],k=(0,a.useSpring)(function(){return{scrollLeft:0,config:{tension:300,clamp:!0}}}),L=(0,i.Z)(k,2),E=L[0].scrollLeft,R=L[1],M=function(e,t,n){var i=e;return void 0!==t&&(i=Math.max(e,t)),void 0!==n&&(i=Math.min(i,n)),i},W=function(e){var t=j.current;if(t){var i=t.children.item(0);if(i){var r=g?Array.from(i.children).find(function(e){return Number(e.getAttribute("data-key"))===y}):i.children.item(n);if(r){var a=r.offsetLeft,l=r.offsetWidth,s=t.offsetWidth,o=t.scrollWidth,c=t.scrollLeft,u=o-s;null==N||N(!u);var d=Math.round((s+h)*_);if(!(u<=0))if("LEFT"===e){var p=M(c-d,0,u);R.start({scrollLeft:p,from:{scrollLeft:c}})}else if("RIGHT"===e){var v=M(c+d,0,u);R.start({scrollLeft:v,from:{scrollLeft:c}})}else{var f=M(a-(s-l)/2,0,u);null==N||N(f>=u),R.start({scrollLeft:f,from:{scrollLeft:c}})}}}}};return(0,r.useImperativeHandle)(t,function(){return{tabListContainerDom:j.current}}),(0,r.useEffect)(function(){var e=j.current;if(e){var t=e.offsetWidth,n=e.scrollWidth-t;P<=0?(I(!1),A(!0)):P>=n?(I(!0),A(!1)):(I(!0),A(!0))}},[P]),(0,r.useEffect)(function(){n>=0&&W()},[n]),(0,r.useEffect)(function(){W()},[y]),(0,p.jsxs)("div",{className:s()(d().autoScrollWrap,v),children:[(0,p.jsx)(a.animated.div,{className:d().autoScroll,ref:j,scrollLeft:E,onScroll:(0,c.debounce)(function(){if(u){var e=j.current;if(e){var t=e.scrollLeft;O(t)}}},300),children:f}),u&&(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("div",{className:s()(d().switchArrow,"prevButton",{disabled:!b}),onClick:function(){b&&W("LEFT")},children:(0,p.jsx)(o.M,{icon:"arrow-right-simple",className:"text-[32px] font-normal text-inherit"})}),(0,p.jsx)("div",{className:s()(d().switchArrow,"nextButton",{disabled:!S}),onClick:function(){S&&W("RIGHT")},children:(0,p.jsx)(o.M,{icon:"arrow-right-simple",className:"text-[32px] font-normal text-inherit"})})]})]})},f=(0,r.forwardRef)(v)},16482:function(e,t,n){"use strict";n.d(t,{S:function(){return d}});var i=n(59499),r=(n(67294),n(83087)),a=n(94184),l=n.n(a),s=n(22608),o=n(85893);function c(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function u(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(Object(n),!0).forEach(function(t){(0,i.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var d=function(e){var t=e.image,n=e.size,i=e.className,a=e.style,c=e.hiddenIcon,d=void 0!==c&&c,p=e.isVip,v=e.iconClassName;return(0,o.jsxs)("div",{style:u({height:n,width:n},a),className:l()("relative",i),children:[(0,o.jsx)(r.V,{className:"w-full h-full rounded-[50%]",src:t,tag:"v400",dark:!0,alt:""}),!d&&p&&(0,o.jsx)("div",{className:l()("absolute -bottom-[2px] -right-[3px] w-4 h-4",v),children:(0,o.jsx)(s.M,{className:"w-full h-full",src:"/images/icons/vip-icon.svg"})})]})}},76355:function(e,t,n){"use strict";n.d(t,{j:function(){return j}});var i=n(50029),r=n(16835),a=n(87794),l=n.n(a),s=n(50319),o=n(16536),c=n(11163),u=n.n(c),d=n(67294),p=n(59048),v=n(33524),f=n(79820),m=n(72080),h=n(4194),x=n(76711),_=n(56753),g=n(25039),y=n(52043),N=n(62368),j=function(e,t){var n,a,j,w,b,I,T=(0,s.D)(v.xxv),S=(0,r.Z)(T,1)[0],A=(0,s.D)(v.WhI),C=(0,r.Z)(A,1)[0],P=(0,s.D)(v.op1),O=(0,r.Z)(P,1)[0],k=(0,g.q)().validateIsLogin,L=(0,N.P)().vipModal,E=(0,y.Y)(),R=E.IsNotEnough,M=E.intergalModal,W=(0,x.B)().validMjCreate,Z=(0,c.useRouter)(),q=(0,d.useState)((null==e||null===(n=e.itemSocialInfo)||void 0===n||null===(a=n.status)||void 0===a?void 0:a.liked)||!1),F=q[0],D=q[1],V=(0,d.useState)((null==e||null===(j=e.itemSocialInfo)||void 0===j||null===(w=j.status)||void 0===w?void 0:w.collected)||!1),U=V[0],Y=V[1],B=(0,d.useState)((null==e||null===(b=e.itemSocialInfo)||void 0===b?void 0:b.likesCount)||0),z=B[0],K=B[1],X=(0,d.useState)((null==e||null===(I=e.itemSocialInfo)||void 0===I?void 0:I.collectsCount)||0),H=X[0],G=X[1],Q=(0,_.m)().store,J=(0,d.useMemo)(function(){var t,n,i,r,a;if((null===(t=Q.userinfo)||void 0===t||null===(n=t.base)||void 0===n?void 0:n.uid)===(null==e||null===(i=e.user)||void 0===i?void 0:i.uid))return!0;var l,s=null==e||null===(r=e.user)||void 0===r||null===(a=r.social)||void 0===a?void 0:a.followStatus;return(null==e?void 0:e.visibleType)===f.VisibleType.ONLY_FANS?s===f.FollowStatus.ME_ONE_WAY||s===f.FollowStatus.TWO_WAY:(null==e?void 0:e.visibleType)===f.VisibleType.ONLY_FOLLOW_EACH_OTHER?s===f.FollowStatus.TWO_WAY:(null==e?void 0:e.visibleType)!==f.VisibleType.ONLY_VOTED||!(null!=e&&null!==(l=e.aiArtworkInfo)&&void 0!==l&&l.hiddenBaseInfo)},[e,Q.userinfo]),$=(0,d.useMemo)(function(){var t,n,i,r,a;if((null===(t=Q.userinfo)||void 0===t||null===(n=t.base)||void 0===n?void 0:n.uid)===(null==e||null===(i=e.user)||void 0===i?void 0:i.uid))return!0;var l=null==e||null===(r=e.user)||void 0===r||null===(a=r.social)||void 0===a?void 0:a.followStatus;return(null==e?void 0:e.visibleType)===f.VisibleType.ONLY_FANS||((null==e?void 0:e.visibleType)===f.VisibleType.ONLY_FOLLOW_EACH_OTHER?l===f.FollowStatus.TWO_WAY:(null==e||e.visibleType,f.VisibleType.ONLY_VOTED,!0))},[e,Q.userinfo]),ee=function(){var n=(0,i.Z)(l().mark(function n(i){var r,a,s,c,u,d,v,h,x,_,g;return l().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return r=i.sameType,a=i.pictureSameModel,s=i.imageId,c=i.sameTypeName,n.prev=1,n.next=4,O({variables:{param:{postId:e.id,sameType:r,pictureSameModel:a,imageId:s}}});case 4:x=n.sent,null==t||null===(u=t.sameAgainSuccess)||void 0===u||u.call(t),(null===(d=e.imageList)||void 0===d||null===(v=d[0].aiArtwork)||void 0===v?void 0:v.serviceType)===f.AiArtworkServiceTypeGraphQLEnum.PROFESSIONAL?window.open("".concat("https://www.wujieai.net","/ai/task")):(null==e||null===(h=e.aiArtworkInfo)||void 0===h?void 0:h.model)===f.AiCreateArtworkModel.MIDJOURNEY?((0,m.nP)({key:"/ai/mine",value:{path:"/ai/mine",scrollTop:0,pageSize:p.IV}}),Z.push("/ai/mine")):Z.push("/ai/".concat(null==x||null===(_=x.data)||void 0===_||null===(g=_.squareModule)||void 0===g?void 0:g.aiArtworkId,"?visibleType=").concat(null==e?void 0:e.visibleType)),n.next=15;break;case 9:if(n.prev=9,n.t0=n.catch(1),20111001!==(0,m.SZ)(n.t0)){n.next=14;break}return L("æ¤ä½åç±VIP模åçæï¼ä»
éVIPä¼åä¸äº«ä½¿ç¨"),n.abrupt("return");case 14:R(n.t0)?M():(o.ZP.destroy(),o.ZP.error((0,m.Pp)(n.t0)||c+"æä½å¤±è´¥ï¼è¯·ç¨ååè¯~"));case 15:case"end":return n.stop()}},n,null,[[1,9]])}));return function(e){return n.apply(this,arguments)}}(),te=(0,h.N)(function(){var t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{sameType:f.AiArtworkSameType.CREATE_LIKEWISE,sameTypeName:"ä¸é®å款"};k()&&W({model:null==e||null===(t=e.aiArtworkInfo)||void 0===t?void 0:t.model,selectModel:n.selectModel,isSameType:!0,onConfirm:function(){ee(n)}})},[e]);return{liked:F,likeCount:z,handleLike:function(){if(k()){var n=e.postScope===f.SquarePostScope.INSIDE?f.AffectedType.AI_ARTWORK:f.AffectedType.EXTERNAL_AI_ARTWORK;e.type===f.SquarePostType.NOTE?n=f.AffectedType.NOTE:e.type===f.SquarePostType.AI_COLLECTION?n=f.AffectedType.AI_COLLECTION:e.type===f.SquarePostType.AI_COMIC&&(n=f.AffectedType.AI_COMIC);try{var i;S({variables:{input:{actionType:F?f.ActionType.CANCEL:f.ActionType.CONFIRM,affectedType:n,id:e.id,viewType:f.SocialViewType.SQUARE}}}
2),K(F?z-1:z+1),D(!F),null==t||null===(i=t.onActionComplete)||void 0===i||i.call(t,{type:"liked",id:e.id})}catch(e){}}},faved:U,favCount:H,handleFav:function(){if(k()){var n=e.postScope===f.SquarePostScope.INSIDE?f.AffectedType.AI_ARTWORK:f.AffectedType.EXTERNAL_AI_ARTWORK;e.type===f.SquarePostType.NOTE?n=f.AffectedType.NOTE:e.type===f.SquarePostType.AI_COLLECTION?n=f.AffectedType.AI_COLLECTION:e.type===f.SquarePostType.AI_COMIC&&(n=f.AffectedType.AI_COMIC);try{var i;C({variables:{input:{actionType:U?f.ActionType.CANCEL:f.ActionType.CONFIRM,affectedType:n,id:e.id,viewType:f.SocialViewType.SQUARE}}}),G(U?H-1:H+1),Y(!U),null==t||null===(i=t.onActionComplete)||void 0===i||i.call(t,{type:"fav",id:e.id})}catch(e){}}},handleSearch:function(){var t;u().push({pathname:"/",query:{image:null===(t=e.coverImage)||void 0===t?void 0:t.imageUrl}})},handleSameAgain:te,showSameAgain:$,canSameAgain:J}}},22425:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return X},default:function(){return H}});var i=n(59499),r=n(16835),a=n(11163),l=n(67294),s=n(33524),o=n(79820),c=n(28325),u=n(51441),d=n(40548),p=n(98113),v=n(90618),f=n(99572),m=n(42142),h=n(94184),x=n.n(h),_=n(90063),g=n(40961),y=n.n(g),N=n(40945),j=n(50319),w=n(30719),b=n(41664),I=n.n(b),T=n(88116),S=(n(95867),n(27952),n(9919),n(83210)),A=n.n(S),C=n(72080),P=n(86264),O=n(97756),k=n.n(O),L=n(85893),E=function(e){var t=e.images,n=l.useState(0),i=(0,r.Z)(n,2),a=i[0],s=i[1],o=(0,w.oc)();return o.on("slideChange",function(e){s(e.realIndex)}),(0,L.jsx)(P.l,{activeIndex:a,className:"my-6",children:(0,L.jsx)("div",{className:"flex justify-start items-center mx-auto",children:t.map(function(e,t){return(0,L.jsx)("div",{className:x()(k().navigation,"flex-shrink-0",{active:a===t}),onClick:function(){o.slideToLoop(t)},children:(0,L.jsx)("img",{className:"!rounded-[8px] overflow-hidden object-cover",src:(0,C.dY)(e.imageUrl),alt:""})},e.imageUrl)})})})},R=n(11976),M=n.n(R),W=n(65399),Z=n.n(W),q=function(e){var t=e.id,n=e.title,i=(0,a.useRouter)();return t?(0,L.jsxs)("div",{className:Z().relation,onClick:function(e){e.stopPropagation(),i.push("/plaza/".concat(t))},children:[(0,L.jsx)(m.M,{icon:"image1"}),(0,L.jsx)("div",{className:Z().text,children:n})]}):null},F=function(e){var t=e.previewImages,n=e.autoplay,r=void 0!==n&&n;(0,a.useRouter)();return(0,L.jsx)(L.Fragment,{children:(0,L.jsxs)(w.tq,{className:x()(M().swiper,(0,i.Z)({},M().imageSwiperNoNav,t.length<=1)),loop:!1,lazy:!1,autoplay:r,children:[t.map(function(e){var t,n,i,r,a,l;return(0,L.jsx)(w.o5,{className:M().imageWrap,children:(0,L.jsxs)("div",{className:"relative",children:[(0,L.jsx)("img",{src:e.sourceType===o.PostImageSourceType.AI_LAB_SVD_GIF?e.imageUrl:(0,C.Xq)(e.imageUrl),alt:"",className:"max-h-[500px]"}),(0,L.jsx)(q,{title:null==e||null===(t=e.aiArtwork)||void 0===t||null===(n=t.extend)||void 0===n||null===(i=n.squarePost)||void 0===i?void 0:i.title,id:null==e||null===(r=e.aiArtwork)||void 0===r||null===(a=r.extend)||void 0===a||null===(l=a.squarePost)||void 0===l?void 0:l.id})]})},e.imageUrl)}),t.length>1&&(0,L.jsx)(E,{images:t})]})})},D=n(32323),V=function(e){var t=e.noteImage,n=null==t?void 0:t.length,i={clickable:!0,renderBullet:function(e,t){return"<div class='".concat(t+" "+A().bullet,"'></div>")}};return n?(0,L.jsx)(w.tq,{modules:[T.tl,T.W_],navigation:!0,pagination:n>1&&i,className:A().fullImageSwiper,children:null==t?void 0:t.map(function(e,t){var n,i,r,a,l,s;return(0,L.jsx)(w.o5,{className:A().fullImageSwiperItem,children:(0,L.jsxs)("div",{className:"relative",children:[(0,L.jsx)("img",{src:e.sourceType===o.PostImageSourceType.AI_LAB_SVD_GIF?e.imageUrl:(0,C.Xq)(e.imageUrl),alt:"",className:"w-full h-full"}),(0,L.jsx)(q,{title:null==e||null===(n=e.aiArtwork)||void 0===n||null===(i=n.extend)||void 0===i||null===(r=i.squarePost)||void 0===r?void 0:r.title,id:null==e||null===(a=e.aiArtwork)||void 0===a||null===(l=a.extend)||void 0===l||null===(s=l.squarePost)||void 0===s?void 0:s.id})]})},t)})}):null},U=function(e){var t=e.onPartChange,n=(0,w.oc)(),i=(0,l.useState)(0),r=(i[0],i[1]);(0,l.useEffect)(function(){var e=function(e){r(e.activeIndex),t(e.activeIndex)};return t(0),n.on("slideChange",e),function(){n.off("slideChange",e)}},[]);return(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)("div",{className:x()(A().switchArrow,"prevButton"),onClick:function(){n.slidePrev()},children:(0,L.jsx)(m.M,{icon:"arrow-right-simple",className:"text-[40px] font-normal text-inherit"})}),(0,L.jsx)("div",{className:x()(A().switchArrow,"nextButton"),onClick:function(){n.slideNext()},children:(0,L.jsx)(m.M,{icon:"arrow-right-simple",className:"text-[40px] font-normal text-inherit"})}),(0,L.jsx)("div",{className:A().swiperMask})]})},Y=function(e){var t=e.post,n=e.parts,i=e.postRelatonSource,r=e.isPartRead,a=e.onPartChange,l=(null==t?void 0:t.updateTime)&&(null==t?void 0:t.updateTime)!==(null==t?void 0:t.publishTime);return(0,L.jsx)("div",{className:A().partItem,children:r?(0,L.jsxs)(w.tq,{className:A().swiper,children:[null==n?void 0:n.map(function(e,n){return(0,L.jsxs)(w.o5,{className:A().swiperItem,children:[(0,L.jsx)("div",{className:A().itemLeft,children:(0,L.jsx)(F,{autoplay:!1,previewImages:e.noteImage})}),(0,L.jsxs)("div",{className:x()("scrollbar-hidden",A().itemRight),children:[(0,L.jsxs)("div",{className:x()("scrollbar-hidden",A().itemRightTop),children:[(0,L.jsx)("div",{className:"text-[24px] leading-[32px] mb-[16px] text-neutral-800 font-semibold break-words",children:null==t?void 0:t.t
2itle}),(0,L.jsx)("div",{className:A().partContent,children:e.content})]}),(0,L.jsxs)("div",{className:A().itemRightBot,children:[(0,L.jsx)("div",{className:x()("scrollbar-hidden",A().listWrap),children:null==i?void 0:i.map(function(e,t){var n,i;return(0,L.jsxs)(I(),{className:A().listItem,target:"_blank",href:"".concat("https://www.wujieai.com","/plaza/").concat(null==e?void 0:e.id),children:[(0,L.jsx)("div",{className:A().listItemLeft,children:(null==e||null===(n=e.coverImage)||void 0===n?void 0:n.imageUrl)&&(0,L.jsx)("img",{src:(0,C.dY)(null===(i=e.coverImage)||void 0===i?void 0:i.imageUrl),alt:""})}),(0,L.jsxs)("div",{className:A().listItemRight,children:[(0,L.jsx)("h3",{children:null==e?void 0:e.title}),(0,L.jsxs)("div",{className:A().desc,children:["è¢«åæ¬¾ ",null==e?void 0:e.sameCount," 次"]})]})]},t)})}),(0,L.jsxs)("div",{className:"flex justify-between mt-4 text-neutral-400 text-xs",children:[(0,L.jsx)("div",{children:l?"ç¼è¾äº ".concat((0,C.IM)(null==t?void 0:t.updateTime)):(0,C.IM)(null==t?void 0:t.publishTime)}),(0,L.jsx)(D.C,{postId:null==t?void 0:t.id})]})]})]})]},n)}),(null==n?void 0:n.length)>1&&(0,L.jsx)(U,{onPartChange:a})]}):(0,L.jsxs)("div",{className:A().fullRead,children:[null==n?void 0:n.map(function(e,t){return(0,L.jsxs)("div",{children:[n.length>1&&(0,L.jsxs)("div",{className:A().partIndex,children:[(0,L.jsx)("span",{children:"ç« è"}),(0,L.jsx)("strong",{children:t+1}),"/",n.length]}),(0,L.jsx)(V,{noteImage:e.noteImage}),(0,L.jsx)("div",{className:A().fullContent,children:e.content})]},t)}),(0,L.jsxs)("div",{className:"flex justify-between mt-4 text-neutral-400 text-xs",children:[(0,L.jsx)("div",{children:l?"ç¼è¾äº ".concat((0,C.IM)(null==t?void 0:t.updateTime)):(0,C.IM)(null==t?void 0:t.publishTime)}),(0,L.jsx)(D.C,{postId:null==t?void 0:t.id})]}),(0,L.jsx)("div",{className:x()("scrollbar-hidden",A().listWrap,A().fullReadListWrap),children:null==i?void 0:i.map(function(e,t){var n,i;return(0,L.jsxs)(I(),{className:A().listItem,target:"_blank",href:"".concat("https://www.wujieai.com","/plaza/").concat(null==e?void 0:e.id),children:[(0,L.jsx)("div",{className:A().listItemLeft,children:(null==e||null===(n=e.coverImage)||void 0===n?void 0:n.imageUrl)&&(0,L.jsx)("img",{src:(0,C.dY)(null===(i=e.coverImage)||void 0===i?void 0:i.imageUrl),alt:""})}),(0,L.jsxs)("div",{className:A().listItemRight,children:[(0,L.jsx)("h3",{children:null==e?void 0:e.title}),(0,L.jsxs)("div",{className:A().desc,children:["è¢«åæ¬¾ ",null==e?void 0:e.sameCount," 次"]})]})]},t)})})]})})}
2,B=n(50650),z=n(90390);function K(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}var X=!0,H=function(e){var t,n,h,g,w,b,I=e.post,T=(0,a.useRouter)(),S=(0,l.useRef)(!1),A=(null==I||null===(t=I.squareNoteContent)||void 0===t?void 0:t.noteParagraph)||[],C=(null==I||null===(n=I.postRelatonSource)||void 0===n?void 0:n.relationPost)||[],P=(0,l.useState)(I),O=P[0],k=P[1],E=(0,c.y)(s.OYm),R=(0,j.D)(s.uPL),M=(0,r.Z)(R,1)[0],W=(0,l.useState)(null==O||null===(h=O.user)||void 0===h||null===(g=h.social)||void 0===g?void 0:g.followStatus),Z=W[0],q=W[1],F=(0,l.useState)("full"),D=F[0],V=F[1],U="partRead"===D,X=(0,l.useState)(0),H=X[0],G=X[1],Q=(0,l.useState)(!1),J=Q[0],$=Q[1],ee=(0,l.useState)(!1)[0],te=Number(T.query.id),ne=null===(w=T.query)||void 0===w?void 0:w.param,ie=Number(T.query.offset)||0,re=(0,l.useMemo)(function(){return{onlyText:A.some(function(e){var t;return!(null!==(t=e.noteImage)&&void 0!==t&&t.length)})}},[A]).onlyText;(0,_.D)(function(){S.current=!0;var e={};try{var t=JSON.parse(ne);e={offset:ie||0,turnPageParam:t}}catch(e){}E(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(Object(n),!0).forEach(function(t){(0,i.Z)(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({id:te},e)).then(function(e){var t;k(null===(t=e.data.squareModule)||void 0===t?void 0:t.squarePost)}).finally(function(){S.current=!1})},[Z,te]),(0,l.useEffect)(function(){try{M({variables:{input:{actionType:o.ActionType.CONFIRM,affectedType:o.AffectedType.NOTE,id:te,viewType:o.SocialViewType.SQUARE}}})}catch(e){}},[]),(0,l.useEffect)(function(){var e=function(){$(window.innerWidth<1424)};return e(),window.addEventListener("resize",e),function(){window.removeEventListener("resize",e)}},[]),(0,l.useEffect)(function(){document.documentElement.className="scrollbar-hidden",document.body.className=y().body},[]);return(0,L.jsx)(L.Fragment,{children:(0,L.jsxs)(d.A,{headerType:"no-margin",footerClassName:x()(y().pageFooter,(0,i.Z)({},y().pageFooterFixed,ee)),children:[(0,L.jsx)(N.R,{title:null==O?void 0:O.title}),(0,L.jsx)(p.p,{className:y().myContainer,children:(0,L.jsxs)("div",{className:x()("flex justify-between items-stretch relative",y().contentWrap),children:[(0,L.jsx)("div",{className:"flex-auto relative overflow-hidden",style:{background:"linear-gradient(90deg, #141416 0%, #1E1F21 100%)"},children:(0,L.jsxs)("div",{className:x()((0,i.Z)({},y().fullContent,!U)),children:[(0,L.jsxs)("div",{className:y().header,children:[(0,L.jsxs)("div",{className:y().headerLeft,children:[(0,L.jsx)("div",{className:y().backBtn,onClick:function(){T.back()},children:(0,L.jsx)(m.M,{icon:"back"})}),U?(0,L.jsxs)("div",{className:y().partIndex,children:[(0,L.jsx)("span",{children:"ç« è"}),(0,L.jsx)("strong",{children:H+1}),"/",null==A?void 0:A.length]}):(0,L.jsx)("div",{className:"text-base text-neutral-800 font-semibold break-words",children:null==O?void 0:O.title})]}),!re&&(0,L.jsx)("div",{className:y().headerRight,onClick:function(){V("full"===D?"partRead":"full")},children:(0,L.jsx)("span",{children:U?"ç«çé
读":"横çé
读"})})]}),(0,L.jsx)("div",{className:y().partsWrap,children:(0,L.jsx)(Y,{parts:A,postRelatonSource:C,isPartRead:U,post:O,onPartChange:function(e){G(e)}})})]})}),(0,L.jsx)("div",{className:x()("relative pb-2",y().leftWrap),children:(0,L.jsxs)("div",{className:x()("scrollbar-hidden",y().leftContent),style:{right:J?0:"unset"},children:[(0,L.jsx)(v.Z,{post:O,setPost:k,followStatus:Z,onFollowChange:q,type:"note"}),(0,L.jsx)(u.e,{space:16,dark:!0}),(0,L.jsxs)(z._,{authorId:null==O||null===(b=O.user)||void 0===b?void 0:b.uid,children:[(0,L.jsx)(B.Z,{data:O}),(0,L.jsx)(f.H,{post:O},null==O?void 0:O.id)]})]})})]})})]})})}},42144:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/note/[id]",function(){return n(22425)}])},25793:function(e){e.exports={customMessage:"CopyText_customMessage__jtrUt"}},83210:function(e){e.exports={swiper:"NoteParts_swiper__97MlF",swiperMask:"NoteParts_swiperMask__Ez8q5",swiperItem:"NoteParts_swiperItem__IVvJD",itemLeft:"NoteParts_itemLeft__aeka6",partContent:"NoteParts_partContent___WlKp",itemRight:"NoteParts_itemRight__EF1eK",itemRightTop:"NoteParts_itemRightTop__SBl9f",itemRightBot:"NoteParts_itemRightBot__e9ivB",switchArrow:"NoteParts_switchArrow__AAE1N",listWrap:"NoteParts_listWrap__ks4uc",fullReadListWrap:"NoteParts_fullReadListWrap__2QuLJ",listItem:"NoteParts_listItem__Qlsdf",listItemLeft:"NoteParts_listItemLeft__5_NFg",listItemRight:"NoteParts_listItemRight__9jye7",desc:"NoteParts_desc__Ue3JD",partIndex:"NoteParts_partIndex__Mbmqy",fullImageSwiper:"NoteParts_fullImageSwiper__8K7uY",bullet:"NoteParts_bullet__hnmH8",fullImageSwiperItem:"NoteParts_fullImageSwiperItem__yPTPu",fullContent:"NoteParts_fullContent__Ckq3g"}},97756:function(e){e.exports={navigation:"Navigation_navigation__EyQYX"}},11976:function(e){e.exports={swiper:"imageViewer_swiper__xE9o3",imageSwiperNoNav:"imageViewer_imageSwiperNoNav__iWims",imageWrap:"imageViewer_imageWrap__9IxbO"}},65399:function(e){e.exports={relation:"relationToPlaza_relation__8qLmX",text:"relationToPlaza_text__Y_jO5"}},1146:function(e){e.exports={tag:"Complain_tag__1VVB8",tagActive:"Complain_tagActive__0vpgM",inputArea:"Complain_inputArea__UhVvV"}},41333:function(e){e.exports={autoScrollWrap:"AutoScroll_autoScrollWrap__WisFB",switchArrow:"AutoScroll_switchArrow__blOiA",autoScroll:"AutoScroll_autoScroll__4VERb"}},40961:function(e){e.exports={body:"_id__body__kRYPD",myContainer:"_id__myContainer__zDP7E",contentWrap:"_id__contentWrap__ADqTG",header:"_id__header__Rcf5E",headerLeft:"_id__headerLeft__7PFk6",backBtn:"_id__backBtn__L4DRM",headerRight:"_id__headerRight__6rSkg",partIndex:"_id__partIndex__2hbNK",fullContent:"_id__fullContent__G66fI",leftWrap:"_id__leftWrap__ipiWp",leftContent:"_id__leftContent__jawRv",pageFooter:"_id__pageFooter__a5XDm"}},9919:function(){}},function(e){e.O(0,[3158,1664,1577,1770,1980,6500,7825,1472,8255,8738,6613,5790,452,1758,618,9774,2888,179],function(){return t=42144,e(e.s=t);var t});var t=e.O();_N_E=t}]);
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.