1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7407],{74638:function(e,t,i){i.d(t,{TF:function(){return u},b4:function(){return s},kA:function(){return o}});var n,r,a,o,c=i(59403),l=i(27226);(n=a||(a={})).HIGHLIGHT="highlight",n.NOTE="note",n.BIBLE_CHAPTER="BibleChapter",n.BIBLE_BOOK="BibleBook",(r=o||(o={})).MEMOTATION_NOTES="memotation-notes",r.MEMOTATION_HIGHLIGHTS="memotation-highlights",r.MEMOTATION_UNDERLINES="memotation-underlines",r.BIBLE_TRACKER_HISTORIES="bible-tracker-histories",r.BIBLE_BOOKMARKS="bible-bookmarks";let d=async e=>{let t="",i=function(e,i){let{isArrayParam:n=!1}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.includes("?")?"&":"?";t+="".concat(r).concat(e).concat(n?"[]":"","=").concat(encodeURIComponent(i))};return Object.entries(e).forEach(e=>{let[t,n]=e;if(null!=n){if("category"===t){let e=Array.isArray(n)?n:[n];if(!e.length)return;let t=new Set;e.forEach(e=>{if(!e)return;let n=e===o.MEMOTATION_HIGHLIGHTS?[o.MEMOTATION_HIGHLIGHTS,o.MEMOTATION_UNDERLINES]:[e];n.forEach(e=>{t.has(e)||(i("category",e,{isArrayParam:!0}),t.add(e))})})}else if(Array.isArray(n)){if(!n.length)return;n.forEach(e=>{null!=e&&i(t,e,{isArrayParam:!0})})}else{if(""===n)return;i(t,n)}}}),l.H.get("/bible-activities".concat(t))},s={default:e=>["infiniteBibleActivities",e]},u=e=>(0,c.N)({queryKey:s.default(e),queryFn:t=>{let{pageParam:i}=t;return d({...e,cursor:i})},getNextPageParam:e=>{var t,i,n,r;if(null==e?void 0:null===(t=e.data)||void 0===t?void 0:null===(i=t.meta)||void 0===i?void 0:i.cursor)return null==e?void 0:null===(n=e.data)||void 0===n?void 0:null===(r=n.meta)||void 0===r?void 0:r.cursor},getPreviousPageParam:e=>{var t,i;return null==e?void 0:null===(t=e.data)||void 0===t?void 0:null===(i=t.meta)||void 0===i?void 0:i.cursor}})},17925:function(e,t,i){i.d(t,{i:function(){return r}});var n=i(85893);let r=e=>{let{isWhite:t=!1}=e;return(0,n.jsxs)("div",{className:"spinner",children:[(0,n.jsx)("div",{className:"spinner-blade ".concat(t&&"white")}),(0,n.jsx)("div",{className:"spinner-blade ".concat(t&&"white")}),(0,n.jsx)("div",{className:"spinner-blade ".concat(t&&"white")}),(0,n.jsx)("div",{className:"spinner-blade ".concat(t&&"white")}),(0,n.jsx)("div",{className:"spinner-blade ".concat(t&&"white")}),(0,n.jsx)("div",{className:"spinner-blade ".concat(t&&"white")}),(0,n.jsx)("div",{className:"spinner-blade ".concat(t&&"white")}),(0,n.jsx)("div",{className:"spinner-blade ".concat(t&&"white")}),(0,n.jsx)("div",{className:"spinner-blade ".concat(t&&"white")}),(0,n.jsx)("div",{className:"spinner-blade ".concat(t&&"white")}),(0,n.jsx)("div",{className:"spinner-blade ".concat(t&&"white")}),(0,n.jsx)("div",{className:"spinner-blade ".concat(t&&"white")})]})}},54281:function(e,t,i){i.d(t,{B:function(){return B}});var n=i(85893),r=i(30128),a=i(85945),o=i(74638),c=i(24042),l=i(78567),d=i(5262),s=i(14042),u=i(10559),h=i(2054),m=i(89913),b=i(49460),v=i(62732),y=i(1354),p=i(93607),g=i(39648),f=i(32427),k=i(31648),x=i(87907),N=i(61460),w=i(30120),I=i(6322),j=i(68534),L=i(95387),T=i(76236),_=i(1799);let B=e=>{var t,i,B,C,E,R,S;let{note:M,onClick:A,children:D}=e,O=(0,T.CG)("user"),V=(0,a.NL)(),{push:P}=(0,x.H)(),{getBibleVersion:H}=(0,k.x)(),{open:G,exit:q}=(0,I.Z)(),{open:K,close:U}=(0,N.D)(),{mutateAsync:F}=(0,d.X)(),{mutateAsync:Q}=(0,c.g)(),W=(null==M?void 0:null===(t=M.account)||void 0===t?void 0:t._id)===(null==O?void 0:O._id),J=H(),Y=(0,_.a)(null!==(S=null==M?void 0:null===(i=M.account)||void 0===i?void 0:i.profileURL)&&void 0!==S?S:null==M?void 0:null===(B=M.account)||void 0===B?void 0:B.thumbnailURL),Z="devotion"===M.category||"prayer"===M.category,z="note"===M.category||"highlight"===M.category||"underline"===M.category,X=e=>{var t,i,n;let r=null==e?void 0:null===(t=e.reference)||void 0===t?void 0:t[0],a=(0,L.tq)(J),o=a.find(e=>e.book===(null==r?void 0:r.book)).abbr_en,c=null===(i=null==e?void 0:null===(n=e.reference)||void 0===n?void 0:n.map(e=>null==e?void 0:e.verse))||void 0===i?void 0:i.join(",");P("".concat(g.n.chapterPage(J,o,null==r?void 0:r.chapter),"?scroll_target=").concat(c))},$=e=>{var t;r.uT("[BasicNoteItem] dailyVerse missing",{level:"warning",extra:{action:e,noteId:M._id,category:M.category,accountId:null==M?void 0:null===(t=M.account)||void 0===t?void 0:t._id,createdAt:null==M?void 0:M.createdAt}})},ee=()=>{"devotion"===M.category&&M.dailyVerse&&P(g.n.devotionContent(M.dailyVerse._id)),"prayer"===M.category&&M.dailyVerse&&P("".concat(g.n.prayerComment(M.dailyVerse._id,M._id),"?action=revise")),"devotion"!==M.category&&"prayer"!==M.category||M.dailyVerse||$("edit"),"note"===M.category&&P(g.n.memotationDetailEdit(null==M?void 0:M._id)),("highlight"===M.category||"underline"===M.category)&&X(M),q()},et=async()=>{try{Z&&await F(M._id),z&&await Q(M._id),q(),K({message:"ìì ëìì´ì"}),V.invalidateQueries({queryKey:l.x.getNotes().queryKey}),V.invalidateQueries({queryKey:l.x.getBibleNotes().queryKey}),V.invalidateQueries({queryKey:l.x.getDevotionNotes().queryKey}),V.invalidateQueries({queryKey:l.x.getPrayerNotes().queryKey}),V.invalidateQueries({queryKey:l.x.getNoteCount().queryKey}),V.invalidateQueries({queryKey:o.b4.default({})})}catch(e){K({message:f.N.requestFailed})}},ei=()=>{q(),G(e=>{let{...t}=e;return(0,n.jsx)(m.Z,{...t,element:(0,n.jsx)(b.t,{title:"ë
¸í¸ë¥¼ ìì í ê¹ì?",primaryButtonLabel:"ìì í기",secondaryButtonLabel:"ì·¨ì",secondaryButtonType:"bezeledGray",isLoadingEnable:!0,onPrimaryClick:et,onSecondaryClick:q})})})},en=()=>{G(e=>{let{...t}=e;return(0,n.jsx)(u.Z,{...t,shadow:!0,element:(0,n.jsx)(h.U,{onClickDelete:ei,onClickEdit:ee})})})},er=()=>{"devotion"===M.category&&M.dailyVerse&&P(g.n.devotionNoteDetail(M.dailyVerse._id,M._id)),"prayer"===M.category&&M.dailyVerse&&P(g.n.prayerNoteDetail(M.dailyVerse._id,M._id)),"devotion"!==M.category&&"prayer"!==M.category||M.dailyVerse||$("click"),z&&P(g.n.memotationDetail(M._id)),null==A||A()};return(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:"flex flex-col gap-4 roun
1ded-2xl bg-fillsQuaternary px-4 py-6",role:"button",onClick:e=>{e.stopPropagation(),er()},children:[(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsxs)("div",{className:"flex items-center gap-2",children:[(0,n.jsx)(v.D,{imageUrl:Y}),(0,n.jsxs)("div",{className:"flex items-center gap-3",children:[(null==M?void 0:null===(C=M.account)||void 0===C?void 0:C.username)&&(0,n.jsx)(p.j,{bold:!0,color:j.yJ,children:null==M?void 0:null===(E=M.account)||void 0===E?void 0:E.username}),(0,n.jsx)(p.j,{children:null===(R=w.ou.fromISO(null==M?void 0:M.createdAt))||void 0===R?void 0:R.toFormat("yy.MM.dd")})]})]}),W&&(0,n.jsx)(s.L,{className:"absolute right-0 top-[50%] translate-y-[-50%] !p-2",onClick:en,children:(0,n.jsx)(y.Z,{color:j.dd})})]}),D]})})}},80441:function(e,t,i){i.d(t,{_:function(){return l}});var n=i(85893);i(67294);let r=e=>(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:49,height:48,fill:"none",...e,children:[(0,n.jsx)("path",{fill:e.color?e.color:"#333",d:"M10.5 6h28c2.2 0 4 1.78 4 4v28c0 1.06-.42 2.08-1.18 2.82-.74.76-1.76 1.18-2.82 1.18h-28c-1.06 0-2.08-.42-2.82-1.18A3.93 3.93 0 0 1 6.5 38V10c0-2.22 1.78-4 4-4m28 32V10h-28v28z"}),(0,n.jsx)("path",{fill:e.color?e.color:"#333",d:"M16.5 28h12c1.1 0 2-.9 2-2s-.9-2-2-2h-12c-1.1 0-2 .9-2 2s.9 2 2 2m16-12h-16c-1.1 0-2 .9-2 2v.02c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V18c0-1.1-.9-2-2-2"})]});var a=i(93607),o=i(95869),c=i(68534);let l=()=>(0,n.jsxs)("div",{className:"flex flex-col items-center justify-center gap-6 py-[60px] px-4 text-center",children:[(0,n.jsx)(r,{color:c.yJ}),(0,n.jsxs)("div",{className:"flex flex-col gap-3",children:[(0,n.jsx)(o.l,{bold:!0,children:"ìì§ ìì±í ë
¸í¸ê° ìì´ì"}),(0,n.jsxs)(a.j,{children:["ë
¸í¸ì íê´íì¼ë¡ 기ë¡ì ë¨ê²¨",(0,n.jsx)("br",{}),"ëë§ì ì±ê²½ì±
ì ë§ë¤ì´ë³´ì¸ì"]})]})]})},62732:function(e,t,i){i.d(t,{D:function(){return u},l:function(){return s}});var n=i(85893),r=i(57697),a=i(25675),o=i.n(a),c=i(67294),l=i(76236),d=i(1799);let s="/assets/profile-default.svg",u=e=>{var t;let{imageUrl:i,size:a=24,className:u=""}=e,{data:h,isSuccess:m,isLoading:b,isFetching:v}=(0,r.e)(),[y,p]=(0,c.useState)(!1),[g,f]=(0,c.useState)(s),k=null==h?void 0:null===(t=h.data)||void 0===t?void 0:t.payload,x=(0,l.CG)("user");return(0,c.useEffect)(()=>{if(!b&&!v){var e,t,i,n;if(m){let i=(0,d.a)(null!==(t=null!==(e=null==k?void 0:k.profileURL)&&void 0!==e?e:null==k?void 0:k.thumbnailURL)&&void 0!==t?t:s);f(i)}else{let e=(0,d.a)(null!==(n=null!==(i=null==x?void 0:x.profileURL)&&void 0!==i?i:null==x?void 0:x.thumbnailURL)&&void 0!==n?n:s);f(e)}}},[null==k?void 0:k.profileURL,null==k?void 0:k.thumbnailURL,v,b,m,null==x?void 0:x.profileURL,null==x?void 0:x.thumbnailURL]),(0,n.jsx)("span",{style:{width:a,height:a},className:"relative block shrink-0 overflow-hidden rounded rounded-[50%] border border-labelsTertiary ".concat(u),children:y?(0,n.jsx)(o(),{src:s,style:{minHeight:a+2,minWidth:a+2},className:"absolute left-[50%] top-[50%] min-h-[100%] min-w-[100%] translate-x-[-50%] translate-y-[-50%] object-cover",width:a+2,height:a+2,alt:"profile image"}):(0,n.jsx)(o(),{src:null!=i?i:g,style:{minHeight:a+2,minWidth:a+2},className:"absolute left-[50%] top-[50%] min-h-[100%] min-w-[100%] translate-x-[-50%] translate-y-[-50%] object-cover",width:a+2,height:a+2,alt:"profile image",onError:()=>p(!0)})})}},39648:function(e,t,i){i.d(t,{n:function(){return n}});let n={home:"/home",homeV2:"/home/v2",allServices:"/all-services",tierSelect:"/my/profile/tier",tierDetailSelect:"/my/profile/tier-detail",findChurch:"/church/find",profile:e=>"/profile/".concat(e),profileEdit:"/my/profile/edit",nickname:"/my/profile/nickname",editNickname:"/my/profile/edit/nickname",editIntroduction:"/my/profile/edit/introduction",editBibleCitation:"/my/profile/edit/bible-citation",myPageV2:"/my-page/v2",onboardingCompleted:"/onboarding/completed",churchRanking:"/church/list",churchMain:"/church",churchMainNationwide:"/church?initTab=church",churchInvitation:e=>"/church/".concat(e,"/invite"),churchDetail:e=>"/church/".concat(e),churchRankingByCity:e=>"/church/ranking/".concat(e),churchMap:"/church/map",onboardingPermissionNotification:"/onboarding/permission/notification",myAllMemotations:"/bible/memotations/my",memotationDetail:e=>"/bible/memotations/".concat(e),memotationDetailEdit:e=>"/bible/memotations/".concat(e,"/edit"),bible:"/bible",bibleBookmark:"/bible/bookmark",bibleTrackerList:"/bible/tracker/list",bibleTracker:e=>"/bible/tracker/".concat(e),bibleBookTracker:(e,t)=>"/bible/tracker/".concat(e,"/").concat(t),createBibleTracker:"/bible/tracker/create",bibleTrackerClosed:"/bible/tracker/closed",trackerDetail
1:e=>"/bible/tracker/detail/".concat(e),trackerSetting:e=>"/bible/tracker/detail/".concat(e,"/setting"),bibleTrackerOverview:e=>"/bible/tracker/detail/".concat(e,"/overview"),bibleTrackerOverviewWithPid:e=>"/bible/tracker/".concat(e,"/overview"),bibleTrackerInvitation:e=>"/bible/tracker/detail/".concat(e,"/invitation"),changeTrackerLeader:e=>"/bible/tracker/detail/".concat(e,"/setting/leader"),leaveBibleTracker:e=>"/bible/tracker/detail/".concat(e,"/leave"),deleteBibleTracker:e=>"/bible/tracker/detail/".concat(e,"/delete"),trackerSchedule:(e,t)=>{let i="/bible/tracker/detail/".concat(e,"/schedule");return(null==t?void 0:t.readOnly)?"".concat(i,"?readOnly=true"):i},trackerMembersRanking:(e,t)=>{let i="/bible/tracker/detail/".concat(e,"/ranking");return(null==t?void 0:t.period)?"".concat(i,"?period=").concat(t.period):i},trackerMembersDaily:(e,t)=>"/bible/tracker/detail/".concat(e,"/members/").concat(t),trackerProgressDetail:(e,t)=>"/bible/tracker/detail/".concat(e,"/progress/").concat(t),trackerMemberDetail:(e,t)=>"/bible/tracker/detail/".concat(e,"/member/").concat(t),trackerList:"/bible/tracker/list",trackerListAll:"/bible/tracker/all",editChallengeName:"/bible/tracker/edit/name",editChallengeDescription:"/bible/tracker/edit/description",editBibleTrackerBooks:"/bible/tracker/edit-books",editTrackerSchedule:e=>"/bible/tracker/detail/".concat(e,"/setting/edit-schedule"),editTrackerStartDate:e=>"/bible/tracker/detail/".concat(e,"/setting/edit-start-date"),editTrackerBooks:e=>"/bible/tracker/detail/".concat(e,"/setting/edit-books"),challengeBookDetail:(e,t)=>"/bible/tracker/detail/".concat(e,"/").concat(t),trackerBibleChapter:e=>{let t=new URLSearchParams({rangeType:e.rangeType});return void 0!==e.dayIndex&&t.set("dayIndex",String(e.dayIndex)),void 0!==e.bookIndex&&t.set("bookIndex",String(e.bookIndex)),e.source&&t.set("source",e.source),"/bible/tracker/".concat(e.challengeId,"/").concat(e.version,"/").concat(e.book,"/").concat(e.chapter,"?").concat(t.toString())},funding:"/funding",myAskHistory:"/my/ask-result",myQtHistory:"/my/content-comment",askResult:e=>"/ask/results/".concat(e),askList:"/ask",createQuestion:"/ask/create",versePage:(e,t,i,n)=>"/bible/".concat(e,"/").concat(t,"/").concat(i,"/").concat(n),chapterPage:(e,t,i)=>"/bible/".concat(e,"/").concat(t,"/").concat(i),chapterPageWithSelectedVerses:(e,t,i,n)=>"/bible/".concat(e,"/").concat(t,"/").concat(i,"?scroll_target=").concat(n),bookPage:(e,t)=>"/bible/".concat(e,"/").concat(t),writeMemotation:(e,t,i)=>"/bible/memotations/write?book=".concat(e,"&chapter=").concat(t,"&verse=(").concat(i,")"),prayerGift:"/gift/pray",prayerGiftResult:e=>"/gift/pray/".concat(e),prayerGiftInput:"/gift/pray/input",prayerGiftLoading:e=>"/gift/pray/loading?pid=".concat(e),prayerContent:e=>"/content/prayer/".concat(e),prayerComment:(e,t)=>"/content/prayer/".concat(e,"/").concat(t),devotionContent:e=>"/content/devotion/".concat(e),devotionComplete:e=>"/content/devotion/".concat(e,"/complete"),devotionNote:"/content/devotion/note",editDevotion:(e,t)=>"/content/devotion/".concat(e,"/note/").concat(t,"/edit"),devotionNotificationSetting:e=>"/content/devotion/notification-setting?target=".concat(e),newYearsWord:"/new-years-word",newYearsWordResult:e=>"/new-years-word/".concat(e),churchNewYearsWord:e=>"/new-years-word/2026/".concat(e),churchNewYearsWordResult:(e,t)=>"/new-years-word/2026/".concat(e,"/").concat(t),newYearsWordEvent:"/new-years-word/event",donation:"/donation",shareImage:"/share-image",devotionImage:e=>"/content/devotion/".concat(e,"/image"),shareImageAsk:e=>"/share-image?type=ask&pid=".concat(e),churchFormLanding:"/church/join",partnerApply:e=>"/partner-apply/".concat(e),churchFormLandingWithChurch:e=>"/church/join?churchId=".concat(e),churchFormLandingForNewChurch:"/church/join?isNewChurch=true",churchFormMain:"/form/church",churchRegisterForm:"/form/church/new",churchUpdateForm:e=>"/form/church/update?churchId=".concat(e),churchRecommendationLanding:"/church/recommendation",churchRecommendations:"/church/recommendations",churchRecommendationByChurch:e=>"/church/".concat(e,"/recommendations"),churchMembers:e=>"/church/".concat(e,"/members"),churchQtAttenders:e=>"/church/".concat(e,"/progress"),churchRecommendationMembers:e=>"/church/".concat(e,"/recommendation-members"),editChurchRecommendation:e=>{let{churchId:t,recommendationId:i}=e;return"/church/".concat(t,"/recommendation/").concat(i,"/edit")},payments:"/payments",billing:"/payments/billing",paymentsFailed:"/payments/fail",paymentsLoading:"/payments/loading",paymentsSuccess:"/payments/success",subscribe:"/membership",unsubscribe:"/unsubscribe",membershipGiftPray:"/membership/gift-pray",membershipManagement:"/membership/manage",giftMembership:"/membership/gift",redeemMembershipGift:"/membership/gift/redeem",donate:"/donate",scholarship:"/scholarship",devotionNoteList:"/note/devotion",prayerNoteList:"/note/prayer",bibleNoteList:"/note/bible",devotionNoteDetail:(e,t)=>"/content/devotion/".concat(e,"/note/").concat(t),prayerNoteDetail:(e,t)=>"/content/prayer/".concat(e,"/note/").concat(t),bibleNoteDetail:e=>"/note/bible/".concat(e),talent:"/talent",talentRoulette:"/talent/roulette",talentHistory:"/talent/history",inviteFriends:"/invite-friends",invitationCode:"/invitation-code",invitationNote:"/invitation-note",communityMain:"/community",sermonDetail:e=>"/sermon/".concat(e),sermonList:e=>e?"/sermon/list?sort=".concat(e):"/sermon/list",qtCalendar:"/qt/calendar",content:"/content"}},31648:function(e,t,i){i.d(t,{x:function(){return d}});var n=i(20416),r=i(48305),a=i(788),o=i(67294),c=i(95387),l=i(76236);let d=()=>{let{isLogin:e}=(0,a.Z)(),{isWebView:t}=(0,r.B9)(),i=(0,l.CG)("user"),d=(0,o.useCallback)(()=>
1{if(e){if(t){let e=window.localStorage.getItem(n.Jr.BIBLE_VERSION);return e||c.u4}{let e=window.sessionStorage.getItem(n.Jr.BIBLE_VERSION);return e||((null==i?void 0:i.bibleVersion)?i.bibleVersion:c.u4)}}return c.u4},[e,t,i.bibleVersion]),s=(0,o.useCallback)(()=>{if(e&&t){let e=window.localStorage.getItem(n.Jr.BIBLE_SETTING),t=e?JSON.parse(e):null,i=null==t?void 0:t.comparisonVersion;return i}return null},[e,t]);return{getBibleVersion:d,getBibleComparisonVersion:s}}},1799:function(e,t,i){i.d(t,{a:function(){return a}});let n="https://".concat("image.chowon.in","/assets/profile-default.png"),r=["http://t1.kakaocdn.net/account_images/default_profile.jpeg","http://k.kakaocdn.net/account_images/default_profile.jpeg","http://k.kakaocdn.net/dn/dpk9l1/btqmGhA2lKL/Oz0wDuJn1YV2DIn92f6DVK/img_640x640.jpg"],a=e=>{if(!e)return n;try{let t=decodeURIComponent(e);if(r.some(e=>t.includes(e)))return n;return e}catch(e){return n}}}}]);
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.