PageSourceSearch

https://static.finda.co.kr/common-web/4.038.10/_next/static/chunks/720-64e5cd79437ca5a0.js

js finda.co.kr collected 2026-10-02 03:28:10 UTC 30,094 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[720],{613:(e,t,n)=>{n.d(t,{A:()=>r});var l=n(88233);let r=e=>(0,l.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",...e,children:(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.11612 13.3839C3.62796 12.8957 3.62796 12.1043 4.11612 11.6161L9.11612 6.61612C9.60427 6.12796 10.3957 6.12796 10.8839 6.61612L15.8839 11.6161C16.372 12.1043 16.372 12.8957 15.8839 13.3839C15.3957 13.872 14.6043 13.872 14.1161 13.3839L10 9.26777L5.88388 13.3839C5.39573 13.872 4.60427 13.872 4.11612 13.3839Z",fill:"black"})})},2614:(e,t,n)=>{n.d(t,{Y:()=>a});var l=n(51733),r=n(53084);function a(e){let t=(0,l.useRef)(e);return(0,r.E)(()=>{t.current=e},[e]),t}},4250:(e,t,n)=>{function l(e){var t,n,l;return!!(null!=(l=null==(t=(n=document).queryCommandSupported)?void 0:t.call(n,"copy"))&&l)&&(function(e){let t=document.body,n=document.createElement("textArea");if(n.value=e,n.contentEditable="true",n.readOnly=!1,n.style.userSelect="text",n.style.webkitUserSelect="text",t.insertBefore(n,t.firstChild),null!=navigator.userAgent.match(/ipad|iphone/i)){let e=document.createRange();e.selectNodeContents(n);let t=window.getSelection();null!==t&&(t.removeAllRanges(),t.addRange(e)),n.setSelectionRange(0,999999)}else n.select();document.execCommand("copy"),t.removeChild(n)}(e),!0)}n.d(t,{N:()=>r});let r={writeText:async function(e){if(/MSIE|Trident/i.test(window.navigator.userAgent)||null===navigator.clipboard&&void 0===navigator.clipboard)return l(e);try{return await navigator.clipboard.writeText(e),!0}catch(t){return l(e)}}}},15151:(e,t,n)=>{n.d(t,{u:()=>l});let l=()=>globalThis.window?globalThis.window.__USER_DATA__?"APP":"WEB":"SERVER"},35048:(e,t,n)=>{n.d(t,{M:()=>a});var l=n(51733),r=n(2614);function a(e,t,n,a){let i=function(e){let t=(0,r.Y)(e);return(0,l.useCallback)(function(){for(var e,n=arguments.length,l=Array(n),r=0;r<n;r++)l[r]=arguments[r];return null==(e=t.current)?void 0:e.call(t,...l)},[t])}(n);(0,l.useEffect)(()=>{var n,l;let r=null!==(l=n=e())&&"object"==typeof l&&Object.prototype.hasOwnProperty.call(l,"current")?n.current:n;return null==r||r.addEventListener(t,i,a),()=>{null==r||r.removeEventListener(t,i,a)}},[t,e,a,i,n])}},39713:(e,t,n)=>{n.d(t,{Dy:()=>h,EQ:()=>f,QW:()=>c,bR:()=>s,ff:()=>x,ge:()=>o,hj:()=>d,hy:()=>m,pX:()=>p,xL:()=>r});var l=n(58223);let r={ATTEND_DAILY:"attend_daily",RANDOM_POINT:"random_point",POINT_DETAIL:"point_detail",CREDIT_MAIN:"credit_main",FINPOST_ALARM:"finpost_alarm"},a={LAST_SHOWN_AT:"MSD_LAST_SHOWN_AT",LAST_SHOWN_DATE:"MSD_LAST_SHOWN_DATE",SHOWN_COUNT:"MSD_SHOWN_COUNT",CTA_CLICKED:"MSD_CTA_CLICKED",FINPOST_SHOWN_AT:"MSD_FINPOST_SHOWN_AT",FINPOST_DECLINED_AT:"MSD_FINPOST_DECLINED_AT"},i=e=>"".concat(a.SHOWN_COUNT,"_").concat(e);function o(e){if("true"===localStorage.getItem(a.CTA_CLICKED)||Number(localStorage.getItem(a.SHOWN_COUNT)||0)>=5||Number(localStorage.getItem(i(e))||0)>=3||localStorage.getItem(a.LAST_SHOWN_DATE)===(0,l.A)().format("YYYY-MM-DD"))return!1;let t=localStorage.getItem(a.LAST_SHOWN_AT);return!(t&&7>(0,l.A)().diff((0,l.A)(Number(t)),"day"))}function s(e){let t=Number(localStorage.getItem(a.SHOWN_COUNT)||0);localStorage.setItem(a.SHOWN_COUNT,String(t+1));let n=Number(localStorage.getItem(i(e))||0);localStorage.setItem(i(e),String(n+1)),localStorage.setItem(a.LAST_SHOWN_DATE,(0,l.A)().format("YYYY-MM-DD"))}function c(){localStorage.setItem(a.LAST_SHOWN_AT,String(Date.now()))}function d(){localStorage.setItem(a.CTA_CLICKED,"true")}let u="MSD_REWARD_PENDING";function p(e){localStorage.setItem(u,JSON.stringify({location:e,expireAt:Date.now()+6e4}))}function x(){let e=localStorage.getItem(u);if(!e)return null;localStorage.removeItem(u);try{let t=JSON.parse(e);if(!t.location||"number"==typeof t.expireAt&&Date.now()>t.expireAt)return null;return t.location}catch(e){return null}}function m(){if("true"===localStorage.getItem(a.CTA_CLICKED)||localStorage.getItem(a.FINPOST_SHOWN_AT))return!1;let e=localStorage.getItem(a.FINPOST_DECLINED_AT);return!(e&&7>(0,l.A)().diff((0,l.A)(Number(e)),"day"))}function f(){localStorage.setItem(a.FINPOST_SHOWN_AT,String(Date.now()))}function h(){localStorage.setItem(a.FINPOST_DECLINED_AT,String(Date.now()))}},40720:(e,t,n)=>{n.d(t,{V:()=>eh,I:()=>h});var l=n(88233),r=n(51733),a=n(12584),i=n.n(a),o=n(68393),s=n(77221),c=n(85478),d=n.n(c),u=n(41907),p=n(613),x=n(99808),m=n(68604),f=n(92204);let h=e=>{var t,n;let{recommendPosts:a,posts:c}=e,h=(0,r.useMemo)(()=>Object.entries(c).map(e=>{let[t,n]=e;return{id:t,name:t,badge:n.hasNewPost,panel:(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"h-[8px]"}),(0,l.jsx)("div",{className:"px-[20px] [@media(min-width:600px)]:flex [@media(min-width:600px)]:flex-wrap [@media(min-width:600px)]:gap-x-[40px]",children:n.posts.map(e=>(0,l.jsxs)("div",{className:"flex shrink-0 flex-row items-center justify-between border-b border-mono-99 py-[16px] [&:nth-last-child(1)]:border-none [@media(min-width:600px)]:basis-[calc(50%_-_20px)] [@media(min-width:600px)]:[&:nth-last-child(-n+2)]:border-none",onClick:()=>{u.A.eventTracking({event:m.A.WV_POST_LIST_CLICK,properties:{id:e.url}}
1),u.A.pushWebview({url:"".concat("https://finda.co.kr","/finposts/").concat(e.url)})},children:[(0,l.jsxs)("div",{className:"flex flex-col justify-center gap-[6px]",children:[e.tags.length?(0,l.jsx)("div",{className:"flex flex-row gap-[5px]",children:e.tags.map(e=>(0,l.jsx)("span",{className:i()("inline-block whitespace-nowrap rounded-[6px] px-[6px] py-[3px] align-middle text-13-bold","text-".concat(e.color,"-50"),"bg-".concat(e.color,"-95")),children:e.name},e.name))}):null,(0,l.jsx)("h3",{className:"line-clamp-2 whitespace-pre-line text-17-bold",children:e.name})]}),(0,l.jsx)("div",{className:"w-[14px] shrink-0"}),(0,l.jsx)("div",{className:"relative h-[62px] w-[88px] shrink-0 overflow-hidden rounded-[6px]",children:(0,l.jsx)(d(),{src:e.coverImageUrl,width:88,height:62,unoptimized:!0,alt:"",className:"object-cover",priority:!0})})]},e.url))})]})}}),[c]),[A,C]=(0,r.useState)(null!=(n=null==(t=h[0])?void 0:t.name)?n:""),[g]=h.filter(e=>e.id===A).map(e=>e.panel),v=(0,f.uo)();return(0,r.useEffect)(()=>{"Web"!==v&&u.A.eventTracking({event:m.A.WV_POST_LIST_VIEW})},[v]),(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:"fixed left-1/2 top-0 z-1 w-full max-w-[768px] -translate-x-1/2",children:(0,l.jsxs)("header",{className:"flex h-[50px] items-center justify-between bg-mono-100 px-[16px] py-[11px]",children:[(0,l.jsx)(s.A,{name:"IcArrowLeftOutline",onClick:()=>{u.A.popWebview()}}),(0,l.jsx)("span",{className:"shrink-0 text-17-bold",children:"핀다포스트"}),(0,l.jsx)("div",{className:"h-[28px] w-[28px] shrink-0"})]})}),(0,l.jsxs)("div",{className:"relative mx-auto flex min-h-screen max-w-[768px] flex-col",children:[(0,l.jsx)("div",{className:"h-[50px] shrink-0"}),(0,l.jsx)("div",{className:"h-[14px] shrink-0"}),(0,l.jsx)("div",{className:"px-[20px]",children:(0,l.jsx)(x.A,{containerProps:{className:"rounded-[20px]"},dotsProps:{containerClassName:"h-[6px] -translate-y-[22px] flex gap-[5px] justify-center",baseDotClassName:"w-[6px] h-[6px] bg-mono-100 rounded-full",inactiveDotClassName:"opacity-[0.3]",activeDotClassName:""},children:(0,l.jsx)("div",{className:"flex flex-row",children:a.content.map(e=>(0,l.jsxs)("div",{className:"relative flex h-[320px] w-[calc(100vw_-_40px)] max-w-[calc(768px_-_40px)] shrink-0 select-none flex-col items-center px-[24px] pt-[24px]",style:{background:e.backgroundColor},onClick:()=>{u.A.eventTracking({event:m.A.WV_POST_LIST_CLICK_TOP,properties:{id:e.url}}),u.A.pushWebview({url:"".concat("https://finda.co.kr","/finposts/").concat(e.url)})},children:[(0,l.jsx)("div",{className:"flex h-[87px] w-[272px] flex-col justify-center whitespace-pre-line text-center text-20-bold text-mono-100",children:e.title}),(0,l.jsx)("div",{className:"h-[27px]"}),(0,l.jsx)(d(),{unoptimized:!0,alt:"",width:195,height:130,src:e.imageUrl})]},e.url))})})}),(0,l.jsx)("div",{className:"h-[8px] shrink-0"}),h.length>0&&(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(o.A,{type:"horizontal",tabs:h,selectedKey:A,onTabChange:e=>{C(e.name),u.A.eventTracking({event:m.A.WV_POST_LIST_CLICK_CATEGORY,properties:{category:e.name}})},tabsClassName:"sticky top-[50px] z-full"}),g]}),(0,l.jsx)("div",{className:"h-[calc(env(safe-area-inset-bottom)_+_80px)] shrink-0"})]}),(0,l.jsx)("div",{className:"fixed bottom-[30px] right-[22px] lg:right-[calc(22px_+_(100vw_-_768px)/2)]",children:(0,l.jsx)("button",{type:"button",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},className:"flex h-[38px] w-[38px] flex-row items-center justify-center rounded-full bg-mono-100 shadow-[0_2px_10px_rgba(0,0,0,0.15)]",children:(0,l.jsx)(p.A,{})})})]})};var A=n(9312),C=n(42780),g=n(58297);let v=e=>T(e),T=e=>{let t=(0,g.E)({pid:"findaweb",c:"finposts_app-install-btn",deep_link_value:e,af_force_deeplink:"true",af_click_lookback:"14d",is_retargeting:"true",af_reengagement_window:"14d"});return"".concat("https://findadeep.onelink.me/JQUy").concat(t)};var _=n(15151),L=n(65911),N=n(4442),S=n(45650),E=n(98852),I=n(33680),b=n(40547),w=n(50274),O=n(54870),D=n(62577),j=n(64262);let y=e=>Object.entries(e).map(e=>{let[t,n]=e;return"".concat((0,j.A)(t),": ").concat(n,";")}).join(" "),k={BOLD:"BOLD",ITALIC:"ITALIC",UNDERLINE:"UNDERLINE",SPOILER:"SPOILER",ANCHOR:"ANCHOR",MENTION:"MENTION",LINK:"LINK",COLOR:"COLOR",FONT_SIZE:"FONT_SIZE"},R={PARAGRAPH:"PARAGRAPH",TEXT:"TEXT",HEADING:"HEADING",BULLETED_LIST:"BULLETED_LIST",ORDERED_LIST:"ORDERED_LIST",LIST_ITEM:"LIST_ITEM",DIVIDER:"DIVIDER",IMAGE:"IMAGE",COLLAPSIBLE_LIST:"COLLAPSIBLE_LIST",COLLAPSIBLE_ITEM:"COLLAPSIBLE_ITEM",COLLAPSIBLE_ITEM_TITLE:"COLLAPSIBLE_ITEM_TITLE",COLLAPSIBLE_ITEM_BODY:"COLLAPSIBLE_ITEM_BODY",CAPTION:"CAPTION"},P={SELF:"SELF",UNRECOGNIZED:"UNRECOGNIZED"},M={[k.COLOR]:"span",[k.MENTION]:"span",[k.SPOILER]:"span",[k.BOLD]:"strong",[k.ITALIC]:"em",[k.UNDERLINE]:"u",[k.LINK]:"a",[k.ANCHOR]:"a",[k.FONT_SIZE]:"span"},W={[R.BULLETED_LIST]:"ul",[R.COLLAPSIBLE_LIST]:"ul",[R.ORDERED_LIST]:"ol",[R.LIST_ITEM]:"li",[R.COLLAPSIBLE_ITEM]:"li",[R.COLLAPSIBLE_ITEM_TITLE]:"fragment",[R.COLLAPSIBLE_ITEM_BODY]:"fragment",[R.PARAGRAPH]:"p"},B={[R.BULLETED_LIST]:y({listStyleType:"disc"}),[R.ORDERED_LIST]:y({listStyleType:"decimal"}),[R.LIST_ITEM]:y({listStyle:"revert",listStylePosition:"outside",marginLeft:"20px"}),[R.PARAGRAPH]:y({whiteSpace:"pre-wrap",fontSize:"17px",lineHeight:"1.8",letterSpacing:"-0.02em"}),[R.IMAGE]:y({display:"block",width:"calc(100% + 20px * 2)",height:"auto",margin:"20px -20px 20px -20px",maxWidth:"inherit"}),[R.CAPTION]:y({color:"rgb(27, 32, 28)",paddingTop:"18px",paddingBottom:"18px",textAlign:"center",fontSize:"12px"})},H='<p style="'.concat(B[R.PARAGRAPH],'"><br /></p>'),F=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return e.flatMap(U).join(t)},U=e=>{if(e.type===R.TEXT&&e.textData)return J(e.textData);if(e.type===R.PARAGRAPH&&0===e.nodes.length)return H;if(e.type===R.IMAGE)return G(e.imageData);let t=W[e.type];if(e.type===R.HEADING&&e.headingData){let{level:n}=e.headingData;t="h".concat(n)}if(t){var n,l;let r=B[e.type],a=[null==(n=e.headingData)?void 0:n.indentation,null==(l=e.paragraphData)?void 0:l.indentation].filter(w.A).map(e=>"margin-left: ".concat(40*e,"px;")).join(""),i=F(e.nodes),o=[r,a].filter(w.A).join(" ");return K(t,i,o&&{style:o})}return[]},V=e=>{let t,n=Object.entries((null==e?void 0:e.rel)||{}).filter(e=>{let[t,n]=e;return!!n}).map(e=>{let[t]=e;return t}).join(" "),l=null==e?void 0:e.target,r=(t=[void 0,P.UNRECOGNIZED,P.SELF],t.includes(l))?"":"_".concat(null==l?void 0:l.toLowerCase()),a=(null==e?void 0:e.anchor)||"",i=(null==e?void 0:e.url)||"";return(0,O.A)({href:i,rel:n,anchor:a,target:r},w.A)},G=e=>((e,t)=>{if(t){let n=(0,S.Fs)(V(t),z);return"\n      <a ".concat(n,">\n        ").concat(e,"\n      </a>\n    ")}return e})('\n    <img \n      src="'.concat("https://static.wixstatic.com/media/").concat(e.image.src.id,'" \n      style="').concat(B[R.IMAGE],'"\n    />\n  ')+(e=>e?'\n      <p style="'.concat(B[R.CAPTION],'">\n       ').concat(e,"\n      </p>\n    "):"")(e.caption),e.link),K=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l="fragment"===e,r="li"===e?"\n  ":"",a=["ul","ol"].includes(e)?"\n":"";return l?"".concat(t).concat(a):"".concat(r,"<").concat(e).concat(z(n),">").concat(t).concat(a,"</").concat(e,">")},z=e=>Object.entries(e).map(e=>{let[t,n]=e;return" ".concat(t,'="').concat(n,'"')}).join(""),Y=e=>{var t;return(null==(t=e.colorData)?void 0:t.foreground)?I.zN({type:k.COLOR,colorData:{foreground:e.colorData.foreground}}):I.dv},Z=e=>{var t;return(null==(t=e.colorData)?void 0:t.background)?I.zN({type:k.COLOR,colorData:{background:e.colorData.background}}):I.dv},q=(0,S.L3)(L.Tj((0,S.L3)(e=>e.type===k.COLOR?N.pG(e):N.kb(e),N.AU(L.of,e=>(0,S.Fs)([Z,Y],L.ap(L.of(e)),L.oE)))),L.Bq),J=e=>{let{text:t,decorations:n}=e;return q(n).reduce((e,t)=>
1{let n=M[t.type];return n?K(n,e,(e=>{let t={};return e.type===k.LINK&&(t={...t,...(e=>{var t;return V(null==(t=e.linkData)?void 0:t.link)})(e)}),e.type===k.ANCHOR&&(t={...t,...(e=>{var t;let n=(null==(t=e.anchorData)?void 0:t.anchor)||"";return{href:"#".concat(n),rel:"noopener noreferrer"}})(e)}),e.type===k.MENTION&&(t={...t,...(e=>{let{name:t="",slug:n="",id:l=""}=e.mentionData||{};return t||n||l?(0,O.A)({role:"link","data-mention-name":t,"data-mention-slug":n,"data-mention-id":l},w.A):{}})(e)}),e.type===k.SPOILER&&(t={...t,"data-spoiler":"true"}),e.type===k.COLOR&&(t={...t,...(e=>{let{foreground:t,background:n}=e.colorData||{},l=(0,S.Fs)([t&&"color: ".concat(t,";"),n&&"background-color: ".concat(n,";")],D.A,E.KO(b.J7));return(0,O.A)({style:l},w.A)})(e)}),e.type===k.FONT_SIZE&&(t={...t,...(e=>{let{unit:t,value:n}=e.fontSizeData||{},l=(0,S.Fs)([t&&n&&n>16&&"font-size: ".concat(n).concat(t.toLowerCase())],D.A,E.KO(b.J7));return(0,O.A)({style:l},w.A)})(e)}),t})(t)):e},t)};var X=n(30252),Q=n(61463),$=n(83411),ee=n(78482),et=n(12792),en=n(58223),el=n(39713),er=n(99059),ea=n(93021);let ei=e=>{let{url:t}=e,[n,a]=(0,r.useState)(!1),i=(0,_.u)();return(0,r.useEffect)(()=>{"WEB"===i&&a(!0)},[i]),(0,l.jsxs)(er.z,{isOpen:n,setIsOpen:a,revealClose:!0,children:[(0,l.jsxs)(er.z.Title,{children:["먼저 알수록","\n","돈이 되는 머니팁 \uD83D\uDCB0"]}),(0,l.jsx)("div",{className:"h-2"}),(0,l.jsxs)(er.z.ContentArea,{className:"flex flex-col",children:[(0,l.jsx)("div",{className:"flex flex-col items-center gap-[4px]",children:(0,l.jsx)("div",{children:(0,l.jsx)(d(),{width:120,height:120,src:ea.k.FinPosts.FIND_ACCOUNT,alt:"",unoptimized:!0})})}),(0,l.jsx)("div",{className:"h-[10px] shrink-0"}),(0,l.jsx)("div",{className:"text-center text-15-regular text-findaGray-40",children:"앱 설치 후 편하고 빠르게 받아보세요!"})]}),(0,l.jsx)(er.z.Actions,{children:(0,l.jsx)(A.A,{size:"S",sheetType:"full",relative:!0,children:(0,l.jsx)(A.A.PrimaryButton,{variant:"primary",size:"FULL",onClick:()=>{if("WEB"===i){let e=v(t);e&&window.open(e)}},children:"핀다 앱으로 보기"})})})]})};var eo=n(50294);let es=e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",...e,children:[(0,l.jsx)("rect",{width:"32",height:"32",fill:"#5D4CF2"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M22.4076 8.94681C23.3002 9.83944 23.3002 11.2867 22.4076 12.1793L17.6256 16.9613C17.2867 17.3003 16.8324 17.4991 16.3536 17.5183C15.822 17.5396 15.3054 17.3376 14.9291 16.9612L14.6611 16.6933C14.2148 16.247 13.4912 16.247 13.0449 16.6933C12.5986 17.1396 12.5992 17.8638 13.0455 18.3101L13.3128 18.5775C14.1401 19.4047 15.2757 19.849 16.4449 19.8022C17.498 19.7601 18.4966 19.3228 19.2418 18.5776L24.0239 13.7955C25.8091 12.0103 25.8091 9.11582 24.0239 7.33057C22.2386 5.54532 19.3441 5.54532 17.5589 7.33057L15.8733 9.01614C15.427 9.46245 15.427 10.1861 15.8733 10.6324C16.3196 11.0787 17.0433 11.0787 17.4896 10.6324L19.1751 8.94682C20.0678 8.05419 21.515 8.05419 22.4076 8.94681ZM8.94688 22.4075C8.05426 21.5149 8.05426 20.0677 8.94688 19.175L13.7289 14.393C14.0678 14.0541 14.5221 13.8552 15.0009 13.8361C15.5325 13.8148 16.0491 14.0168 16.4254 14.3931L16.6934 14.661C17.1397 15.1074 17.8633 15.1074 18.3096 14.6611C18.7559 14.2147 18.7553 13.4905 18.309 13.0442L18.0417 12.7769C17.2144 11.9496 16.0788 11.5054 14.9096 11.5522C13.8565 11.5943 12.8579 12.0316 12.1127 12.7768L7.33064 17.5588C5.54539 19.3441 5.54539 22.2385 7.33064 24.0238C9.11589 25.809 12.0104 25.809 13.7956 24.0238L15.4812 22.3382C15.9275 21.8919 15.9275 21.1683 15.4812 20.722C15.0349 20.2757 14.3113 20.2757 13.8649 20.722L12.1794 22.4075C11.2867 23.3002 9.83951 23.3002 8.94688 22.4075Z",fill:"white"})]}),ec=e=>(0,l.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",...e,children:[(0,l.jsx)("path",{d:"M12.6114 12.3318L13.5306 14.9673H11.6921L12.6114 12.3318Z",fill:"white"}),(0,l.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M0 13.8189C0 6.80703 7.16185 1.125 15.994 1.125C24.8261 1.125 32 6.81307 32 13.8249C32 20.8368 24.8382 26.5188 16.006 26.5188C15.0387 26.5188 14.0834 26.4523 13.1641 26.3193C13.0932 26.369 12.997 26.4367 12.8793 26.5194C11.4507 27.5238 6.8711 30.7435 6.40481 30.8106C6.40481 30.8106 6.19452 30.8891 6.02028 30.7864C5.84604 30.6836 5.87608 30.4116 5.87608 30.4116L7.49831 24.5785C2.99211 22.3238 0 18.3524 0 13.8189ZM7.14681 18.2435C7.14782 18.2435 7.14883 18.2435 7.14984 18.2435H7.14383C7.14483 18.2435 7.14581 18.2435 7.14681 18.2435ZM6.22457 17.3549C6.22457 17.8436 6.6375 18.2419 7.14681 18.2435C7.65017 18.2419 8.06911 17.8375 8.06911 17.3549V11.8361H9.51109C10.0038 11.8361 10.4123 11.4311 10.4123 10.9294C10.4123 10.4277 10.0098 10.0227 9.51109 10.0227H4.78259C4.28991 10.0227 3.88135 10.4277 3.88135 10.9294C3.88135 11.4311 4.2839 11.8361 4.78259 11.8361H6.22457V17.3549ZM14.4739 17.8204C14.564 18.0742 14.8584 18.2314 15.243 18.2314C15.4473 18.2314 15.6515 18.1951 15.8318 18.1105C16.0841 18.0017 16.3305 17.6692 16.0481 16.7928L13.843 10.9475C13.6928 10.5002 13.2122 10.0166 12.6114 10.0287C12.0105 10.0408 11.5359 10.5002 11.3797 10.9475L9.17463 16.7928C8.89224 17.6692 9.13858 17.9896 9.39092 18.1105C9.57718 18.1891 9.77545 18.2314 9.97973 18.2314C10.3643 18.2314 10.6587 18.0742 10.7488 17.8204L11.2054 16.6114H14.0173L14.4739 17.8204ZM16.6489 17.2642C16.6489 17.7297 17.0515 18.1105 17.5321 18.1105L20.4942 18.0924C20.9809 18.0924 21.3774 17.7116 21.3774 17.2461C21.3774 16.7807 20.9748 16.3999 20.4942 16.3999H18.5355V10.9475C18.5355 10.4398 18.1149 10.0166 17.5922 10.0166C17.0695 10.0166 16.6489 10.4337 16.6489 10.9475V17.2642ZM21.7319 10.9536V17.3005C21.7319 18.535 23.5824 18.4885 23.5824 17.2824V15.2574L23.9009 14.937L26.0638 17.8204C26.3542 18.2032 26.9501 18.3039 27.3556 18.0017C27.767 17.7132 27.841 17.1011 27.5359 16.7081L25.2647 13.6858L27.3797 11.5701C27.6989 11.2433 27.6194 10.7233 27.3136 10.4156C26.988 10.0881 26.4504 10.063 26.166 10.3491L23.5824 12.9483V10.9536C23.5824 10.4458 23.1619 10.0227 22.6572 10.0227C22.1525 10.0227 21.7319 10.4398 21.7319 10.9536Z",fill:"white"})]});var ed=n(8378),eu=n(4250);let ep=e=>{let{title:t,description:n,imageUrl:r,currentUrl:a,hasCTA:i,url:o}=e,s=(0,f.uo)();return(0,l.jsxs)("div",{className:"flex flex-col items-center gap-[24px] rounded-[10px] bg-findaGray-99 p-[30px]",children:[(0,l.jsx)("span",{className:"block text-17-bold",children:"이 글을 나만 알고 있기 아쉽다면?"}),(0,l.jsxs)("div",{className:"flex flex-row gap-[24px]",children:[(0,l.jsx)("button",{type:"button",className:"h-[56px] w-[56px] rounded-[100px] bg-findaGray-10 p-[12px]",onClick:()=>{u.A.eventTracking({event:m.A.WV_POST_SHARE,properties:{id:o,button:"kakao"}}),Kakao.Share.sendDefault({objectType:"feed",content:{title:t,description:n,imageUrl:r,link:{mobileWebUrl:a,webUrl:a}},buttons:[{title:"콘텐츠 읽으러 가기",link:{mobileWebUrl:a,webUrl:a}}],serverCallbackArgs:{isProduction:ed.r.isProduction,id:o,trackingKey:m.A.WV_POST_SHARE_CALLBACK},installTalk:!0})},children:(0,l.jsx)(ec,{})}),(0,l.jsx)("button",{type:"button",className:"h-[56px] w-[56px] rounded-[100px] bg-findaPurple-60 p-[12px]",onClick:async()=>{u.A.eventTracking({event:m.A.WV_POST_SHARE,properties:{id:o,button:"link"}});try{await navigator.share({title:t,url:o})}catch(e){e.name.includes("AbortError")||("Android"===s?eu.N.writeText(a):eo.o.promise(eu.N.writeText(a),{loading:"링크를 복사중입니다",success:"링크가 복사되었습니다",error:"잠시 후 다시 시도해주세요"},{offset:i?"CTA":0}))}},children:(0,l.jsx)(es,{})})]})]})};var ex=n(614),em=n(35048);let ef=()=>!!(window.document&&window.document.createElement),eh=e=>{let{data:{document:t,name:n,ctaAppPage:a,ctaBtnText:o,url:c,excerpt:d,coverImageUrl:p}}
1=e,x=(0,C.useRouter)(),f="".concat("https://finda.co.kr","/finposts/").concat(c),h=(0,_.u)(),[g,T]=(0,r.useState)(!1),[L,N]=(0,r.useState)(!1),S=[33,66,99],[E,I]=(0,r.useState)(Object.fromEntries(S.map(e=>[e,{isScrolled:!1}]))),{mode:b,from:w}=x.query,{y:O}=function(){let[e,t]=function(e){let t=(0,r.useRef)(0),[n,l]=(0,r.useState)(e),a=(0,r.useCallback)(e=>{cancelAnimationFrame(t.current),t.current=requestAnimationFrame(()=>{l(e)})},[]);return(0,r.useEffect)(()=>()=>{cancelAnimationFrame(t.current)},[]),[n,a]}(()=>({x:ef()?window.scrollX:0,y:ef()?window.scrollY:0}));return(0,em.M)(()=>window,"scroll",()=>{t(e=>{let{scrollX:t,scrollY:n}=window;return e.x!==t||e.y!==n?{x:t,y:n}:e})},{capture:!1,passive:!0}),e}(),D="alarm"===w,{isOpen:j,agreementGroups:y,handleHeaderGoBack:k,handleHomeShortcut:P,handleBackdropClose:M,handleDecline:W,handleAgree:B}=function(e){let{enabled:t,slug:n}=e,l="findapost_".concat(n),[a,i]=(0,r.useState)(!1),o=(0,ee.J)({screenKey:"MKT_AGREE",enabled:t}),{mutateAsync:s}=(0,et.n)(),c=(0,r.useMemo)(()=>{var e;return o.isSuccess&&o.data&&null!=(e=o.data.agreementGroups)?e:[]},[o.isSuccess,o.data]),d=(0,r.useMemo)(()=>c.flatMap(e=>{var t;return(null!=(t=e.agreements)?t:[]).filter(e=>e.docSeqKey).map(e=>e.docSeqKey)}),[c]),p=(0,$.OV)({docSeqKeyList:d,enabled:t&&d.length>0}),x=(0,r.useMemo)(()=>!!p.some(e=>e.isLoading)||p.length>0&&p.every(e=>!0===e.data),[p]),f=t&&!x&&(0,el.hy)()&&o.isSuccess,h=(0,r.useRef)(f),A=(0,r.useRef)(a);h.current=f,A.current=a;let C=(0,r.useCallback)(()=>{i(!0),(0,el.EQ)(),u.A.eventTracking({event:m.A.WV_MSD_BOTTOM_VIEW,properties:{location:l}})},[l]),g=(0,r.useCallback)(()=>{u.A.goTo({page:Q.M.HOME_MAIN})},[]);(0,r.useEffect)(()=>{if(!t)return;u.A.setUseBrowserBackAction({backAction:"DISPATCH_EVENT"});let e=()=>{if(A.current){i(!1),g();return}if(h.current)return void C();u.A.popWebview()};return window.addEventListener("FindaAppBack",e),()=>{window.removeEventListener("FindaAppBack",e),u.A.setUseBrowserBackAction({enable:!1})}},[t,C,g]);let v=(0,r.useCallback)(()=>{if(a){i(!1),g();return}if(f)return void C();u.A.popWebview()},[f,a,C,g]),T=(0,r.useCallback)(()=>{if(a){i(!1),g();return}if(f)return void C();g()},[f,a,C,g]),_=(0,r.useCallback)(()=>{i(!1),g()},[g]);return{isOpen:a,agreementGroups:c,handleHeaderGoBack:v,handleHomeShortcut:T,handleBackdropClose:_,handleDecline:(0,r.useCallback)(()=>{(0,el.Dy)(),u.A.eventTracking({event:m.A.WV_MSD_BOTTOMCTA1_CLICK,properties:{location:l}}),i(!1),g()},[g,l]),handleAgree:(0,r.useCallback)(async e=>{u.A.eventTracking({event:m.A.WV_MSD_BOTTOMCTA2_CLICK,properties:{location:l}});try{await s(e),(0,el.hj)(),i(!1),X.o.success("핀다가 전송하는 광고성 정보 수신에 동의했어요.\n동의일".concat((0,en.A)().format("YYYY.MM.DD"))),setTimeout(g,1800)}catch(e){i(!1),(0,X.o)("일시적인 오류가 발생했어요. 잠시 후 다시 시도해주세요."),setTimeout(g,1800)}},[s,g,l])}}({enabled:D,slug:c}),H=(0,r.useMemo)(()=>{var e,t,n,l;let r=O/((null==(t=globalThis)||null==(e=t.document)?void 0:e.documentElement.scrollHeight)-(null==(l=globalThis)||null==(n=l.document)?void 0:n.documentElement.clientHeight))*100;return Number.isNaN(r)?0:r},[O]),U=()=>"contents"!==b&&g&&L&&!!o;(0,r.useEffect)(()=>{L||O<400||N(!0)},[L,O]),(0,r.useEffect)(()=>{S.forEach(e=>{E[e].isScrolled||H<e||(I({...E,[e]:{isScrolled:!0}}),u.A.eventTracking({event:m.A.WV_POST_SCROLL,properties:{id:c,y:e}}))})},[H]),(0,r.useEffect)(()=>{u.A.eventTracking({event:m.A.WV_POST_VIEW,properties:{id:c}})},[c]);let[,V]=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(0,r.useRef)(!1),l=(0,r.useRef)(null),a=(0,r.useRef)(e),i=(0,r.useCallback)(()=>n.current,[]),o=(0,r.useCallback)(()=>{n.current=!1,l.current&&clearTimeout(l.current),l.current=setTimeout(()=>{n.current=!0,a.current()},t)},[t]),s=(0,r.useCallback)(()=>{n.current=null,l.current&&clearTimeout(l.current)},[]);return(0,r.useEffect)(()=>{a.current=e},[e]),(0,r.useEffect)(()=>(o(),s),[t]),[i,s,o]}(()=>{T(!0),u.A.eventTracking({event:m.A.WV_POST_LOAD,properties:{id:c,time:2}})},2e3),G=D&&j;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:i()("fixed left-1/2 top-0 z-1 w-full max-w-[768px] -translate-x-1/2",G&&"invisible"),"aria-hidden":G,children:(0,l.jsx)("header",{className:"flex h-[50px] items-center justify-between bg-mono-100 px-[16px] py-[11px]",children:(0,l.jsx)(s.A,{name:"IcArrowLeftOutline",onClick:()=>
1{if(V(),D)return void k();u.A.popWebview()}})})}),(0,l.jsxs)("div",{className:i()("mx-auto max-w-[768px] px-5 pb-[calc(env(safe-area-inset-bottom)_+_100px)]",G&&"invisible"),"aria-hidden":G,children:[(0,l.jsx)("div",{className:"h-[50px]"}),(0,l.jsx)("div",{className:"h-[20px]"}),(0,l.jsx)("h1",{className:"text-24-bold",children:n}),(0,l.jsx)("div",{className:i()("[&>h1]:font-bold","[&>h2]:font-bold","[&>h3]:font-bold","[&>h4]:font-bold","[&>h5]:font-bold","[&>h6]:font-bold"),dangerouslySetInnerHTML:{__html:"".concat(F((e=>{let t=e.findIndex(e=>e.type===R.DIVIDER);return -1===t?e:e.slice(0,t+1)})(t.nodes),"\n"))}}),(0,l.jsx)("div",{className:"h-[20px]"}),(0,l.jsx)(ep,{title:n,description:d,imageUrl:p,hasCTA:U(),currentUrl:f,url:c}),(0,l.jsx)("div",{className:"h-[20px]"})]}),U()&&!G&&(0,l.jsx)(A.A,{size:"M",sheetType:"full",className:"left-1/2 max-w-[768px] -translate-x-1/2",children:(0,l.jsx)(A.A.PrimaryButton,{variant:"primary",size:"FULL",onClick:()=>{if(u.A.eventTracking({event:m.A.WV_POST_CLICK,properties:{id:c}}),D)return void P();if((e=>{try{let t=new URL(e);return/^https?:\/\/([a-zA-Z0-9-]+\.)?finda\.co\.kr/i.test(t.href)}catch(e){return!0}})(a)){if("WEB"===h){let e=v(a);e&&window.open(e);return}u.A.goTo({page:a})}else window.open(a)},children:o})}),"share"!==w&&!G&&(0,l.jsx)(ei,{url:f}),D&&y.length>0&&(0,l.jsx)(ex.A,{isOpen:j,onClose:M,onDecline:W,onAgree:B,agreementGroups:y,title:"놓치고 있는 소식, 알려드릴까요?",subText:"지금 동의하지 않으면 일주일 동안 볼 수 없어요.",ctaText:"네, 알려주세요",showDeclineButton:!0,showOptionalMark:!0,backdropClassName:"!bg-black"})]})}},68393:(e,t,n)=>{n.d(t,{A:()=>c});var l=n(88233),r=n(51733),a=n(12584),i=n.n(a);let o=r.useLayoutEffect;function s(e){let t=r.useRef(null);return o(()=>{t.current=e}),r.useCallback(function(){for(var e=arguments.length,n=Array(e),l=0;l<e;l++)n[l]=arguments[l];let r=t.current;return null==r?void 0:r(...n)},[])}let c=e=>{let{tabs:t,onTabChange:n,tabsClassName:a,tabListClassName:o,tabClassName:c,type:d="horizontal",selectedKey:u,onSelectedKeyChange:p,...x}=e,[m,f]=function(e){let{prop:t,defaultProp:n,onChange:l=()=>{}}=e,[a,i]=function(e){let{defaultProp:t,onChange:n}=e,l=r.useState(t),[a]=l,i=r.useRef(a),o=s(n);return r.useEffect(()=>{i.current!==a&&(o(a),i.current=a)},[a,i,o]),l}({defaultProp:n,onChange:l}),o=void 0!==t,c=o?t:a,d=s(l);return[c,r.useCallback(e=>{if(o){let n="function"==typeof e?e(t):e;n!==t&&d(n)}else i(e)},[o,t,i,d])]}({prop:u,defaultProp:t[0].id,onChange:p}),h=(0,r.useRef)(null),A=(0,r.useRef)({});return(0,r.useEffect)(function(){var e;let t=null==(e=A.current)?void 0:e[m],n=h.current;if(!t||!n)return;let l=t.offsetLeft,r=l+t.offsetWidth,a=n.scrollLeft<r-n.clientWidth;if(n.scrollLeft>l)return void n.scrollTo({behavior:"smooth",left:l-20});a&&n.scrollTo({behavior:"smooth",left:r-n.clientWidth+20})},[m]),(0,l.jsx)("div",{className:i()("border-b-1 border-mono-95 bg-mono-100",a),...x,children:(0,l.jsx)("ul",{ref:h,role:"tablist",className:i()("relative flex flex-row overflow-x-scroll scrollbar-hide","horizontal"===d&&"px-[20px]",o),children:t.map(e=>(0,l.jsxs)("li",{ref:t=>{A.current[e.id]=t},role:"tab",className:i()("relative shrink-0 px-[12px] py-[16px] text-center",e.id!==m&&"text-system-17 text-findaGray-50",e.id===m&&"text-17-bold text-findaPurple-50",c),style:{..."fixed"===d&&{flexBasis:"".concat(100/t.length,"%")}},onClick:()=>{f(e.id),null==n||n(e)},children:[(0,l.jsxs)("span",{className:"relative",children:[e.name,e.badge&&(0,l.jsx)("div",{className:"absolute right-[-6px] top-[-3px] h-[6px] w-[6px] rounded-full bg-magenta-70"})]}),e.id===m&&(0,l.jsx)("div",{className:"absolute bottom-0 left-0 h-[3px] w-full bg-findaPurple-50"})]},e.id))})})}},99808:(e,t,n)=>{n.d(t,{A:()=>c});var l=n(88233),r=n(12584),a=n.n(r),i=n(24879),o=n(51733);let s=e=>{let{children:t,...n}=e;return(0,l.jsx)("button",{type:"button",...n,children:t})};i.A.globalOptions={loop:!0,align:"start"};let c=e=>{let{children:t,containerProps:n,dotsProps:r,options:c,plugins:d}=e,[u,p]=(0,i.A)(c,d),{selectedIndex:x,scrollSnaps:m,onDotButtonClick:f}=(e=>{let[t,n]=(0,o.useState)(0),[l,r]=(0,o.useState)([]),a=(0,o.useCallback)(t=>{e&&e.scrollTo(t)},[e]),i=(0,o.useCallback)(e=>{r(e.scrollSnapList())},[]),s=(0,o.useCallback)(e=>{n(e.selectedScrollSnap())},[]);return(0,o.useEffect)(()=>{e&&(i(e),s(e),e.on("reInit",i),e.on("reInit",s),e.on("select",s))},[e,i,s]),{selectedIndex:t,scrollSnaps:l,onDotButtonClick:a}})(p);return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)("div",{className:a()("isolate overflow-hidden",null==n?void 0:n.className),ref:u,children:t}),r&&(0,l.jsx)("div",{className:r.containerClassName,children:m.map((e,t)=>(0,l.jsx)(s,{onClick:()=>f(t),className:a()(r.baseDotClassName,t!==x&&r.inactiveDotClassName,t===x&&r.activeDotClassName)},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.