PageSourceSearch

https://www.assouline.com/cdn/shop/t/539/assets/-component-quantit…?v=113224629259271989881789503163

js assouline.com collected 2026-09-24 17:21:53 UTC 19,489 bytes, 120 lines download raw bytes

vendor: 7,744 bytes, lines 1-3
1var St=Object.defineProperty;var Et=(n,t,e)=>t in n?St(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e;var D=(n,t,e)=>(Et(n,typeof t!="symbol"?t+"":t,e),e);import{LitElement as Pt,html as Nt,css as Ht}from"@hh/global.js";var O=window,R=O.ShadowRoot&&(O.ShadyCSS===void 0||O.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,B=Symbol(),it=new WeakMap,x=class{constructor(t,e,i){if(this._$cssResult$=!0,i!==B)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(R&&t===void 0){let i=e!==void 0&&e.length===1;i&&(t=it.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),i&&it.set(e,t))}return t}toString(){return this.cssText}},st=n=>new x(typeof n=="string"?n:n+"",void 0,B),T=(n,...t)=>{let e=n.length===1?n[0]:t.reduce((i,s,r)=>i+(o=>{if(o._$cssResult$===!0)return o.cssText;if(typeof o=="number")return o;throw Error("Value passed to 'css' function must be a 'css' function result: "+o+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(s)+n[r+1],n[0]);return new x(e,n,B)},z=(n,t)=>{R?n.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(e=>{let i=document.createElement("style"),s=O.litNonce;s!==void 0&&i.setAttribute("nonce",s),i.textContent=e.cssText,n.appendChild(i)})},M=R?n=>n:n=>n instanceof CSSStyleSheet?(t=>{let e="";for(let i of t.cssRules)e+=i.cssText;return st(e)})(n):n;var I,L=window,nt=L.trustedTypes,wt=nt?nt.emptyScript:"",ot=L.reactiveElementPolyfillSupport,q={toAttribute(n,t){switch(t){case Boolean:n=n?wt:null;break;case Object:case Array:n=n==null?n:JSON.stringify(n)}return n},fromAttribute(n,t){let e=n;switch(t){case Boolean:e=n!==null;break;case Number:e=n===null?null:Number(n);break;case Object:case Array:try{e=JSON.parse(n)}catch{e=null}}return e}},rt=(n,t)=>t!==n&&(t==t||n==n),V={attribute:!0,type:String,converter:q,reflect:!1,hasChanged:rt},W="finalized",$=class extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(t){var e;this.finalize(),((e=this.h)!==null&&e!==void 0?e:this.h=[]).push(t)}static get observedAttributes(){this.finalize();let t=[];return this.elementProperties.forEach((e,i)=>{let s=this._$Ep(i,e);s!==void 0&&(this._$Ev.set(s,i),t.push(s))}),t}static createProperty(t,e=V){if(e.state&&(e.attribute=!1),this.finalize(),this.elementProperties.set(t,e),!e.noAccessor&&!this.prototype.hasOwnProperty(t)){let i=typeof t=="symbol"?Symbol():"__"+t,s=this.getPropertyDescriptor(t,i,e);s!==void 0&&Object.defineProperty(this.prototype,t,s)}}static getPropertyDescriptor(t,e,i){return{get(){return this[e]},set(s){let r=this[t];this[e]=s,this.requestUpdate(t,r,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)||V}static finalize(){if(this.hasOwnProperty(W))return!1;this[W]=!0;let t=Object.getPrototypeOf(this);if(t.finalize(),t.h!==void 0&&(this.h=[...t.h]),this.elementProperties=new Map(t.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){let e=this.properties,i=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(let s of i)this.createProperty(s,e[s])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let i=new Set(t.flat(1/0).reverse());for(let s of i)e.unshift(M(s))}else t!==void 0&&e.push(M(t));return e}static _$Ep(t,e){let i=e.attribute;return i===!1?void 0:typeof i=="string"?i:typeof t=="string"?t.toLowerCase():void 0}_$Eu(){var t;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),(t=this.constructor.h)===null||t===void 0||t.forEach(e=>e(this))}addController(t){var e,i;((e=this._$ES)!==null&&e!==void 0?e:this._$ES=[]).push(t),this.renderRoot!==void 0&&this.isConnected&&((i=t.hostConnected)===null||i===void 0||i.call(t))}removeController(t){var e;(e=this._$ES)===null||e===void 0||e.splice(this._$ES.indexOf(t)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((t,e)=>{this.hasOwnProperty(e)&&(this._$Ei.set(e,this[e]),delete this[e])})}createRenderRoot(){var t;let e=(t=this.shadowRoot)!==null&&t!==void 0?t:this.attachShadow(this.constructor.shadowRootOptions);return z(e,this.constructor.elementStyles),e}connectedCallback(){var t;this.renderRoot===void 0&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostConnected)===null||i===void 0?void 0:i.call(e)})}enableUpdating(t){}disconnectedCallback(){var t;(t=this._$ES)===null||t===void 0||t.forEach(e=>{var i;return(i=e.hostDisconnected)===null||i===void 0?void 0:i.call(e)})}attributeChangedCallback(t,e,i){this._$AK(t,i)}_$EO(t,e,i=V){var s;let r=this.constructor._$Ep(t,i);if(r!==void 0&&i.reflect===!0){let o=(((s=i.converter)===null||s===void 0?void 0:s.toAttribute)!==void 0?i.converter:q).toAttribute(e,i.type);this._$El=t,o==null?this.removeAttribute(r):this.setAttribute(r,o),this._$El=null}}_$AK(t,e){var i;let s=this.constructor,r=s._$Ev.get(t);if(r!==void 0&&this._$El!==r){let o=s.getPropertyOptions(r),h=typeof o.converter=="function"?{fromAttribute:o.converter}:((i=o.converter)===null||i===void 0?void 0:i.fromAttribute)!==void 0?o.converter:q;this._$El=r,this[r]=h.fromAttribute(e,o.type),this._$El=null}}requestUpdate(t,e,i){let s=!0;t!==void 0&&(((i=i||this.constructor.getPropertyOptions(t)).hasChanged||rt)(this[t],e)?(this._$AL.has(t)||this._$AL.set(t,e),i.reflect===!0&&this._$El!==t&&(this._$EC===void 0&&(this._$EC=new Map),this._$EC.set(t,i))):s=!1),!this.isUpdatePending&&s&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var t;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((s,r)=>this[r]=s),this._$Ei=void 0);let e=!1,i=this._$AL;try{e=this.shouldUpdate(i),e?(this.willUpdate(i),(t=this._$ES)===null||t===void 0||t.forEach(s=>{var r;return(r=s.hostUpdate)===null||r===void 0?void 0:r.call(s)}),this.update(i)):this._$Ek()}catch(s){throw e=!1,this._$Ek(),s}e&&this._$AE(i)}willUpdate(t){}_$AE(t){var e;(e=this._$ES)===null||e===void 0||e.forEach(i=>{var s;return(s=i.hostUpdated)===null||s===void 0?void 0:s.call(i)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(t){return!0}update(t){this._$EC!==void 0&&(this._$EC.forEach((e,i)=>this._$EO(i,this[i],e)),this._$EC=void 0),this._$Ek()}updated(t){}firstUpdated(t){}};$[W]=!0,$.elementProperties=new Map,$.elementStyles=[],$.shadowRootOptions={mode:"open"},ot?.({ReactiveElement:$}),((I=L.reactiveElementVersions)!==null&&I!==void 0?I:L.reactiveElementVersions=[]).push("1.6.3");var K,j=window,S=j.trustedTypes,lt=S?S.createPolicy("lit-html",{createHTML:n=>n}):void 0,F="$lit$",_=`lit$${(Math.random()+"").slice(9)}$`,vt="?"+_,Ct=`<${vt}>`,A=document,U=()=>A.createComment(""),P=n=>n===null||typeof n!="object"&&typeof n!="function",$t=Array.isArray,xt=n=>$t(n)||typeof n?.[Symbol.iterator]=="function",J=`[ 	
2\f\r]`,k=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,at=/-->/g,ht=/>/g,m=RegExp(`>|${J}(?:([^\\s"'>=/]+)(${J}*=${J}*(?:[^ 	
3\f\r"'\`<>=]|("|')|))|$)`,"g"),dt=/'/g,ct=/"/g,_t=/^(?:script|style|textarea|title)$/i,mt=n=>(t,...e)=>({_$litType$:n,strings:t,values:e}
vendor: 4,367 bytes, line 3
3),jt=mt(1),Dt=mt(2),g=Symbol.for("lit-noChange"),u=Symbol.for("lit-nothing"),ut=new WeakMap,f=A.createTreeWalker(A,129,null,!1);function ft(n,t){if(!Array.isArray(n)||!n.hasOwnProperty("raw"))throw Error("invalid template strings array");return lt!==void 0?lt.createHTML(t):t}var kt=(n,t)=>{let e=n.length-1,i=[],s,r=t===2?"<svg>":"",o=k;for(let h=0;h<e;h++){let l=n[h],a,d,c=-1,p=0;for(;p<l.length&&(o.lastIndex=p,d=o.exec(l),d!==null);)p=o.lastIndex,o===k?d[1]==="!--"?o=at:d[1]!==void 0?o=ht:d[2]!==void 0?(_t.test(d[2])&&(s=RegExp("</"+d[2],"g")),o=m):d[3]!==void 0&&(o=m):o===m?d[0]===">"?(o=s??k,c=-1):d[1]===void 0?c=-2:(c=o.lastIndex-d[2].length,a=d[1],o=d[3]===void 0?m:d[3]==='"'?ct:dt):o===ct||o===dt?o=m:o===at||o===ht?o=k:(o=m,s=void 0);let v=o===m&&n[h+1].startsWith("/>")?" ":"";r+=o===k?l+Ct:c>=0?(i.push(a),l.slice(0,c)+F+l.slice(c)+_+v):l+_+(c===-2?(i.push(void 0),h):v)}return[ft(n,r+(n[e]||"<?>")+(t===2?"</svg>":"")),i]},y=class{constructor({strings:t,_$litType$:e},i){let s;this.parts=[];let r=0,o=0,h=t.length-1,l=this.parts,[a,d]=kt(t,e);if(this.el=y.createElement(a,i),f.currentNode=this.el.content,e===2){let c=this.el.content,p=c.firstChild;p.remove(),c.append(...p.childNodes)}for(;(s=f.nextNode())!==null&&l.length<h;){if(s.nodeType===1){if(s.hasAttributes()){let c=[];for(let p of s.getAttributeNames())if(p.endsWith(F)||p.startsWith(_)){let v=d[o++];if(c.push(p),v!==void 0){let bt=s.getAttribute(v.toLowerCase()+F).split(_),H=/([.?@])?(.*)/.exec(v);l.push({type:1,index:r,name:H[2],strings:bt,ctor:H[1]==="."?Z:H[1]==="?"?G:H[1]==="@"?X:w})}else l.push({type:6,index:r})}for(let p of c)s.removeAttribute(p)}if(_t.test(s.tagName)){let c=s.textContent.split(_),p=c.length-1;if(p>0){s.textContent=S?S.emptyScript:"";for(let v=0;v<p;v++)s.append(c[v],U()),f.nextNode(),l.push({type:2,index:++r});s.append(c[p],U())}}}else if(s.nodeType===8)if(s.data===vt)l.push({type:2,index:r});else{let c=-1;for(;(c=s.data.indexOf(_,c+1))!==-1;)l.push({type:7,index:r}),c+=_.length-1}r++}}static createElement(t,e){let i=A.createElement("template");return i.innerHTML=t,i}};function E(n,t,e=n,i){var s,r,o,h;if(t===g)return t;let l=i!==void 0?(s=e._$Co)===null||s===void 0?void 0:s[i]:e._$Cl,a=P(t)?void 0:t._$litDirective$;return l?.constructor!==a&&((r=l?._$AO)===null||r===void 0||r.call(l,!1),a===void 0?l=void 0:(l=new a(n),l._$AT(n,e,i)),i!==void 0?((o=(h=e)._$Co)!==null&&o!==void 0?o:h._$Co=[])[i]=l:e._$Cl=l),l!==void 0&&(t=E(n,l._$AS(n,t.values),l,i)),t}var Q=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){var e;let{el:{content:i},parts:s}=this._$AD,r=((e=t?.creationScope)!==null&&e!==void 0?e:A).importNode(i,!0);f.currentNode=r;let o=f.nextNode(),h=0,l=0,a=s[0];for(;a!==void 0;){if(h===a.index){let d;a.type===2?d=new b(o,o.nextSibling,this,t):a.type===1?d=new a.ctor(o,a.name,a.strings,this,t):a.type===6&&(d=new Y(o,this,t)),this._$AV.push(d),a=s[++l]}h!==a?.index&&(o=f.nextNode(),h++)}return f.currentNode=A,r}v(t){let e=0;for(let i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(t,i,e),e+=i.strings.length-2):i._$AI(t[e])),e++}},b=class{constructor(t,e,i,s){var r;this.type=2,this._$AH=u,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=i,this.options=s,this._$Cp=(r=s?.isConnected)===null||r===void 0||r}get _$AU(){var t,e;return(e=(t=this._$AM)===null||t===void 0?void 0:t._$AU)!==null&&e!==void 0?e:this._$Cp}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=E(this,t,e),P(t)?t===u||t==null||t===""?(this._$AH!==u&&this._$AR(),this._$AH=u):t!==this._$AH&&t!==g&&this._(t):t._$litType$!==void 0?this.g(t):t.nodeType!==void 0?this.$(t):xt(t)?this.T(t):this._(t)}k(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}$(t){this._$AH!==t&&(this._$AR(),this._$AH=this.k(t))}_(t){this._$AH!==u&&P(this._$AH)?this._$AA.nextSibling.data=t:this.$(A.createTextNode(t)),this._$AH=t}g(t){var e;let{values:i,_$litType$:s}=t,r=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=y.createElement(ft(s.h,s.h[0]),this.options)),s);if(((e=this._$AH)===null||e===void 0?void 0:e._$AD)===r)this._$AH.v(i);else{let o=new Q(r,this),h=o.u(this.options);o.v(i),this.$(h),this._$AH=o}}
3_$AC(t){let e=ut.get(t.strings);return e===void 0&&ut.set(t.strings,e=new y(t)),e}T(t){$t(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,i,s=0;for(let r of t)s===e.length?e.push(i=new b(this.k(U()),this.k(U()),this,this.options)):i=e[s],i._$AI(r),s++;s<e.length&&(this._$AR(i&&i._$AB.nextSibling,s),e.length=s)}_$AR(t=this._$AA.nextSibling,e){var i;for((i=this._$AP)===null||i===void 0||i.call(this,!1,!0,e);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){var e;this._$AM===void 0&&(this._$Cp=t,(e=this._$AP)===null||e===void 0||e.call(this,t))}},w=class{constructor(t,e,i,s,r){this.type=1,this._$AH=u,this._$AN=void 0,this.element=t,this.name=e,this._$AM=s,this.options=r,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=u}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(t,e=this,i,s){let r=this.strings,o=!1;if(r===void 0)t=E(this,t,e,0),o=!P(t)||t!==this._$AH&&t!==g,o&&(this._$AH=t);else{let h=t,l,a;for(t=r[0],l=0;l<r.length-1;l++)a=E(this,h[i+l],e,l),a===g&&(a=this._$AH[l]),o||(o=!P(a)||a!==this._$AH[l]),a===u?t=u:t!==u&&(t+=(a??"")+r[l+1]),this._$AH[l]=a}o&&!s&&this.j(t)}j(t){t===u?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},Z=class extends w{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===u?void 0:t}},Ut=S?S.emptyScript:"",G=class extends w{constructor(){super(...arguments),this.type=4}j(t){t&&t!==u?this.element.setAttribute(this.name,Ut):this.element.removeAttribute(this.name)}},X=class extends w{constructor(t,e,i,s,r){super(t,e,i,s,r),this.type=5}_$AI(t,e=this){var i;if((t=(i=E(this,t,e,0))!==null&&i!==void 0?i:u)===g)return;let s=this._$AH,r=t===u&&s!==u||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,o=t!==u&&(s===u||r);r&&this.element.removeEventListener(this.name,this,s),o&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){var e,i;typeof this._$AH=="function"?this._$AH.call((i=(e=this.options)===null||e===void 0?void 0:e.host)!==null&&i!==void 0?i:this.element,t):this._$AH.handleEvent(t)}},Y=class{constructor(t,e,i){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(t){E(this,t)}};var pt=j.litHtmlPolyfillSupport;pt?.(y,b),((K=j.litHtmlVersions)!==null&&K!==void 0?K:j.litHtmlVersions=[]).push("2.8.0");var At=(n,t,e)=>{var i,s;let r=(i=e?.renderBefore)!==null&&i!==void 0?i:t,o=r._$litPart$;if(o===void 0){let h=(s=e?.renderBefore)!==null&&s!==void 0?s:null;r._$litPart$=o=new b(t.insertBefore(U(),h),h,void 0,e??{})}return o._$AI(n),o};var tt,et;var C=class extends ${constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var t,e;let i=super.createRenderRoot();return(t=(e=this.renderOptions).renderBefore)!==null&&t!==void 0||(e.renderBefore=i.firstChild),i}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=At(e,this.renderRoot,this.renderOptions)}connectedCallback(){var t;super.connectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!0)}disconnectedCallback(){var t;super.disconnectedCallback(),(t=this._$Do)===null||t===void 0||t.setConnected(!1)}render(){return g}};C.finalized=!0,C._$litElement$=!0,(tt=globalThis.litElementHydrateSupport)===null||tt===void 0||tt.call(globalThis,{LitElement:C});var gt=globalThis.litElementPolyfillSupport;gt?.({LitElement:C});((et=globalThis.litElementVersions)!==null&&et!==void 0?et:globalThis.litElementVersions=[]).push("3.3.3");var yt=T`
4  .visually-hidden {
5    position: absolute !important;
6    overflow: hidden;
7    width: 1px;
8    height: 1px;
9    margin: -1px;
10    padding: 0;
11    border: 0;
12    clip: rect(0 0 0 0);
13    word-wrap: normal !important;
14  }
15`,Yt=T`
16  .hidden {
17    display: none !important;
18  }
19`;var N=class extends Pt{constructor(){super(),this.broadcast=this.broadcast.bind(this),this.id=Math.random()*1e5}connectedCallback(){super.connectedCallback(),this._value=this.initial}broadcast(){let t=this.querySelector('[slot="input"]');t&&(t.value=this._value),this.dispatchEvent(new CustomEvent("changeQuantity",{bubbles:!0,composed:!0,detail:{key:this.key,value:this._value}}))}increment(){this._value+=1,this.broadcast()}
19decrement(){!this._value||(this._value-=1,this.broadcast())}override(t){this._value=Math.max(0,t.target.value),this.broadcast()}preventNonNumericalInput(t){t=t||window.event;let e=typeof t.which>"u"?t.keyCode:t.which;String.fromCharCode(e).match(/^[0-9]+$/)||t.preventDefault()}render(){return Nt`
20      <div class="wrapper">
21        <button
22          name="minus"
23          @click="${this.decrement}"
24          ?disabled="${this._value===this.min||this._value<=0}"
25          >
26          <slot name="decrease"></slot>
27        </button>
28        <label class="visually-hidden" for="Quantity-${this.id}">
29          ${this.label|"Quantity"}
30        </label>
31        <input
32          id="Quantity-${this.id}"
33          class="input"
34          type="number"
35          inputmode="numeric"
36          pattern="[0-9]*"
37          name="updates[]"
38          @keypress="${this.preventNonNumericalInput}"
39          value="${this._value}"
40          @change="${this.override}"
41          min="${this.min}"
42          max="${this.max}"
43        />
44        <button
45          name="plus"
46          @click="${this.increment}"
47          ?disabled="${this._value>=this.max}"
48          >
49          <slot name="increase"></slot>
50        </button>
51      </div>
52    `}};D(N,"properties",{key:{},label:{},initial:{type:Number},_value:{state:!0},min:{type:Number,reflect:!0},max:{type:Number,reflect:!0}}),D(N,"styles",[yt,Ht`
53      :host {
54        display: block;
55      }
56
57      .wrapper {
58        background-color: var(--hh-color-light, #f6f6f6);
59        color: var(--hh-color-ink, #0a0000);
60        display: flex;
61        max-width: max(7vw, 106px);
62        position: relative;
63      }
64
65      .input {
66        background-color: var(--hh-background, transparent);
67        border: 0;
68        text-align: center;
69        width: 100%;
70        -webkit-appearance: none;
71        appearance: none;
72        -moz-appearance: textfield;
73      }
74
75      button {
76        border: 0;
77        background-color: transparent;
78        color: inherit;
79        cursor: pointer;
80        padding: 1rem var(--hh-space-xs);
81      }
82
83      button:disabled {
84        cursor: default;
85        color: var(--hh-color-neutral, #999);
86        pointer-events: none;
87      }
88
89      .input:-webkit-autofill,
90      .input:-webkit-autofill:hover,
91      .input:-webkit-autofill:active {
92        box-shadow: 0 0 0 10rem var(--hh-color-background) inset !important;
93        -webkit-box-shadow: 0 0 0 10rem var(--hh-color-background) inset !important;
94      }
95
96      .input::-webkit-outer-spin-button,
97      .input::-webkit-inner-spin-button {
98        -webkit-appearance: none;
99        margin: 0;
100      }
101
102      button svg {
103        width: var(--hh-icon-size-md);
104      }
105    `]);customElements.define("hh-quantity-input",N);
106/**
107 * @license
108 * Copyright 2017 Google LLC
109 * SPDX-License-Identifier: BSD-3-Clause
110 */
111/**
112 * @license
113 * Copyright 2019 Google LLC
114 * SPDX-License-Identifier: BSD-3-Clause
115 */
116/**
117 * @license
118 * Copyright 2022 Google LLC
119 * SPDX-License-Identifier: BSD-3-Clause
120 */

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.