PageSourceSearch

https://www.atcbv.com/_next/static/chunks/4722.5d0cf0fcc0feb416.js

js atcbv.com collected 2026-10-09 22:05:56 UTC 3,888 bytes, 1 lines download raw bytes

1try{let e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3e2d0ca5-3882-4a07-be55-c1878d648c42",e._sentryDebugIdIdentifier="sentry-dbid-3e2d0ca5-3882-4a07-be55-c1878d648c42")}catch(e){}(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4722],{14722:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>w});var o=n(95155),l=n(52619),a=n.n(l),c=n(12115),i=n(1176),r=n(76328),s=n.n(r),d=n(2230),u=n(38581),m=n(28429),p=n(1213),f=n(25016),g=n(18955),b=n(50859),h=n(64446);let _="YYYY-MM-DD",x={position:"relative",zIndex:1,display:"flex",gap:"0.5rem",alignItems:"center"},y=(0,c.memo)(e=>{let{icon:t,title:n,toggleSpinner:l,backgroundColor:a,fontColor:c}=e,i=null!=c?c:a&&(0,f.HD)(a)?"#ffffff":"#000000";return(0,o.jsxs)(o.Fragment,{children:[(null==t?void 0:t.url)&&!l&&(0,o.jsx)(h.default,{className:"h-6 flex-[0_0_20px]",width:20,height:25,ariaLabel:n,src:t.url,color:i}),n]})});y.displayName="ButtonContent";let C=(0,c.memo)(e=>{let{title:t,url:n,layout:l,backgroundColor:r,fontColor:h,icon:C,selectedComposition:w,selectedDateRange:I,selectedPets:v,isLink:j}=e,k=(0,p.wA)(),[R]=(0,c.useState)(n),[D,U]=(0,c.useState)(!1),M=(0,g.c3)("components.Parameters"),{generateLocalizedUrl:N}=(0,b.g)(),S=(0,p.d4)(e=>e.websitePage.value),{searchButtonClick:F}=m.F.actions,Y=(0,c.useCallback)(()=>{k(F(!0)),U(!0),setTimeout(()=>{U(!1)},1e3)},[k,F]),B=(0,c.useCallback)(()=>{let e=[];
1if((null==I?void 0:I.length)===2){let t=(0,i.Yq)(_,new Date(I[0])),n=(0,i.Yq)(_,new Date(I[1]));e.push("".concat(encodeURIComponent(M("fromdate")),"=").concat(encodeURIComponent(t))),e.push("".concat(encodeURIComponent(M("tilldate")),"=").concat(encodeURIComponent(n)))}if((null==w?void 0:w.length)>0&&w.forEach(t=>{if(t.amount&&t.amount>0){let n="".concat(M(t.composition_type),"[").concat(t.composition_id,"]");e.push("".concat(encodeURIComponent(n),"=").concat(encodeURIComponent(String(t.amount))))}}),(null==v?void 0:v.count)&&v.count>0&&v.facility_id){let t="".concat(M("pets"),"[").concat(v.facility_id,"]");e.push("".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(String(v.count))))}return e.length>0?"?".concat(e.join("&")):""},[I,w,v,M]),E=(0,c.useMemo)(()=>(0,f.cn)("".concat(s().item," cursor-pointer text-black"),"grid"===l&&"col-span-1 flex flex-col items-center justify-center p-4","bar"===l&&"flex flex-row content-center items-center gap-2 truncate p-2"),[l]),q=(0,c.useMemo)(()=>(0,f.cn)("".concat(s().item," cursor-pointer text-black isolate"),{"pointer-events-none":D,[s().animatingFill]:D},"grid"===l&&"col-span-1 flex flex-col items-center justify-center p-4","bar"===l&&"flex flex-row content-center items-center gap-2 truncate p-2"),[l,D]),T=(0,c.useMemo)(()=>({backgroundColor:r,borderRadius:"var(--theme-border-radius)",color:h,"--animation-bg-color":"#1a1a1a36"}),[r,h]),z=(0,c.useMemo)(()=>({backgroundColor:r,borderRadius:"var(--theme-border-radius)",color:h}),[r,h]),H=(0,c.useMemo)(()=>(null==S?void 0:S.page_url)?N("/".concat(null==S?void 0:S.page_url).concat(B())):N("".concat(R).concat(B())),[null==S?void 0:S.page_url,R,B,N]);return(0,o.jsx)(o.Fragment,{children:!1===j?(0,o.jsx)("button",{type:"button",className:q,style:T,onClick:Y,disabled:D,"aria-busy":D,"aria-label":t,children:(0,o.jsxs)("span",{style:x,children:[D?(0,o.jsx)(d.g,{icon:u.z1G,spin:!0}):null,(0,o.jsx)(y,{icon:C,title:t,toggleSpinner:D,backgroundColor:r,fontColor:h})]})}):(0,o.jsx)(a(),{href:H,className:E,style:z,children:(0,o.jsx)(y,{icon:C,title:t,toggleSpinner:D,backgroundColor:r})})})});C.displayName="SearchbarButton";let w=C},76328:e=>{e.exports={item:"searchbar_item__Bq10H",animatingFill:"searchbar_animatingFill__QBcln","fill-from-left-slow-middle":"searchbar_fill-from-left-slow-middle__CgvZ_"}}}]);

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.