PageSourceSearch

https://www.primary.com/cdn/shopifycloud/checkout-web/assets/c1/064f6ac1.CT1iFQsV.js

js primary.com collected 2026-10-01 10:42:29 UTC 3,592 bytes, 1 lines download raw bytes

1import{q as e,u as n,A as r,T as t,h as a,x as o,g as i}from"./2c1ab0fe.D_oO1jU7.js";import{aG as c,aH as s,aI as l,aJ as p,aK as u,ax as d,$ as v,aL as f,aM as m,aN as h,aO as S,aP as k,aQ as x,aR as g,aS as b,aT as q,aU as E,aV as y,aW as z,aX as _}from"./164ad2e3.DgUUtBtV.js";import{b4 as w,b5 as I}from"./4c290a1e.D9lE9kmU.js";import"./app.bDJ3v-8C.js";var R={Content:"xhuvqpk xhuvqpj _1fragem108 _1fragem10n _1fragemzt _1fragem112 _1fragemup _1fragemv4 _1fragemws _1fragem131 _1fragem133",Popover:"xhuvqp1 xhuvqp0 _1fragemws _1fragemy5 _1fragem133",popoverConnectorVariant:{arrow:"xhuvqp5",none:"xhuvqp6"},popoverPlacementVariant:{blockStart:"xhuvqp7",blockStartSpanInlineEnd:"xhuvqp8",blockStartSpanInlineStart:"xhuvqp9",blockEnd:"xhuvqpa",blockEndSpanInlineEnd:"xhuvqpb",blockEndSpanInlineStart:"xhuvqpc",inlineStart:"xhuvqpd",inlineStartSpanBlockEnd:"xhuvqpe",inlineStartSpanBlockStart:"xhuvqpf",inlineEnd:"xhuvqpg",inlineEndSpanBlockEnd:"xhuvqph",inlineEndSpanBlockStart:"xhuvqpi"}};function A(r){const t=c(),{active:a,setActive:o}=t||{},{onHide:i}=r,p=e((()=>{o?.(!1),"function"==typeof i&&i()}),[o,i]);if(t){t.setActivatorAttributes({"aria-expanded":t.active,"aria-controls":r.id}),t.attach("onClick",(()=>{a&&p(),o?.(!a)}));const{children:e}=r;return n(B,{...r,onHide:p,open:a,children:s(e)&&n(l,{children:e})})}return n(B,{...r})}const B=p(u((function({blockSize:o="auto",children:i,connector:s,offset:l,id:p,inlineSize:u="auto",keepMounted:y=!1,maxBlockSize:z="none",maxInlineSize:_="none",minBlockSize:w="0",minInlineSize:I="0",onHide:R,onShow:A,padding:B="base",positionArea:N="block-start",open:P=!1}){const j=c(),{getInteraction:L}=d(),V=r(P),H=r(P),K=r(null),{popover:{connector:D="arrow",cornerRadius:T}}=v(),M=s??D,{className:O,style:W}=f({blockSize:o,inlineSize:u,padding:B,maxBlockSize:z,maxInlineSize:_,minBlockSize:w,minInlineSize:I}),G=t((()=>{if(j)return j.activatorRef.current??null;if(p){const e=L(p);if(m(e)&&e.invokerRef?.current)return e.invokerRef.current}return null}),[L,p,j]),J=e((()=>{R?.()}),[R]);return a((()=>{const e=e=>{const n=h(K.current),r=S(e),t=k(G);!(e.target instanceof Node&&document.contains(e.target))||K.current?.contains(e.target)||G?.contains(e.target)||!n&&r||!t&&k(e.target)||!P||J()};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[G,J,P]),a((()=>{const e=e=>{if(!P)return;const n=G&&x(G),r=K.current&&g(K.current),t=K.current&&b(K.current),a=h(K.current);switch(e.key){case"Escape":case"Esc":a&&(J(),G?.focus());break;case"Tab":q(G)&&e.shiftKey?J():q(G)?(e.preventDefault(),r?.focus()):q(r)&&e.shiftKey?(e.preventDefault(),G?.focus(),J()):q(t)&&!e.shiftKey&&(e.preventDefault(),n?.focus(),J())}};return P&&document.addEventListener("keydown",e,!1),!V.current&&P&&A?.(),V.current=P,P&&(H.current=!0),()=>{document.removeEventListener("keydown",e,!1)}}),[G,J,A,P]),P||y&&H.current?n(E,{activator:G,offset:l??"arrow"===M?15:5,positionArea:N,preventOverflow:!0,id:p,hidden:!P,children:n(C,{positionArea:N,connector:M,cornerRadius:T,popoverRef:K,responsiveClassNames:O,responsiveStyle:W,children:i})}):null}),{overlayType:"popover"}),{focusActivatorWhenClosing:!0});function C({children:e,positionArea:r,connector:t,cornerRadius:a,popoverRef:c,responsiveClassNames:s,responsiveStyle:p}){const u=o(y),d=u?z(u.position,u.alignment):w(r);return n(l,{children:n("div",{className:i(R.Popover,R.popoverPlacementVariant[d],R.popoverConnectorVariant[t]),ref:c,style:{...null!=a&&{borderRadius:I(a)}},children:n("div",{className:i(R.Content,s),style:p,children:n(_,{children:e})})})})}export{A as P};

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.