PageSourceSearch

https://cdn.apopro.dk/2026-09-17-12-49-50/_next/static/chunks/6214.a23c9f8b86858757.js

js apopro.dk collected 2026-09-25 02:39:47 UTC 13,114 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6214],{38318:(e,t,n)=>{n.d(t,{t:()=>o});var l=n(12115),i=n(19749),r=n(80825);function o(){let e=(0,i.c)(1),t=(0,l.useContext)(r.F8);if(!t){let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={upsellData:null,handleOpenDialog:h,handleClose:p,upsellDialogOpen:!1,telemetryLogs:{dialogSecondaryClicked:m,dialogPrimaryClicked:u,panelViewed:c,panelDismissed:d,panelPrimaryClicked:s,panelSecondaryClicked:a}},e[0]=t):t=e[0],t}return t}function a(){return null}function s(){return null}function d(){return null}function c(){return null}function u(){return null}function m(){return null}function p(){return null}function h(){return null}},96214:(e,t,n)=>{n.r(t),n.d(t,{CommentsInspector:()=>F});var l=n(37846),i=n(62858),r=n(80985),o=n(11695),a=n(17065),s=n(30020),d=n(90422),c=n(70568),u=n(55786),m=n(39115),p=n(10158),h=n(38318),f=n(12115),g=n(19749),x=n(95155),C=n(80825),y=n(73793),j=n(13478),k=n(21565),I=n(51862),b=n(6052),w=n(97931),v=n(71136),S=n(55684),P=n(94163),_=n(24035),z=n(68949);let E=(0,I.I4)(b.az).withConfig({displayName:"Root",componentId:"sc-eolnz3-0"})`max-width:280px;`,R=(0,I.i7)`from{opacity:0;}to{opacity:1;}`,D=(0,I.I4)(o.r).withConfig({displayName:"StyledPopover",componentId:"sc-eolnz3-1"})`opacity:0;animation:${R} 200ms 500ms forwards;`;function L(e){let t,n,r,o,s,d,c,u=(0,g.c)(23),m,p;u[0]===e?(m=u[1],p=u[2]):({onDismiss:m,...p}=e,u[0]=e,u[1]=m,u[2]=p);let{t:h}=(0,l.t)(a.b),f;return u[3]===h?f=u[4]:(f=h("onboarding.header"),u[3]=h,u[4]=f),u[5]===f?t=u[6]:(t=(0,x.jsx)(b.EY,{weight:"medium",size:1,as:"div",trim:!0,children:f}),u[5]=f,u[6]=t),u[7]===h?n=u[8]:(n=h("onboarding.body"),u[7]=h,u[8]=n),u[9]===n?r=u[10]:(r=(0,x.jsx)(b.EY,{size:1,as:"div",trim:!0,children:n}),u[9]=n,u[10]=r),u[11]===h?o=u[12]:(o=h("onboarding.dismiss"),u[11]=h,u[12]=o),u[13]!==m||u[14]!==o?(s=(0,x.jsx)(b.so,{justifyContent:"flex-end",marginTop:2,children:(0,x.jsx)(i.o,{text:o,tone:"primary",onClick:m})}),u[13]=m,u[14]=o,u[15]=s):s=u[15],u[16]!==t||u[17]!==r||u[18]!==s?(d=(0,x.jsx)(E,{padding:4,children:(0,x.jsxs)(b.Tk,{gap:3,children:[t,r,s]})}),u[16]=t,u[17]=r,u[18]=s,u[19]=d):d=u[19],u[20]!==p||u[21]!==d?(c=(0,x.jsx)(D,{content:d,open:!0,portal:!0,...p}),u[20]=p,u[21]=d,u[22]=c):c=u[22],c}function N(e){let t=(0,g.c)(4),{data:n,onPrimaryClick:l,onSecondaryClick:i}=e,r;return t[0]!==n||t[1]!==l||t[2]!==i?(r=(0,x.jsx)(b.mc,{size:1,children:(0,x.jsx)(b.az,{marginBottom:6,children:(0,x.jsx)(p.t,{data:n,onPrimaryClick:l,onSecondaryClick:i})})}),t[0]=n,t[1]=l,t[2]=i,t[3]=r):r=t[3],r}function V(e){let t,n,i,r=(0,g.c)(9),{error:o}=e,{t:s}=(0,l.t)(a.b),d;return r[0]===s?d=r[1]:(d=s("inspector-error.title"),r[0]=s,r[1]=d),r[2]===d?t=r[3]:(t=(0,x.jsx)(b.EY,{size:1,weight:"medium",as:"div",trim:!0,children:d}),r[2]=d,r[3]=t),r[4]===o.message?n=r[5]:(n=(0,x.jsx)(b.EY,{size:1,muted:!0,as:"div",trim:!0,children:o.message}),r[4]=o.message,r[5]=n),r[6]!==t||r[7]!==n?(i=(0,x.jsx)(b.az,{padding:2,children:(0,x.jsx)(y.s,{paddingX:2,paddingY:3,tone:"critical",border:!0,radius:3,children:(0,x.jsxs)(b.Tk,{gap:3,children:[t,n]})})}),r[6]=t,r[7]=n,r[8]=i):i=r[8],i}let Y=(0,I.I4)(y.s).withConfig({displayName:"Root",componentId:"sc-efi4zg-0"})({position:"relative",zIndex:"1",lineHeight:"0"});function T(e){let t,n,r,o,s,d,c,u,m,p,h,f,C,y,j,k,I=(0,g.c)(57),{t:w}=(0,l.t)(a.b),{ref:v,onClose:E,onViewChange:R,view:D,mode:L}=e,N;I[0]===R?N=I[1]:(N=()=>R("open"),I[0]=R,I[1]=N);let V=N,T;I[2]===R?T=I[3]:(T=()=>R("resolved"),I[2]=R,I[3]=T);let B=T,F;I[4]===w?F=I[5]:(F=w("feature-name"),I[4]=w,I[5]=F),I[6]===F?t=I[7]:(t=(0,x.jsx)(b.so,{alignItems:"center",flexBasis:"0%",flexGrow:1,gap:2,paddingY:2,padding:3,children:(0,x.jsx)(b.EY,{as:"h1",size:1,weight:"medium",trim:!0,children:F})}),I[6]=F,I[7]=t),I[8]!==w||I[9]!==D?(n=w("open"===D?"status-filter.status-open":"status-filter.status-resolved"),I[8]=w,I[9]=D,I[10]=n):n=I[10],I[11]===n?r=I[12]:(r=(0,x.jsx)(i.o,{text:n,mode:"bleed",iconRight:P.ChevronDownIcon}),I[11]=n,I[12]=r),I[13]===Symbol.for("react.memo_cache_sentinel")?(o={width:"180px"},I[13]=o):o=I[13];let G="open"===D?z.CheckmarkIcon:void 0,O;I[14]===w?O=I[15]:(O=w("status-filter.status-open-full"),I[14]=w,I[15]=O),I[16]!==V||I[17]!==G||I[18]!==O?(s=(0,x.jsx)(i.r,{iconRight:G,onClick:V,text:O}),I[16]=V,I[17]=G,I[18]=O,I[19]=s):s=I[19];let H="resolved"===D?z.CheckmarkIcon:void 0,A;I[20]===w?A=I[21]:(A=w("status-filter.status-resolved-full"),I[20]=w,I[21]=A),I[22]!==L||I[23]!==w?(d="upsell"===L?{content:w("status-filter.status-resolved-full-upsell")}:void 0,I[22]=L,I[23]=w,I[24]=d):d=I[24];let q="upsell"===L,M;return I[25]!==B||I[26]!==H||I[27]!==A||I[28]!==d||I[29]!==q?(M=(0,x.jsx)(i.r,{iconRight:H,onClick:B,text:A,tooltipProps:d,disabled:q}),I[25]=B,I[26]=H,I[27]=A,I[28]=d,I[29]=q,I[30]=M):M=I[30],I[31]!==M||I[32]!==s?(c=(0,x.jsxs)(_.W1,{style:o,children:[s,M]}),I[31]=M,I[32]=s,I[33]=c):c=I[33],I[34]===Symbol.for("react.memo_cache_sentinel")?(u={placement:"bottom-end"},I[34]=u):u=I[34],I[35]!==c||I[36]!==r?(m=(0,x.jsx)(i.i,{id:"comment-status-menu-button",button:r,menu:c,popover:u}),I[35]=c,I[36]=r,I[37]=m):m=I[37],I[38]===w?p=I[39]:(p=w("close-pane-button-text-aria-label"),I[38]=w,I[39]=p),I[40]===w?h=I[41]:(h=w("close-pane-button-text"),I[40]=w,I[41]=h),I[42]===h?f=I[43]:(f={content:h},I[42]=h,I[43]=f),I[44]!==E||I[45]!==p||I[46]!==f?(C=(0,x.jsx)(i.o,{"aria-label":p,icon:S.CloseIcon,mode:"bleed",onClick:E,tooltipProps:f}),I[44]=E,I[45]=p,I[46]=f,I[47]=C):C=I[47],I[48]!==m||I[49]!==C?(y=(0,x.jsxs)(b.so,{flexBasis:"auto",flexGrow:0,flexShrink:0,padding:1,gap:2,children:[m,C]}),I[48]=m,I[49]=C,I[50]=y):y=I[50],I[51]!==y||I[52]!==t?(j=(0,x.jsxs)(b.so,{padding:2,children:[t,
1y]}),I[51]=y,I[52]=t,I[53]=j):j=I[53],I[54]!==v||I[55]!==j?(k=(0,x.jsx)(Y,{ref:v,children:j}),I[54]=v,I[55]=j,I[56]=k):k=I[56],k}let B=(0,I.I4)(j.t).withConfig({displayName:"RootLayer",componentId:"sc-6atkmk-0"})`display:flex;flex-direction:column;height:100%;overflow:hidden;`;function F(e){let t,n=(0,g.c)(3),{enabled:l,mode:i}=(0,u.t)();return l?(n[0]!==i||n[1]!==e?(t=(0,x.jsx)(B,{children:(0,x.jsx)(G,{...e,mode:i})}),n[0]=i,n[1]=e,n[2]=t):t=n[2],t):null}function G(e){let t,n,i,o,u,p,j,I,S,P=(0,g.c)(122),{t:_}=(0,l.t)(a.b),{onClose:z,mode:E}=e,[R,D]=(0,f.useState)(!1),[Y,B]=(0,f.useState)(null),[F,G]=(0,f.useState)(!1),[H,A]=(0,f.useState)(null),q=(0,f.useRef)(null),[M,W]=(0,f.useState)(null),X=(0,r.n)(),{comments:$,getComment:J,isCreatingDataset:K,mentionOptions:Q,setStatus:U,status:Z,operation:ee,selectedCommentId:et,getCommentLink:en,onClearSelectedComment:el,onPathOpen:ei}=(0,a.t)(),er=(0,f.useRef)(et),{error:eo}=(0,c.t)(),ea=(0,f.useRef)(!1),es=(0,v.dj)().push,{isTopLayer:ed}=(0,y.t)(),ec;P[0]===M?ec=P[1]:(ec={boundaryElement:M},P[0]=M,P[1]=ec);let{scrollToComment:eu,scrollToField:em,scrollToInlineComment:ep}=(0,a.y)(ec),{selectedPath:eh,setSelectedPath:ef}=(0,m.t)(),{isDismissed:eg,setDismissed:ex}=function(){let e=(0,f.useContext)(C.lG);if(!e)throw Error("useCommentsOnboarding: missing context value");return e}(),eC=(0,d.t)(),{upsellData:ey,telemetryLogs:ej}=(0,h.t)(),ek=$.data[Z],{loading:eI}=$,eb;P[2]!==ef||P[3]!==U||P[4]!==eC?(eb=e=>{U(e),ef(null),eC.commentListViewChanged(e)},P[2]=ef,P[3]=U,P[4]=eC,P[5]=eb):eb=P[5];let ew=eb,ev;P[6]!==z||P[7]!==ef?(ev=()=>{z(),ef(null)},P[6]=z,P[7]=ef,P[8]=ev):ev=P[8];let eS=ev,eP;e:{let e;if(!en){eP=void 0;break e}P[9]!==en||P[10]!==es||P[11]!==_||P[12]!==eC?(e=e=>{navigator.clipboard.writeText(en(e)).catch(()=>{es({closable:!0,status:"error",title:_("copy-link-error-message")})}),eC.commentLinkCopied()},P[9]=en,P[10]=es,P[11]=_,P[12]=eC,P[13]=e):e=P[13],eP=e}let e_=eP,ez;P[14]!==J||P[15]!==ee?(ez=e=>{let t=J(e);t&&ee.create({type:"field",fieldPath:t.target.path?.field||"",id:t._id,message:t.message,parentCommentId:t.parentCommentId,reactions:t.reactions||[],status:t.status,threadId:t.threadId})},P[14]=J,P[15]=ee,P[16]=ez):ez=P[16];let eE=ez,eR;P[17]===F?eR=P[18]:(eR=()=>{F||(D(!1),B(null))},P[17]=F,P[18]=eR);let eD=eR,eL;P[19]!==$.data.open||P[20]!==ei||P[21]!==em||P[22]!==ep||P[23]!==ef?(eL=e=>{if(ef(e),e?.fieldPath){let t=w.sH(e.fieldPath);ei?.(t),em(e.fieldPath),$.data.open.filter(t=>t.threadId===e?.threadId).some(O)&&e.threadId&&ep(e.threadId)}},P[19]=$.data.open,P[20]=ei,P[21]=em,P[22]=ep,P[23]=ef,P[24]=eL):eL=P[24];let eN=eL,eV;P[25]!==ee||P[26]!==ef?(eV=e=>{let t=e?.payload?.fieldPath||"";ee.create({type:"field",fieldPath:t,message:e.message,parentCommentId:e.parentCommentId,reactions:e.reactions,status:e.status,threadId:e.threadId}),ef({fieldPath:t,origin:"inspector",threadId:e.threadId})},P[25]=ee,P[26]=ef,P[27]=eV):eV=P[27];let eY=eV,eT;P[28]===ee?eT=P[29]:(eT=e=>{ee.create({...e,type:"field",fieldPath:e?.payload?.fieldPath||""})},P[28]=ee,P[29]=eT);let eB=eT,eF;P[30]===ee?eF=P[31]:(eF=(e,t)=>{ee.update(e,t)},P[30]=ee,P[31]=eF);let eG=eF,eO;P[32]===ek?eO=P[33]:(eO=e=>{let t=ek.find(t=>t.parentComment?._id===e),n=!!(t&&t?.replies?.length>0);D(!0),B({commentId:e,isParent:n})},P[32]=ek,P[33]=eO);let eH=eO,eA;P[34]!==eD||P[35]!==ee?(eA=async e=>{try{G(!0),await ee.remove(e),eD()}catch(e){A(e)}G(!1)},P[34]=eD,P[35]=ee,P[36]=eA):eA=P[36];let eq=eA,eM;P[37]!==J||P[38]!==ee||P[39]!==eu||P[40]!==ef||P[41]!==U?(eM=(e,t)=>{if(ee.update(e,{status:t}),"open"===t){U("open");let t=J(e);t&&(ef({fieldPath:t.target.path?.field||null,origin:"inspector",threadId:t.threadId||null}),eu(e))}},P[37]=J,P[38]=ee,P[39]=eu,P[40]=ef,P[41]=U,P[42]=eM):eM=P[42];let eW=eM,eX;P[43]===ee?eX=P[44]:(eX=(e,t)=>{ee.react(e,t)},P[43]=ee,P[44]=eX);let e$=eX,eJ;P[45]!==ed||P[46]!==eh||P[47]!==ef?(eJ=()=>{eh&&ed&&ef(null)},P[45]=ed,P[46]=eh,P[47]=ef,P[48]=eJ):eJ=P[48];let eK=eJ,eQ;P[49]===Symbol.for("react.memo_cache_sentinel")?(eQ=e=>{q.current=e,W(e)},P[49]=eQ):eQ=P[49];let eU=eQ,eZ;P[50]===eK?eZ=P[51]:(eZ=e=>{e.target instanceof HTMLElement&&e.target?.hasAttribute("data-pt-text")||eK()},P[50]=eK,P[51]=eZ),P[52]===Symbol.for("react.memo_cache_sentinel")?(t=()=>[q.current],P[52]=t):t=P[52],(0,k.t)(eZ,t);let[e1,e0]=(0,f.useState)(!1),e2;P[53]!==e1||P[54]!==E||P[55]!==eh?.origin||P[56]!==ej?(e2=()=>{if(!(e1||"upsell"!==E))return e0(!0),eh?.origin==="form"?ej.panelViewed("field_action"):er.current?ej.panelViewed("link"):ej.panelViewed("document_action"),()=>{ej.panelDismissed()}},P[53]=e1,P[54]=E,P[55]=eh?.origin,P[56]=ej,P[57]=e2):e2=P[57];let e3=eh?.origin,e4;P[58]!==e1||P[59]!==E||P[60]!==e3||P[61]!==ej?(e4=[e1,E,e3,ej],P[58]=e1,P[59]=E,P[60]=e3,P[61]=ej,P[62]=e4):e4=P[62],(0,f.useEffect)(e2,e4),P[63]!==J||P[64]!==eN||P[65]!==eI||P[66]!==el||P[67]!==eu||P[68]!==U||P[69]!==eC?(n=()=>{let e=J(er.current||"");eI||!e||ea.current||(U(e.status||"open"),eN({fieldPath:e.target.path?.field||null,origin:"url",threadId:e.threadId||null}),requestAnimationFrame(()=>{eu(e._id)}),ea.current=!0,er.current=void 0,el?.(),eC.commentViewedFromLink())},i=[J,eN,eI,el,eu,U,eC],P[63]=J,P[64]=eN,P[65]=eI,P[66]=el,P[67]=eu,P[68]=U,P[69]=eC,P[70]=n,P[71]=i):(n=P[70],i=P[71]),(0,f.useEffect)(n,i);t:{if("upsell"===E&&ey){let e;P[72]!==ey||P[73]!==ej.panelPrimaryClicked||P[74]!==ej.panelSecondaryClicked?(e=(0,x.jsx)(N,{data:ey,onPrimaryClick:ej.panelPrimaryClicked,onSecondaryClick:ej.panelSecondaryClicked}),P[72]=ey,P[73]=ej.panelPrimaryClicked,P[74]=ej.panelSecondaryClicked,P[75]=e):e=P[75],o=e;break t}o=null}let e5=o,e8;
1P[76]!==eD||P[77]!==Y||P[78]!==H||P[79]!==F||P[80]!==eq||P[81]!==R?(e8=Y&&R&&(0,x.jsx)(s.r,{...Y,error:H,loading:F,onClose:eD,onConfirm:eq}),P[76]=eD,P[77]=Y,P[78]=H,P[79]=F,P[80]=eq,P[81]=R,P[82]=e8):e8=P[82];let e6=!eg,e9;return P[83]!==ew||P[84]!==eS||P[85]!==E||P[86]!==Z?(e9=(0,x.jsx)(T,{onClose:eS,onViewChange:ew,view:Z,mode:E}),P[83]=ew,P[84]=eS,P[85]=E,P[86]=Z,P[87]=e9):e9=P[87],P[88]!==ex||P[89]!==e6||P[90]!==e9?(u=(0,x.jsx)(L,{onDismiss:ex,open:e6,placement:"left-start",children:e9}),P[88]=ex,P[89]=e6,P[90]=e9,P[91]=u):u=P[91],P[92]===eo?p=P[93]:(p=eo&&(0,x.jsx)(V,{error:eo}),P[92]=eo,P[93]=p),P[94]!==e5||P[95]!==$.error||P[96]!==ek||P[97]!==X||P[98]!==e_||P[99]!==eE||P[100]!==eG||P[101]!==eY||P[102]!==eN||P[103]!==e$||P[104]!==eB||P[105]!==eW||P[106]!==K||P[107]!==eI||P[108]!==Q||P[109]!==E||P[110]!==eH||P[111]!==eh||P[112]!==Z?(j=X&&(0,x.jsx)(d.n,{beforeListNode:e5,comments:ek,currentUser:X,error:$.error,loading:eI,mentionOptions:Q,mode:E,onCopyLink:e_,onCreateRetry:eE,onDelete:eH,onEdit:eG,onNewThreadCreate:eY,onPathSelect:eN,onReactionSelect:e$,onReply:eB,onStatusChange:eW,readOnly:K,selectedPath:eh,status:Z}),P[94]=e5,P[95]=$.error,P[96]=ek,P[97]=X,P[98]=e_,P[99]=eE,P[100]=eG,P[101]=eY,P[102]=eN,P[103]=e$,P[104]=eB,P[105]=eW,P[106]=K,P[107]=eI,P[108]=Q,P[109]=E,P[110]=eH,P[111]=eh,P[112]=Z,P[113]=j):j=P[113],P[114]!==eK||P[115]!==u||P[116]!==p||P[117]!==j?(I=(0,x.jsxs)(b.so,{flexDirection:"column",flexBasis:"0%",flexGrow:1,height:"100%",onClick:eK,overflow:"hidden",ref:eU,children:[u,p,j]}),P[114]=eK,P[115]=u,P[116]=p,P[117]=j,P[118]=I):I=P[118],P[119]!==e8||P[120]!==I?(S=(0,x.jsxs)(f.Fragment,{children:[e8,I]}),P[119]=e8,P[120]=I,P[121]=S):S=P[121],S}function O(e){return(0,a.f)(e.parentComment)}}}]);
2//# sourceMappingURL=6214.a23c9f8b86858757.js.map

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.