1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[306],{192:(e,i,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/actives/post",function(){return t(55038)}])},54672:(e,i,t)=>{"use strict";t.d(i,{A:()=>l});let l={src:"/_next/static/media/logo.4c5205f9.png",height:96,width:444,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAACCAMAAABSSm3fAAAAJ1BMVEV4ivaVu+5pcfuQru6InvCgz+Kq1eaNqux8jPSjyut+kPWs2uSLqe4aSJYrAAAADXRSTlNSOmVcRRtdfns1b5JHn2aeowAAAAlwSFlzAAALEwAACxMBAJqcGAAAABpJREFUeJxj4OZkZGbhYmBiYGNlZGfgYGACAALsAEZ4uCe7AAAAAElFTkSuQmCC",blurWidth:8,blurHeight:2}},4942:(e,i,t)=>{"use strict";t.d(i,{$:()=>r,m:()=>o});var l=t(84577),n=t(25505);function s(){let e=(0,l._)(["\n width: 100%;\n height: 100%;\n overflow: auto;\n box-sizing: border-box;\n"]);return s=function(){return e},e}function a(){let e=(0,l._)(["\n display: inline-flex;\n justify-content: center;\n align-items: center;\n height: 32px;\n padding: 0 9px;\n cursor: pointer;\n white-space: nowrap;\n box-sizing: border-box;\n background: linear-gradient(135deg, #bdf3e1 0%, #6266fe 100%);\n border-radius: 100px 100px 100px 100px;\n\n font-family: 'SanFranciscoDisplay';\n color: #080c19;\n font-size: 12px;\n line-height: 15px;\n font-weight: 600;\n"]);return a=function(){return e},e}let o=n.A.div(s()),r=n.A.div(a())},62609:(e,i,t)=>{"use strict";t.d(i,{A:()=>r});var l=t(74848),n=t(4942),s=t(54672),a=t(96540),o=t(75711);function r(e){let{onClick:i}=e,t=(0,a.useCallback)(()=>{(0,o.un)()?window.open("https://apps.apple.com/us/app/skira/id6748235182"):(0,o.m0)()?window.open("https://play.google.com/store/apps/details?id=com.artarch.skira"):window.open("https://skira.art/")},[]);return(0,l.jsxs)("div",{className:"flex items-center justify-between p-[16px] sticky top-0 left-0 right-0 z-[999]",style:{borderBottom:"1px solid rgba(244, 244, 244, 0.1)",backgroundColor:"#080C19"},children:[(0,l.jsx)("div",{onClick:i,children:(0,l.jsx)("img",{src:s.A.src,className:"h-[24px]",alt:"Skira"})}),(0,l.jsx)(n.$,{onClick:t,children:"Download Skira"})]})}},75711:(e,i,t)=>{"use strict";function l(){return/android/i.test(navigator.userAgent)}function n(){return/iphone|ipad|ipod/i.test(navigator.userAgent)}t.d(i,{m0:()=>l,un:()=>n,ve:()=>s});let s=e=>{let{android:i,ios:t}=e,l="https://onlink.skira.ai/actives"+window.location.href.split("/actives")[1];window.location.href=l}},55038:(e,i,t)=>{"use strict";t.r(i),t.d(i,{__N_SSP:()=>w,default:()=>_});var l=t(74848),n=t(96540),s=t(13368),a=t.n(s),o=t(35842),r=t(4942),d=t(62609),c=t(18892),x=t(74353),p=t.n(x);function u(e){var i,t,n,s;let{data:a,onClick:o}=e;return(0,l.jsxs)("div",{className:"flex gap-[8px]",children:[(0,l.jsx)("div",{className:"flex-shrink-0",children:(0,l.jsx)("img",{className:"w-[40px] h-[40px] rounded-full overflow-hidden",src:null===(i=a.reply_user_info)||void 0===i?void 0:i.avatar_url,alt:""})}),(0,l.jsxs)("div",{className:"flex-1",children:[(0,l.jsx)("p",{className:"opacity-60 mb-[8px] text-[14px] flex items-center gap-[4px]",children:null===(t=a.reply_user_info)||void 0===t?void 0:t.nick_name}),(0,l.jsx)("p",{className:"text-[14px]",children:a.content.text}),(null==a?void 0:null===(s=a.content)||void 0===s?void 0:null===(n=s.media)||void 0===n?void 0:n.length)>0&&a.content.media.map(e=>(0,l.jsx)("div",{className:"my-[8px]",onClick:o,children:(0,l.jsx)("img",{className:"w-[100px]",src:e.url,alt:""})},e.url)),(0,l.jsxs)("div",{className:"flex justify-between text-[12px]",children:[(0,l.jsxs)("span",{className:"flex items-center",children:[(0,l.jsx)("span",{className:"opacity-60 mr-[8px]",children:p()(a.create_ts).format("YYYY-MM-DD")}),(0,l.jsx)("span",{style:{background:"rgba(244, 244, 244, 0.1)",borderRadius:"100px",padding:"0px 8px"},onClick:o,children:"Reply"})]}),(0,l.jsxs)("span",{className:"flex items-center",onClick:o,children:[(0,l.jsx)("i",{className:"icon-like img-icon w-[16px] h-[16px] mx-[8px]"}),(0,c.rp)(a.like_count)]})]}),a.comment_count>0&&(0,l.jsxs)("div",{className:"flex items-center gap-[8px] w-full mt-[8px]",children:[(0,l.jsx)("div",{className:"border-b border-[rgba(240,248,255,0.1)] w-[40px]"}),(0,l.jsxs)("button",{className:"flex text-[16px] items-center text-[##F0F8FF] gap-[4px] opacity-60",onClick:o,children:["Expend all comments",(0,l.jsx)("i",{className:"icon-next text-[##F0F8FF] img-icon w-[10px] h-[10px] rotate-[-90deg]",style:{}})]})]})]})]})}var m=t(75320),v=t(75711),h=t(52965);let f={src:"/_next/static/media/no-message.8fecc578.svg"};function j(e){let{onClick:i}=e;return(0,l.jsxs)("div",{className:"text-[#F4F4F4] flex flex-col items-center justify-center py-[20px]",children:[(0,l.jsx)("i",{style:{display:"inline-block",width:150,height:110,backgroundImage:"url(".concat(f.src,")"),backgroundSize:"cover"}}),(0,l.jsx)("h2",{className:"text-[16px] font-semibold",children:"No Message"}),(0,l.jsx)("p",{className:"text-[12px] opacity-60",children:"There is no notification~"}),(0,l.jsx)("button",{onClick:i,className:"rounded-[30px] bg-[#EBECF1] text-[#080C19] mt-[10px] text-[15px] p-x-[8px] min-w-[80px] font-bold h-[30px] px-[8px] flex items-center justify-center",children:"Comment"})]})}var g=t(15018),b=t(77635);let k=e=>{var i,t,s;let a=null==e?void 0:e.data,x=null==e?void 0:e.comments;(0,n.useMemo)(()=>{var e,i,t,l,n;return null==a?void 0:null===(n=a.result_info)||void 0===n?void 0:null===(l=n.data)||void 0===l?void 0:null===(t=l.outputs)||void 0===t?void 0:null===(i=t[0])||void 0===i?void 0:null===(e=i.files)||void 0===e?void 0:e.video},[a]);let p=null==a?void 0:a.user_info,f=null==a?void 0:a.work_template_info,{confirmDialog:k}=(0,m.SC)(),N=(0,n.useCallback)(()=>{k("Open it in the Skira app").then(()=>{(0,v.ve)({android:"skiraai://post_detail?id=".concat(e.id),ios:"skiraai://post_detail?id=".concat(e.id)})})},[k,null==a?void 0:null===(s=a.info)||void 0===s?void 0:null===(t=s.files)||void 0===t?void 0:null===(i=t.video_url)||void 0===i?void 0:i.url]),[w,{height:_}]=(0,h.W_)(),[y,{height:A}]=(0,h.W_)(),C=(0,n.useMemo)(()=>!!A&&!!_&&A+65>2*_,[A,_]),F=(0,n.useMemo)(()=>A&&_?A<_?_-65:2*_-65:"auto",[A,_]),S=(0,n.useMemo)(()=>{var e,i,t,l,n,s,a,r,d;return(0,o.Tr)(null==f?void 0:null===(t=f.info)||void 0===t?void 0:null===(i=t.files)||void 0===i?void 0:null===(e=i.preview_url)||void 0===e?void 0:e.url)===o.zu.IMAGE?null==f?void 0:null===(d=f.info)||void 0===d?void 0:null===(r=d.files)||void 0===r?void 0:null===(a=r.preview_url)||void 0===a?void 0:a.url:null==f?void 0:null===(s=f.info)||void 0===s?void 0:null===(n=s.files)||void 0===n?void 0:null===(l=n.recommend_url)||void 0===l?void 0:l.url}
1,[f]),[E,B]=(0,n.useState)(!1);return((0,n.useEffect)(()=>{B(!0)},[]),E&&window.innerWidth>1e3)?(0,l.jsx)(g.default,{data:a,tplData:f,comments:x}):(0,l.jsxs)(r.m,{ref:w,children:[(0,l.jsx)(d.A,{onClick:N}),(0,l.jsxs)(r.$,{className:"fixed bottom-[100px] left-[16px] right-[16px] z-[500]",style:{height:"54px"},onClick:N,children:[(0,l.jsx)("i",{className:"img-icon icon-skira w-[28px] h-[28px] text-[#000]"}),(0,l.jsx)("span",{className:"font-semibold text-[18px] ml-[8px]",style:{color:"#06030E"},children:"Open Skira"})]}),(0,l.jsxs)("div",{style:{position:"relative",overflow:"hidden",height:F},children:[(0,l.jsxs)("div",{className:"relative",ref:y,style:{paddingBottom:"80px"},children:[(0,l.jsx)("div",{className:"flex-1 flex items-center justify-center overflow-hidden",style:{maxHeight:"60vh"},children:(0,l.jsx)(b.A,{work:a})}),(0,l.jsxs)("div",{className:"p-[16px]",style:{background:"#080C19",paddingBottom:"90px"},children:[(0,l.jsxs)("div",{className:"flex items-center gap-[8px] mb-[12px]",onClick:N,children:[(0,l.jsx)("img",{src:null==p?void 0:p.avatar_url,className:"w-[40px] h-[40px] rounded-full",alt:""}),(0,l.jsx)("span",{className:"flex-1 text-[15px]",onClick:N,children:null==p?void 0:p.nick_name}),(0,l.jsxs)("div",{className:"relative",children:[(0,l.jsx)("span",{className:"absolute z-0",style:{inset:"0",background:"linear-gradient(135deg, rgba(255, 255, 255, 0.4000000059604645), rgba(255, 255, 255, 0))",borderRadius:"16px",overflow:"hidden"}}),(0,l.jsx)("span",{className:"relative px-[8px] h-[28px] z-10 flex items-center",style:{margin:"1px",background:"#20242F",borderRadius:"16px"},onClick:N,children:"+ Follow"})]})]}),(0,l.jsx)("div",{className:"text-[15px] text-[#F0F8FF] mb-[8px]",children:null==a?void 0:a.title}),(null==a?void 0:a.topics)&&(0,l.jsx)("div",{className:"flex gap-[12px] mb-[8px] flex-wrap",children:(null==a?void 0:a.topics)&&(null==a?void 0:a.topics.map(e=>(0,l.jsxs)("span",{className:"text-[#B5BAFF]",onClick:N,children:["#",e.name]},e.id)))}),(0,l.jsxs)("div",{className:"flex p-[6px] gap-[8px] whitespace-nowrap items-center",style:{border:"1px solid rgba(255, 255, 255, 0.1)",borderRadius:"8px",background:"rgba(240,248,255,0.1)"},onClick:N,children:[(0,l.jsx)("div",{className:"flex-shrink-0",children:(0,l.jsx)("img",{src:S,className:"w-[40px] h-[40px] rounded-[8px] object-cover",alt:""})}),(0,l.jsx)("span",{children:"Most used"}),(0,l.jsx)("i",{className:"h-[12px] w-[1px] overflow-hidden",style:{background:"rgba(240, 248, 255, 0.50)"}}),(0,l.jsx)("span",{className:"font-semibold overflow-hidden text-ellipsis flex-1",children:null==f?void 0:f.name}),(0,l.jsxs)("span",{className:"flex items-center gap-[4px]",style:{color:"rgba(240, 248, 255, 0.5)"},onClick:N,children:[(0,l.jsx)("span",{children:"Take a look"}),(0,l.jsx)("i",{className:"img-icon icon-check w-[12px] h-[12px]"})]})]}),(0,l.jsxs)("div",{className:"flex flex-col mt-[16px]",children:[(0,l.jsx)("div",{className:"h-[1px] w-full bg-[#20242F] mb-[16px] overflow-hidden"}),(0,l.jsxs)("div",{className:"flex justify-between items-center mb-[12px]",children:[(0,l.jsx)("div",{className:"text-[15px] font-semibold",children:"Comment"}),(0,l.jsxs)("span",{className:"text-[14px] opacity-60",children:[(0,c.rp)(null==x?void 0:x.comment_count)," comments"]})]}),(null==x?void 0:x.comment_count)>0?(0,l.jsx)("div",{className:"flex flex-col gap-[8px] w-full",children:null==x?void 0:x.comment_arr.map(e=>(0,l.jsx)(u,{onClick:N,data:e},e.id))}):(0,l.jsx)(j,{onClick:N})]})]})]}),C&&(0,l.jsx)("div",{style:{position:"absolute",bottom:"30px",left:"0",right:"0",zIndex:10,height:"300px"},children:(0,l.jsx)("span",{onClick:N,className:"absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 text-[15px] text-[#B5BAFF]",children:"Expand all"})})]}),(0,l.jsxs)("div",{className:"fixed bottom-0 left-0 right-0 flex justify-between items-center py-[8px] px-[16px] z-[100]",style:{background:"#080C19",borderTop:"1px solid rgba(255, 255, 255, 0.1)",paddingBottom:"34px"},children:[(0,l.jsxs)("div",{className:"flex items-center gap-[20px]",children:[(0,l.jsxs)("span",{className:"flex items-center gap-[6px]",onClick:N,children:[(0,l.jsx)("i",{className:"img-icon icon-like2 w-[20px] h-[20px]"}),(0,l.jsx)("span",{className:"text-[15px]",children:(0,c.rp)(null==a?void 0:a.like_count)})]}),(0,l.jsxs)("span",{className:"flex items-center gap-[6px]",onClick:N,children:[(0,l.jsx)("i",{className:"img-icon icon-comment w-[20px] h-[20px]"}),(0,l.jsx)("span",{className:"text-[15px]",children:(0,c.rp)(null==x?void 0:x.comment_count)}
1)]}),(0,l.jsxs)("span",{className:"flex items-center gap-[6px]",onClick:N,children:[(0,l.jsx)("i",{className:"img-icon icon-share2 w-[20px] h-[20px]"}),(0,l.jsx)("span",{className:"text-[15px]",children:(0,c.rp)(null==a?void 0:a.share_count)})]})]}),(0,l.jsxs)(r.$,{onClick:N,style:{height:"40px"},children:[(0,l.jsx)("i",{className:"img-icon icon-remix3 w-[16px] h-[16px]"}),(0,l.jsx)("span",{className:"ml-[4px] text-[15px]",children:"Recreat"})]})]})]})},N=e=>{var i,t,n,s,o,r,d,c,x,p,u,v,h;return(0,l.jsxs)(m.Ay,{children:[(0,l.jsxs)(a(),{children:[(0,l.jsx)("title",{children:"".concat(null==e?void 0:null===(t=e.data)||void 0===t?void 0:null===(i=t.user_info)||void 0===i?void 0:i.nick_name,"'s Post")}),(0,l.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width"}),(0,l.jsx)("meta",{property:"al:ios:url",content:"skiraai://post_detail?id=".concat(e.id),"data-rh":"true"}),(0,l.jsx)("meta",{property:"al:ios:app_store_id",content:"6748235182","data-rh":"true"}),(0,l.jsx)("meta",{property:"al:ios:app_name",content:"Skira","data-rh":"true"}),(0,l.jsx)("meta",{property:"al:android:url",content:"skiraai://post_detail?id=".concat(e.id),"data-rh":"true"}),(0,l.jsx)("meta",{property:"al:android:package",content:"com.artarch.skira","data-rh":"true"}),(0,l.jsx)("meta",{property:"al:android:app_name",content:"Skira","data-rh":"true"}),(0,l.jsx)("meta",{property:"og:title",content:"".concat(null==e?void 0:null===(s=e.data)||void 0===s?void 0:null===(n=s.user_info)||void 0===n?void 0:n.nick_name,"'s Post"),"data-rh":"true"}),(0,l.jsx)("meta",{property:"og:description",content:"".concat(null==e?void 0:null===(o=e.data)||void 0===o?void 0:o.title," ").concat((null==e?void 0:null===(r=e.data)||void 0===r?void 0:r.topics)?null==e?void 0:null===(d=e.data)||void 0===d?void 0:d.topics.map(e=>"#".concat(e.name)).join(" "):""),"data-rh":"true"}),(0,l.jsx)("meta",{property:"og:type",content:"website","data-rh":"true"}),(0,l.jsx)("meta",{property:"og:image",content:null==e?void 0:null===(h=e.data)||void 0===h?void 0:null===(v=h.result_info)||void 0===v?void 0:null===(u=v.data)||void 0===u?void 0:null===(p=u.outputs)||void 0===p?void 0:null===(x=p[0])||void 0===x?void 0:null===(c=x.files)||void 0===c?void 0:c.thumbnail,"data-rh":"true"}),(0,l.jsx)("meta",{property:"og:site_name",content:"Skira","data-rh":"true"}),(0,l.jsx)("meta",{property:"fb:app_id",content:"711290248275813","data-rh":"true"})]}),(0,l.jsx)(k,{...e})]})};N.getLayout=function(e){return e};var w=!0;let _=N}},e=>{var i=i=>e(e.s=i);e.O(0,[5018,636,6593,8792],()=>i(192)),_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.