PageSourceSearch

https://squareup.com/shop/hardware/v2/_next/static/chunks/7538.3851085ac9f96fa3.js

js squareup.com collected 2026-10-01 07:49:30 UTC 5,337 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7538],{77538:function(t,e,o){o.r(e),o.d(e,{market_code_display:function(){return i}});var a=o(54982);let i=class{constructor(t){(0,a.r)(this,t),this.marketCodeCopied=(0,a.c)(this,"marketCodeCopied",7),this.code="",this.codeChars=[],this.disabled=!1,this.focused=!1}componentWillLoad(){let t=this.el.querySelector("[slot=code]"),e=t.textContent;if(this.code=e.replace(/\s/g,""),this.initCodeChars(this.code),this.copyButton=document.createElement("button"),Object.assign(this.copyButton,{slot:"actions",type:"button",tabIndex:this.disabled?-1:0,onclick:()=>this.copyToClipboard()}),this.el.querySelector("[slot=copy-text]")){let t=this.el.querySelector("[slot=copy-text]"),e=t.textContent;this.copyButton.innerHTML=e,t.insertAdjacentElement("afterend",this.copyButton)}else this.copyButton.innerHTML="Copy",t.insertAdjacentElement("afterend",this.copyButton)}initCodeChars(t){let e=t.length,o=(0,a.h)("span",{class:"code-char"});if(4!==e&&e%4==0)for(let i=0;i<e;i++)i%4==0&&this.codeChars.push(o),this.codeChars.push((0,a.h)("span",{class:"code-char"},t[i]));else{this.codeChars.push(o);for(let o=0;o<e;o++)this.codeChars.push((0,a.h)("span",{class:"code-char"},t[o]))}this.codeChars.push(o)}copyToClipboard(){navigator.clipboard.writeText(this.code),this.marketCodeCopied.emit()}render(){return(0,a.h)(a.H,{key:"ac9765115585210fb8624bd0f1faebfe72525a70",class:"market-code-display",tabIndex:this.disabled?null:0,"aria-label":this.code},(0,a.h)("span",{key:"613d2dda798418a275d9fa95e421dc13348e0f80",class:"code-container"},this.codeChars),(0,a.h)("span",{key:"90723911fd2969e5a71258a5919bd0daf8d9acbb",class:"actions-container"},(0,a.h)("slot",{key:"162af8e5066006fe9199beb57c8e438ac5080f24",name:"actions"}
1)))}get el(){return(0,a.g)(this)}};i.style=':host,::slotted(*),*{box-sizing:border-box}:host([disabled]){cursor:not-allowed !important;}:host([disabled]) *,:host([disabled]) ::slotted(*){cursor:not-allowed !important;pointer-events:none !important;}:host *{outline-color:var(--core-focus-ring-color)}:host(:focus-visible),::slotted(*:focus-visible){outline:var(--core-focus-ring-border-size) solid var(--core-focus-ring-color);outline-offset:var(--core-focus-ring-buffer-size)}::slotted(a),::slotted(button){border-radius:1px}:host{display:flex;justify-content:space-between;align-items:center;width:-moz-min-content;width:min-content;min-width:var(--code-display-width, 320px);min-height:var(--code-display-height, 48px);margin:var(--code-display-margin, 12px);padding:var(--code-display-padding-vertical, 12px)\n    var(--code-display-padding-right, 16px)\n    var(--code-display-padding-vertical, 12px)\n    var(--code-display-zero-value, 0);border-radius:var(--code-display-border-radius, 6px);background-color:var(--code-display-background-color, var(--core-fill-40-color));font-weight:var(--code-display-code-font-weight, var(--core-type-bold-weight));font-size:var(--code-display-code-font-size, var(--core-type-heading-20-size));font-family:var(--code-display-font-family, var(--core-type-font-family));font-feature-settings:"tnum"}:host(:not([disabled])) button:hover,:host ::slotted(button:hover),:host ::slotted(a:hover){color:var(--text-link-normal-variant-hover-state-color)}:host(:not([disabled])) button:active,:host ::slotted(button:active),:host ::slotted(a:active){color:var(--text-link-normal-variant-pressed-state-color)}:host([disabled]){color:var(--code-display-disabled-text-color, var(--core-text-30-color));}:host([disabled]) ::slotted(button),:host ::slotted(a){color:var(--text-link-normal-variant-disabled-state-color)}:host .code-container{display:flex;flex-grow:2;justify-content:space-between;min-width:var(--code-display-code-container-min-width, 269px)}:host .code-char{flex-basis:100%;font-family:var(--core-type-mono-font-family, monospace);text-align:center}:host .actions-container{display:flex;justify-content:center;align-items:center}:host .actions-container ::slotted([slot="actions"]:not(:last-child)){margin-right:var(--code-display-extra-actions-margin-right, 25px)}:host .actions-container ::slotted([slot="actions"]:not(:last-child))::after{content:"";display:inline-block;width:var(--code-display-button-separator-width, 1px);height:var(--code-display-button-separator-height, 8px);margin-right:var(--code-display-separator-margin-right, -13px);margin-left:var(--code-display-button-content-spacing, 12px);background-color:var(--code-display-button-separator-color, var(--core-fill-10-color));opacity:var(--code-display-button-separator-opacity, 30%);pointer-events:none}:host button,:host ::slotted(button),:host ::slotted(a){margin:var(--code-display-zero-value, 0);padding:var(--code-display-zero-value, 0);border:none;background-color:transparent;color:var(--text-link-normal-variant-normal-state-color);font-weight:var(--code-display-button-font-weight, var(--core-type-semibold-weight));font-size:var(--code-display-button-font-size, var(--core-type-paragraph-20-size));font-family:inherit;line-height:var(--code-display-button-line-height, var(--core-type-paragraph-20-leading));text-decoration:none;cursor:pointer}@media only screen and (max-width: 320px){:host{flex-wrap:wrap;width:100%;min-width:var(--code-display-zero-value, 0)}:host .code-container{min-width:var(--code-display-zero-value, 0)}}'}}]);

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.