PageSourceSearch

https://go-velo.com.ua/cdn/shop/t/34/assets/product-strength-select.js?v=38134191865987657671782396892

js go-velo.com.ua collected 2026-10-07 23:40:29 UTC 1,436 bytes, 13 lines download raw bytes

1import{t as e}from"main/tom-select.complete";function t(e){let t=Math.max(0,Math.min(6,Number(e)||0));return`<div data-val="${t}" class="strong-lvl" role="presentation" aria-hidden="true">${Array.from({length:6}).map((e,n)=>`<span${n<t?` class="filled"`:``}></span>`).join(``)}</div>`}function n(e,t){return Shopify.locale==`ru`?`<div class="sr-only">Крепость ${e} из 6 - ${t}</div>`:`<div class="sr-only">Міцність ${e} з 6 - ${t}</div>`}function r(){let r=document.getElementById(`related-product`);r&&(new e(r,{create:!1,maxItems:1,allowEmptyOption:!1,controlInput:!1,closeAfterSelect:!0,render:{option:(e,r)=>{let i=e.$option?.dataset?.label||e.text||``,a=e.$option?.dataset?.strength||e.strength||0;return`
2					<div class="strength-option">
3						<div class="btnTxt upperCase" aria-hidden="true">${r(i)}</div>
4						${t(a)}
5						${n(a,i)}
6					</div>
7				`},item:(e,r)=>{let i=e.$option?.dataset?.label||e.text||``,a=e.$option?.dataset?.strength||e.strength||0;return`
8					<div class="strength">
9						<div class="btnTxt upperCase" aria-hidden="true">${r(i)}</div>
10						${t(a)}
11						${n(a,i)}
12					</div>
13				`}},onInitialize(){this.control.removeAttribute(`aria-controls`)}}).control.setAttribute(`aria-label`,`${Shopify.locale==`uk`?`Міцність`:`Крепость`}`),r.addEventListener(`change`,e=>{let t=e.target.value;t&&(window.location.href=t)}))}document.addEventListener(`DOMContentLoaded`,r);

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.