PageSourceSearch

https://www.meetapex.ai/_next/static/chunks/5766.89f12a80e695bfea.js

js meetapex.ai collected 2026-10-05 12:17:33 UTC 13,647 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1544,5766],{11544:(e,t,n)=>{n.r(t),n.d(t,{AddCommentIcon:()=>o,default:()=>o});var l=n(12115),r=n(95155);let o=(0,l.forwardRef)(function(e,t){return(0,r.jsx)("svg",{"data-sanity-icon":"add-comment",width:"1em",height:"1em",viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,ref:t,children:(0,r.jsx)("path",{d:"M13 6.5H7.5C6.39543 6.5 5.5 7.39543 5.5 8.5V14.5C5.5 15.6046 6.39543 16.5 7.5 16.5H9.5V20.5L13.5 16.5H16.5C17.6046 16.5 18.5 15.6046 18.5 14.5V12M15 6.5H22M18.5 10V3",stroke:"currentColor",strokeWidth:1.2,strokeLinejoin:"round"})})})},38318:(e,t,n)=>{n.d(t,{t:()=>a});var l=n(12115),r=n(19749),o=n(80825);function a(){let e=(0,r.c)(1),t=(0,l.useContext)(o.F8);if(!t){let t;return e[0]===Symbol.for("react.memo_cache_sentinel")?(t={upsellData:null,handleOpenDialog:p,handleClose:f,upsellDialogOpen:!1,telemetryLogs:{dialogSecondaryClicked:m,dialogPrimaryClicked:s,panelViewed:d,panelDismissed:u,panelPrimaryClicked:c,panelSecondaryClicked:i}},e[0]=t):t=e[0],t}return t}function i(){return null}function c(){return null}function u(){return null}function d(){return null}function s(){return null}function m(){return null}function f(){return null}function p(){return null}},45766:(e,t,n)=>{n.r(t),n.d(t,{CommentsInput:()=>W});var l=n(5800),r=n(41772),o=n(64607),a=n(37846),i=n(79922),c=n(32855),u=n(37761),d=n(70568),s=n(55786),m=n(39115),f=n(38318),p=n(12115),h=n(19749),y=n(95155),g=n(9135),b=n(40220),S=n(8395),C=n(97931),_=n(67242),v=n(52176),k=n(80642),x=n(13638),w=n(98825),I=n(36958),D=n(27202),E=n(11544);let j=(0,S.I4)(v.PY1.create(l.r)).withConfig({displayName:"MotionPopover",componentId:"sc-ag8b4-0"})`user-select:none;`,O=["bottom","top"],P={hidden:{opacity:0,y:-4},visible:{opacity:1,y:0}};function M(e){let t,n=(0,h.c)(13),{disabled:l,onClick:o,onClickOutside:i,referenceElement:d}=e,s=(0,p.useRef)(null),{t:m}=(0,a.t)(c.b),f;n[0]===Symbol.for("react.memo_cache_sentinel")?(f=()=>[s.current],n[0]=f):f=n[0],(0,g.y)(i,f),n[1]===m?t=n[2]:(t=m("inline-add-comment-button.disabled-overlap-title"),n[1]=m,n[2]=t);let b=t,S;n[3]===m?S=n[4]:(S=m("inline-add-comment-button.title"),n[3]=m,n[4]=S);let C=l?b:S,_=l?u.o:E.AddCommentIcon,v;n[5]!==l||n[6]!==o||n[7]!==_||n[8]!==C?(v=(0,y.jsx)(r.a,{"data-testid":"inline-comment-button",disabled:l,icon:_,mode:"bleed",onClick:o,ref:s,text:C}),n[5]=l,n[6]=o,n[7]=_,n[8]=C,n[9]=v):v=n[9];let k=v,x;return n[10]!==k||n[11]!==d?(x=(0,y.jsx)(j,{animate:"visible",content:k,contentEditable:!1,fallbackPlacements:O,initial:"hidden",open:!0,padding:1,placement:"bottom",portal:!0,referenceElement:d,variants:P}),n[10]=k,n[11]=d,n[12]=x):x=n[12],x}let R=["bottom","top"],L=(0,S.I4)(g.O).withConfig({displayName:"RootStack",componentId:"sc-txd2dr-0"})`width:250px;`;function V(e){let t,n,r=(0,h.c)(17),{currentUser:o,mentionOptions:a,onChange:i,onClickOutside:u,onDiscardConfirm:d,onSubmit:s,referenceElement:m,value:f}=e,b=(0,p.useRef)(null),S=(0,p.useRef)(null),C;r[0]===d?C=r[1]:(C=()=>{b.current?.discardDialogController.close(),d()},r[0]=d,r[1]=C);let _=C,v;r[2]===Symbol.for("react.memo_cache_sentinel")?(v=()=>{b.current?.discardDialogController.close()},r[2]=v):v=r[2];let k=v,x;r[3]!==u||r[4]!==f?(x=()=>{(0,c.d)(f)?b.current?.discardDialogController.open():u()},r[3]=u,r[4]=f,r[5]=x):x=r[5],r[6]===Symbol.for("react.memo_cache_sentinel")?(t=()=>[S.current],r[6]=t):t=r[6],(0,g.y)(x,t),r[7]!==o||r[8]!==_||r[9]!==a||r[10]!==i||r[11]!==s||r[12]!==f?(n=(0,y.jsx)(L,{padding:2,ref:S,children:(0,y.jsx)(c.o,{currentUser:o,focusLock:!0,focusOnMount:!0,mentionOptions:a,onChange:i,onDiscardCancel:k,onDiscardConfirm:_,onSubmit:s,ref:b,value:f})}),r[7]=o,r[8]=_,r[9]=a,r[10]=i,r[11]=s,r[12]=f,r[13]=n):n=r[13];let w=n,I;return r[14]!==w||r[15]!==m?(I=(0,y.jsx)(l.r,{content:w,"data-ui":"InlineCommentInputPopover",fallbackPlacements:R,open:!0,placement:"bottom",portal:!0,referenceElement:m}),r[14]=w,r[15]=m,r[16]=I):I=r[16],I}let A=[];function T(e){let t,n=(0,h.c)(5),{enabled:l,mode:r}=(0,s.t)(),o=(0,i.t)(),a="sanity.assist.instruction.prompt"===e.schemaType.n
1ame,c=!!o.__internal_comments;if(!l||a||!c){let t;return n[0]===e?t=n[1]:(t=e.renderDefault(e),n[0]=e,n[1]=t),t}return n[2]!==r||n[3]!==e?(t=(0,y.jsx)(H,{...e,mode:r}),n[2]=r,n[3]=e,n[4]=t):t=n[4],t}let H=(0,p.memo)(function(e){var t;let n,l,r,a,s,S,v,E,j,O=(0,h.c)(101),{mode:P}=e,R=(0,o.p)(),L=(0,g.M)(),{comments:T,getComment:H,mentionOptions:W,onCommentsOpen:X,operation:Y,setStatus:Z,status:z}=(0,c.t)(),{error:J}=(0,d.t)(),{setSelectedPath:K,selectedPath:Q}=(0,m.t)(),{scrollToComment:$,scrollToGroup:ee}=(0,c.y)(),{handleOpenDialog:et}=(0,f.t)(),[en,el]=(0,p.useState)(!1),er=(0,p.useRef)(null),eo;O[0]===Symbol.for("react.memo_cache_sentinel")?(eo=[],O[0]=eo):eo=O[0];let ea=(0,i.r)(eo),ei=(0,p.useRef)(ea),ec,eu;O[1]===ea?(ec=O[2],eu=O[3]):(ec=()=>{ei.current=ea},eu=[ea],O[1]=ea,O[2]=ec,O[3]=eu),(0,p.useLayoutEffect)(ec,eu);let[ed,es]=(0,p.useState)(null),[em,ef]=(0,p.useState)(null),[ep,eh]=(0,p.useState)(null),[ey,eg]=(0,p.useState)(null),[eb,eS]=(0,p.useState)(null),[eC,e_]=(0,p.useState)(null),[ev,ek]=(0,p.useState)(!1),[ex,ew]=(0,p.useState)(null),[eI,eD]=(0,p.useState)(!1),[eE,ej]=(0,p.useState)(A),[eO,eP]=(0,p.useState)(null),eM;O[4]===Symbol.for("react.memo_cache_sentinel")?(eM=()=>er.current?D.Og.getFragment(er.current):A,O[4]=eM):eM=O[4];let eR=eM,eL;O[5]===Symbol.for("react.memo_cache_sentinel")?(eL=()=>{let e,t;eS((e=window.getSelection(),t=null,e&&e.rangeCount>0&&(t=e.getRangeAt(0)),t?.getBoundingClientRect()||null))},O[5]=eL):eL=O[5];let eV=eL,eA;O[6]===Symbol.for("react.memo_cache_sentinel")?(eA=()=>{eg(null),eS(null),eh(null),ef(null),ek(!1),es(null),eP(null)},O[6]=eA):eA=O[6];let eT=eA,eH;O[7]!==ey||O[8]!==et||O[9]!==P?(eH=()=>{"upsell"===P?et("pte"):(eP(eR()||null),eh(ey))},O[7]=ey,O[8]=et,O[9]=P,O[10]=eH):eH=O[10];let eB=eH,eN;O[11]===Symbol.for("react.memo_cache_sentinel")?(eN=()=>{eT()},O[11]=eN):eN=O[11];let eF=eN,eq;if(O[12]!==T.data.open||O[13]!==e.path){let t;O[15]===e.path?t=O[16]:(t=t=>{let n=(0,c.p)(t.fieldPath);return!!n&&C.w1(e.path,n)},O[15]=e.path,O[16]=t),eq=T.data.open.filter(N).filter(t).map(F),O[12]=T.data.open,O[13]=e.path,O[14]=eq}else eq=O[14];let eG=eq,eU;O[17]!==eO||O[18]!==ep||O[19]!==X||O[20]!==Y||O[21]!==e.path||O[22]!==ee||O[23]!==K||O[24]!==Z||O[25]!==z?(eU=t=>{if(!ep||!er.current)return;let n=ep.backward?{backward:!1,anchor:ep.focus,focus:ep.anchor}:ep,l=(0,u.n)(ei.current,e.path,n.focus.path);if(!l)return;let r=(0,u.t)({fragment:eO||A,selection:n,documentValue:ei.current,basePath:e.path}),o=(0,w.A)();Y.create({type:"field",contentSnapshot:eO,fieldPath:l,message:t,parentCommentId:void 0,reactions:A,selection:r,status:"open",threadId:o}),X?.(),"resolved"===z&&Z("open"),K({fieldPath:l,threadId:o,origin:"form"}),ee(o),eT()},O[17]=eO,O[18]=ep,O[19]=X,O[20]=Y,O[21]=e.path,O[22]=ee,O[23]=K,O[24]=Z,O[25]=z,O[26]=eU):eU=O[26];let eW=eU,eX;O[27]!==H||O[28]!==X||O[29]!==$||O[30]!==K?(eX=e=>{let t=H(e);t&&(K({fieldPath:t.target.path?.field||"",threadId:t.threadId,origin:"form"}),X?.(),$(t._id))},O[27]=H,O[28]=X,O[29]=$,O[30]=K,O[31]=eX):eX=O[31];let eY=eX,eZ=(0,p.useRef)(!1),ez;O[32]===en?ez=O[33]:(ez=e=>{let t=e?.anchor.offset!==e?.focus.offset;if(!eR()?.every(x.L4)||!t)return void ek(!1);if(eZ.current){eZ.current=!1;return}en||eV(),eg(e),ek(!0)},O[32]=en,O[33]=ez);let eJ=(t=ez,(n=(0,h.c)(2))[0]===t?l=n[1]:(l=(0,I.A)(t,200),n[0]=t,n[1]=l),l),eK;O[34]===Symbol.for("react.memo_cache_sentinel")?(eK=()=>{(0,p.startTransition)(()=>el(!0))},O[34]=eK):eK=O[34];let eQ=eK,e$;O[35]===Symbol.for("react.memo_cache_sentinel")?(e$=()=>{(0,p.startTransition)(()=>el(!1)),eV()},O[35]=e$):e$=O[35];let e0=e$,e1;O[36]===Symbol.for("react.memo_cache_sentinel")?(e1=e=>{let{rangeDecoration:t,newSelection:n}=e,l=t.payload?.commentId;ej(e=>e.map(e=>e.payload?.commentId===l?{...t,selection:n,payload:{...t.payload,dirty:!0}}:e))},O[36]=e1):e1=O[36];let e5=e1,e2;O[37]!==eE||O[38]!==H||O[39]!==Y||O[40]!==e.path?(e2=()=>{let t=eE.filter(q);0!==t.length&&(t.forEach(t=>{let n=H(t.payload?.commentId||"");if(!n||!er.current)return;let l=D.Og.getValue(er.current)||A,[r]=(0,u.i)({comments:[n],value:l,documentValue:ei.current,basePath:e.path}),o=r?.range?[r.range]:A,a=r?[...n.target.path?.selection?.value.filter(e=>e._key!==o[0]?._key).concat(o).flat().sort(G)||A]:A,i={target:{...n.target,path:{...n.target?.path,field:n.target.path?.field||"",selection:{type:"text",value:a}}}};(0,_.A)(n.target,i.target)||Y.update(n._id,i)}),ej(e=>e.map(e=>t.find(t=>t.payload?.commentId===e.payload?.commentId)?.payload?.dirty?{...e,payload:{...e.payload,dirty:!1}}:e).filter(U)))},O[37]=eE,O[38]=H,O[39]=Y,O[40]=e.path,O[41]=e2):e2=O[41];let e4=e2,e3;O[42]!==eC||O[43]!==eY||O[44]!==e.path||O[45]!==Q?.threadId?(e3=t=>{if(!er.current)return A;let n=D.Og.getValue(er.current)||A;return(0,u.r)({comments:t,currentHoveredCommentId:eC,onDecorationClick:eY,onDecorationHoverEnd:e_,onDecorationHoverStart:e_,onDecorationMoved:e5,selectedThreadId:Q?.threadId||null,value:n,documentValue:ei.current,basePath:e.path})},O[42]=eC,O[43]=eY,O[44]=e.path,O[45]=Q?.threadId,O[46]=e3):e3=O[46],Q?.threadId;let e6=e3,e8;O[47]!==eJ||O[48]!==e4?(e8=e=>{"mutation"===e.type&&e4(),"blur"===e.type&&(eZ.current=!0),"selection"===e.type&&eJ(e.selection)},O[47]=eJ,O[48]=e4,O[49]=e8):e8=O[49];let e7=e8,e9;e:{let e,t;if(!ep){e9=null;break e}O[50]===Symbol.for("react.memo_cache_sentinel")?(e=e=>{let{children:t}=e;return(0,y.jsx)(u.a,{isAuthoring:!0,ref:es,children:t})}
1,O[50]=e):e=O[50],O[51]===ep?t=O[52]:(t={component:e,selection:ep},O[51]=ep,O[52]=t),e9=t}let te=e9,tt=e?.rangeDecorations||A,tn;O[53]!==eE||O[54]!==te||O[55]!==tt?(tn=[...tt,...te?[te]:A,...eE],O[53]=eE,O[54]=te,O[55]=tt,O[56]=tn):tn=O[56];let tl=tn,[tr,to]=(0,p.useState)(!1),ta,ti;O[57]!==eE||O[58]!==ey?(ta=()=>{(0,p.startTransition)(()=>to(()=>!!ey&&0!==eE.length&&eE.some(e=>{if(!er.current)return!1;let t=D.Og.isSelectionsOverlapping(er.current,ey,e.selection),n=D.Og.isSelectionsOverlapping(er.current,e.selection,ey);return t||n})))},ti=[eE,ey],O[57]=eE,O[58]=ey,O[59]=ta,O[60]=ti):(ta=O[59],ti=O[60]),(0,p.useEffect)(ta,ti);let tc=eI?document.body:L.elements?.documentScrollElement||document.body,tu=eI?L.elements?.documentScrollElement||document.body:ex,td=!ep||!ed,ts;O[61]!==tc||O[62]!==td?(ts={scrollElement:tc,disabled:td,selector:'[data-inline-comment-state="authoring"]'},O[61]=tc,O[62]=td,O[63]=ts):ts=O[63];let tm=function(e){let t=(0,h.c)(6),{scrollElement:n,disabled:l,selector:r}=e,o;t[0]!==l||t[1]!==n||t[2]!==r?(o={scrollElement:n,disabled:l,selector:r},t[0]=l,t[1]=n,t[2]=r,t[3]=o):o=t[3];let a=function(e){let t=(0,h.c)(5),{scrollElement:n,disabled:l,selector:r}=e,[o,a]=(0,p.useState)(null),i,c;return t[0]!==l||t[1]!==n||t[2]!==r?(i=()=>{if(l)return;let e=()=>{let e=document?.querySelectorAll(r);e&&a(function(e){if(!e||!e.length)return null;let t=e.map(e=>e.getBoundingClientRect()),n=Math.min(...t.map(e=>e.x))||0,l=Math.min(...t.map(e=>e.y))||0,r=Math.max(...t.map(e=>e.right))||0,o=Math.max(...t.map(e=>e.bottom))||0;return{x:n,y:l,width:r-n,height:o-l,top:l,right:r,bottom:o,left:n}}(Array.from(e)))};if(e(),n)return n.addEventListener("wheel",e),()=>{n.removeEventListener("wheel",e)}},c=[n,l,r],t[0]=l,t[1]=n,t[2]=r,t[3]=i,t[4]=c):(i=t[3],c=t[4]),(0,p.useEffect)(i,c),o}(o),i;e:{let e;if(!a){i=null;break e}t[4]===a?e=t[5]:(e={getBoundingClientRect:()=>a},t[4]=a,t[5]=e),i=e}return i}(ts),tf;t:{let e;if(!eb){tf=null;break t}O[64]===eb?e=O[65]:(e={getBoundingClientRect:()=>eb},O[64]=eb,O[65]=e),tf=e}let tp=tf,th,ty;O[66]!==ey||O[67]!==tc?(th=()=>{if(ey)return tc?.addEventListener("wheel",eV),()=>{tc?.removeEventListener("wheel",eV)}},ty=[ey,tc,eV],O[66]=ey,O[67]=tc,O[68]=th,O[69]=ty):(th=O[68],ty=O[69]),(0,p.useEffect)(th,ty),O[70]!==e6||O[71]!==eG?(r=()=>{let e=e6(eG);(0,p.startTransition)(()=>ej(t=>e.map(e=>{let n=t.find(t=>t.payload?.commentId===e.payload?.commentId);return n?.payload?.dirty?{...e,payload:{...e.payload,dirty:n.payload.dirty}}:e})))},a=[e6,eG],O[70]=e6,O[71]=eG,O[72]=r,O[73]=a):(r=O[72],a=O[73]),(0,p.useEffect)(r,a);let tg=!!(ey&&ev&&tp&&!en),tb=!!(ep&&tm),tS;return O[74]!==R||O[75]!==eW||O[76]!==W||O[77]!==em||O[78]!==tm||O[79]!==tb?(tS=tb&&R&&(0,y.jsx)(V,{currentUser:R,mentionOptions:W,onChange:ef,onClickOutside:eT,onDiscardConfirm:eF,onSubmit:eW,referenceElement:tm,value:em}),O[74]=R,O[75]=eW,O[76]=W,O[77]=em,O[78]=tm,O[79]=tb,O[80]=tS):tS=O[80],O[81]!==J||O[82]!==tr||O[83]!==eB||O[84]!==tp||O[85]!==tg||O[86]!==tb?(s=tg&&!tb&&(0,y.jsx)(M,{disabled:tr||!!J,onClick:eB,onClickOutside:eT,referenceElement:tp}),O[81]=J,O[82]=tr,O[83]=eB,O[84]=tp,O[85]=tg,O[86]=tb,O[87]=s):s=O[87],O[88]===s?S=O[89]:(S=(0,y.jsx)(k.N,{children:s}),O[88]=s,O[89]=S),O[90]!==tu||O[91]!==tS||O[92]!==S?(v=(0,y.jsxs)(b.EZ,{element:tu,children:[tS,S]}),O[90]=tu,O[91]=tS,O[92]=S,O[93]=v):v=O[93],O[94]!==e7||O[95]!==e||O[96]!==tl?(E=(0,y.jsx)(g.O,{ref:ew,onMouseDown:eQ,onMouseUp:e0,children:(0,y.jsx)(B,{...e,onEditorChange:e7,editorRef:er,rangeDecorations:tl,onFullScreenChange:eD})}),O[94]=e7,O[95]=e,O[96]=tl,O[97]=E):E=O[97],O[98]!==v||O[99]!==E?(j=(0,y.jsxs)(y.Fragment,{children:[v,E]}),O[98]=v,O[99]=E,O[100]=j):j=O[100],j});function B(e){return e.renderDefault(e)}function N(e){return(0,c.f)(e.parentComment)}function F(e){return e.parentComment}function q(e){return e.payload?.dirty}function G(e,t){return e._key.localeCompare(t._key)}function U(e){return null!==e.selection}function W(e){let t,n=(0,h.c)(4);if((0,x.GX)(e.schemaType)){let t;return n[0]===e?t=n[1]:(t=(0,y.jsx)(T,{...e}),n[0]=e,n[1]=t),t}return n[2]===e?t=n[3]:(t=e.renderDefault(e),n[2]=e,n[3]=t),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.