PageSourceSearch

https://www.smalls.com/assets/index-D6MsM2IS.js

js smalls.com collected 2026-10-02 10:57:19 UTC 7,071 bytes, 6 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="87cab1f9-bafd-5bce-b7da-75c98aac586f")}catch(e){}}();
3import{j as e,r as f}from"./chunk-QUQL4437-u7y9NfBn.js";import{c as r,T as g,a as p}from"./index-DmaqorGX.js";import{$,n as h,a as B}from"./Button-CzbRzeWy.js";import{s as C,c as x,e as S,I as v}from"./index-BU9QqJwA.js";import{m as V}from"./proxy-BnyKFKVf.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"0693db97ce4fecab819a3939f0d0cccae75bb5de"}}catch{}})();const E="/assets/proteins-BkQO3Cbh.svg",L={"protein-turkey":"text-turkey","protein-chicken":"text-yellow","protein-beef":"text-beef","protein-fish":"text-fish","protein-duck":"text-duck","protein-pig":"text-pig","protein-combo":""};function y({name:t,size:o="sm",className:s,...a}){return e.jsx("svg",{...a,className:r(C[o],"duration-300 inline self-center",`${L[t]}`,s),children:e.jsx("use",{href:`${E}#${t}`})})}const W=({name:t,className:o,...s})=>{const a=`protein-${t}`;return e.jsx(y,{name:a,...s,className:r("group/protein block text-white",o)})},P=p("button",{variants:{intent:{primary:["bg-yellow","text-black","border-black","hover:bg-black","hover:text-yellow","focus-visible:-outline-offset-2","focus-visible:border-transparent","focus-visible:outline-2","focus-visible:outline-dashed","focus-visible:outline-black"],secondary:["bg-black","text-white","border-black","hover:bg-yellow","hover:text-black","focus-visible:-outline-offset-2","focus-visible:border-transparent","focus-visible:outline-2","focus-visible:outline-dashed","focus-visible:outline-yellow"],ghost:["bg-transparent","text-black","border-black","hover:bg-yellow","focus-visible:-outline-offset-2","focus-visible:border-yellow","focus-visible:outline-2","focus-visible:outline-dashed","focus-visible:outline-black"]},size:{empty:["p-0"],small:["py-1.25","px-4"],medium:["py-[0.56rem]","sm:px-6","px-4"],large:["py-[0.688rem]","px-5 sm:px-6"],xl:["py-[0.56rem]","px-8"]},casing:{normal:"normal-case",uppercase:"uppercase"}},defaultVariants:{intent:"primary",size:"medium",casing:"uppercase"}}),R={empty:"caps/small",small:"caps/small",medium:"caps/small",large:"caps/small",xl:"h3"},T=f.forwardRef(({children:t,intent:o,size:s,casing:a,className:n,type:i,isLoading:d,showSpinner:l=!0,transition:u="with-transition",loadingText:k="Loading...",isDisabled:j,...c},b)=>{[c,b]=$(c,b,B);const{buttonProps:N}=h(c,b),m=R[s||"medium"];return e.jsx(V.button,{layout:u==="with-transition",transition:u?{layout:{duration:.1}}:void 0,ref:b,className:r("duration-300 group inline-flex cursor-pointer items-center justify-center rounded-full border border-solid font-medium uppercase tracking-wider transition-colors ease-in-out disabled:cursor-default disabled:border-light-grey disabled:bg-greige disabled:text-light-grey",P({intent:o,size:s,casing:a,className:n}),{"pointer-events-none":d}),...x(N,c),type:i,disabled:c.disabled||j,children:d?e.jsxs("span",{className:"pointer-events-none inline-flex items-center gap-x-2",children:[l&&e.jsx(w,{className:z({intent:o,size:s})}),e.jsx(g,{variant:m,children:k})]}):e.jsx("span",{className:"pointer-events-none inline-flex items-center",children:e.jsx(g,{variant:m,className:a,children:t})})})}),z=p("button-loading-spinner",{variants:{intent:{primary:["text-black","group-hover:text-yellow"],secondary:["text-white","group-hover:text-black"],ghost:["text-black","group-hover:text-black"]},size:{empty:[],small:["w-3.5","h-3.5"],medium:["w-3.5","h-3.5"],large:["w-4","h-4"],xl:["w-5","h-5"]}}}),Y=({className:t})=>e.jsxs("span",{className:r("inline-flex items-center gap-0.5",t),"aria-label":"Loading",role:"status",children:[e.jsx("span",{className:"inline-block h-0.5 w-0.5 rounded-full bg-current animate-ping",style:{animationDelay:"0ms"}}),e.jsx("span",{className:"inline-block h-0.5 w-0.5 rounded-full bg-current animate-ping",style:{animationDelay:"200ms"}}),e.jsx("span",{className:"inline-block h-0.5 w-0.5 rounded-full bg-current animate-ping",style:{animationDelay:"400ms"}})]}),w=({className:t})=>e.jsxs("svg",{className:r("fill-current h-5 w-5 animate-spin",t),xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[e.jsx("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),e.jsx("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]}),D=p([""],{variants:{name:{all:["bg-sage hover:bg-sage group-data-hovered/protein-selector:bg-sage"],beef:["bg-beef hover:bg-beef group-data-hovered/protein-selector:bg-beef"],chicken:["bg-yellow hover:bg-yellow group-data-hovered/protein-selector:bg-yellow"],duck:["bg-duck hover:bg-duck group-data-hovered/protein-selector:bg-duck"],fish:["bg-fish hover:bg-fish group-data-hovered/protein-selector:bg-fish"],turkey:["bg-turkey hover:bg-turkey group-data-hovered/protein-selector:bg-turkey"],pig:["bg-pig hover:bg-pig group-data-hovered/protein-selector:bg-pig"]}},defaultVariants:{name:"all"}}),_=({className:t,name:o,size:s="sm",isSelected:a=!0,isDisabled:n,showLabel:i=!1,...d})=>{const l=o??"all",u=`protein-${l}`;return e.jsxs("div",{className:"flex flex-col items-center justify-center",children:[e.jsx("div",{className:r("group/button mx-auto my-0 rounded-full border ","duration-300 text-greige! outline-hidden transition-all","border-black p-2 motion-reduce:transition-none",D({name:l}),{"bg-warm-grey":!a,"border-light-grey bg-greige":n},t),...d,children:e.jsx(y,{"aria-hidden":!0,name:u,size:s,className:r("group/protein block text-white!",{"text-greige! opacity-30":n})})}),i&&e.jsx("span",{className:r("mt-2 flex items-center text-xxs! font-medium uppercase tracking-wider",{"text-dark-grey":n}),children:e.jsxs("span",{className:"protein-name",children:[a&&e.jsx(v,{"aria-hidden":!0,name:"icon-check-small",size:"font",className:"mb-px mr-1"}),e.jsx("span",{children:l})]})})]})},I=f.forwardRef(({className:t,type:o="button",...s},a)=>{const n=S(a),{buttonProps:i}=h(s,n);return e.jsxs("button",{ref:n,className:r("group flex h-7 w-7 items-center justify-center rounded-full","focus-visible:border focus-visible:border-solid focus-visible:border-black","focus:border-none focus:outline-hidden",t),disabled:s.disabled||s.isDisabled,...x(s,i),type:o,children:[e.jsx(v,{name:"icon-close",className:"duration-300 h-3 w-3 transition-[height,width] group-hover:h-2 group-hover:w-2","aria-hidden":!0}),e.jsx("span",{className:"sr-only",children:"Close dialog"})]})});I.displayName="SmallsCloseButton";T.displayName="SmallsButton";w.displayName="SmallsButtonLoadingSpinner";export{T as B,I as C,w as L,_ as P,R as a,P as b,W as c,Y as d,z as l,E as p};
4//# sourceMappingURL=index-D6MsM2IS.js.map
5
6//# debugId=87cab1f9-bafd-5bce-b7da-75c98aac586f

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.