PageSourceSearch

https://tecbuy.com/cdn/shopifycloud/checkout-web/assets/c1/064677b8.DnlbzlEm.js

js tecbuy.com collected 2026-10-08 11:02:55 UTC 11,242 bytes, 1 lines download raw bytes

1import{u as e,m as t,z as r,g as n,q as a,a7 as o,a8 as c,a9 as l,h as i,S as s}from"./2c1ab0fe.Bf8FS-kA.js";import{cb as m,c as d}from"./4b4bc88f.C6QXxWcp.js";import{aR as f,cO as u,K as p,r as h,ad as _,bb as g,A as b,T as w,aE as v,a1 as y,s as z,cP as j,j as C}from"./164ad2e3.BPEX42uv.js";import"./app.YmvH25zM.js";import{u as O}from"./d22d2b80.BtsULFzN.js";import"./d0bb51ec.3dWJ276v.js";import"./f67abd2c.DVYhtaBv.js";import"./60a453ce.Boic_DNC.js";import"./e12db40c.2vh-yzuN.js";import"./9dba8418.bYtorePf.js";import"./74835653.CoZYi26f.js";import"./3ca8ef7e.BS-l2zDp.js";import"./2495faa4.1SnUZiCo.js";import"./a9fa9fda.BdhYcFOq.js";import"./ca3e798e.Dc6mNaNz.js";import"./47b970b2.BE-srlol.js";import"./22345fd4.BoFvu5gm.js";import"./064f6ac1.CjuMIPLF.js";import"./efa0389a.BZyYBSt1.js";import"./4b1c22b7.BRxY0LFs.js";var A={Autocomplete:"_1tnwc9f1 _1tnwc9f0 _1fragemup _1fragemv4 _1fragem133 _1fragem5f",colorLayerVariant:{control:"_1tnwc9fk _1tnwc9fi _1fragemy6",base:"_1tnwc9fl _1tnwc9fj _1fragemy5"},colorSchemeVariant:{scheme1:"_1tnwc9fa _1tnwc9f2 _1fragemxx",scheme2:"_1tnwc9fb _1tnwc9f3 _1fragemxy",scheme3:"_1tnwc9fc _1tnwc9f4 _1fragemxz",scheme4:"_1tnwc9fd _1tnwc9f5 _1fragemy0",scheme5:"_1tnwc9fe _1tnwc9f6 _1fragemy1",scheme6:"_1tnwc9ff _1tnwc9f7 _1fragemy2",scheme7:"_1tnwc9fg _1tnwc9f8 _1fragemy3",scheme8:"_1tnwc9fh _1tnwc9f9 _1fragemy4"},Header:"_1tnwc9fn _1tnwc9fm _1fragempp _1fragemri _1fragemnw _1fragemtb _1fragem64 _1fragem19 _1fragembe",Title:"_1tnwc9fp _1tnwc9fo _1fragemyt _1fragem11h _1fragemyh",Close:"_1tnwc9fr _1tnwc9fq _1fragempp _1fragemri _1fragemnw _1fragemtb",Options:"_1tnwc9ft _1tnwc9fs _1fragemqt _1fragemsm _1fragemp0 _1fragemuf _1fragem11h",Option:"_1tnwc9fv _1tnwc9fu _1fragempp _1fragemri _1fragemnw _1fragemtb _1fragemyd",o
1ptionVariant:{selected:"_1tnwc9fx _1tnwc9fw _1fragem11x"},Footer:"_1tnwc9fz _1tnwc9fy _1fragempp _1fragemri _1fragemnw _1fragemtb _1fragemws _1fragem13d"};const L=z("Autocomplete");function S({id:s,onInput:d,onChange:z,options:C,onSelectOption:O,value:S,optionsCloseLabel:k,optionsHeaderLabel:q,children:D,autocomplete:E,onBlur:N,...I}){const[T,$]=r(!1),[B,H]=r(),[P,F]=r(!1),[U,G]=r(!1),K=n(null),Q=n(null),R=n(null),J=f(),{parent:W,current:X}=u(),{colors:Y}=p(),{colorScheme:Z,colorLayer:ee}=[X,W].flatMap(e=>e?["control","base"].map(t=>({colorScheme:e,colorLayer:t})):[]).find(({colorScheme:e,colorLayer:t})=>Y?.schemes?.[e]?.[t]?.background&&!m(Y.schemes[e][t].background))??{},te=h(s,L),re=_(),ne=()=>{F(!0),0!==C.length?T||null!=K.current&&g(K.current)&&(H(void 0),$(!0)):$(!1)},ae=a(()=>{T&&$(!1)},[T]),oe=e=>{T&&H(t=>void 0===t?e>0?0:C.length-1:t+e>=C.length?0:t+e<0?C.length-1:t+e)},ce=o.map(D,e=>{if(c(e)&&e.type===V)return l(e,{id:`${te}-options`},o.toArray(e.props.children).map((e,t)=>{if("object"==typeof e&&"type"in e&&e.type===x)return l(e,{id:`${te}-option-${t}`,isSelected:B===t,onMouseDown:()=>{(e=>{ae(),O&&O(C[e])})(t),K.current?.focus()},onMouseOver:()=>(e=>{H(e)})(t)})}))});i(()=>{const e=e=>{e.target instanceof Node&&!K.current?.contains(e.target)&&!R.current?.contains(e.target)?ae():e.target!==K.current&&K.current?.focus()};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}},[ae]),i(()=>{0===C.length?(T&&K.current&&!g(K.current)&&K.current.focus(),ae()):(!T&&K.current&&g(K.current)&&ne(),G(!0)),H(void 0)},[C]);const le=o.map(D,e=>{if(c(e)&&e.type===M)return e}),ie=Boolean(K.current&&g(K.current)),se=T&&C.length>0&&ie;i(()=>{if(P&&U)return b({content:J("autocompleteOptionsAvailable",{count:C.length})})},[P,C.length,U,J]);const me=j();return e("div",{ref:Q,children:[e(w,{...I,ariaActiveDescendant:T&&void 0!==B?`${te}-option-${B}`:void 0,ariaAutocomplete:"list",ariaControls:se?`${te}-options`:void 0,ariaOwns:se?`${te}-options`:void 0,ariaExpanded:se,ariaHasPopup:"listbox",autoCorrect:"off",autocomplete:me||!T&&!P&&E?E:"none",id:te,onInput:e=>{""===e?ae():ne(),d?.(e)},onChange:z,onFocus:ne,onBlur:()=>{T?N?.():(0===C.length&&G(!1),N?.(),F(!1))},onKeyDown:e=>{switch(e.key){case"ArrowDown":case"Down":e.preventDefault(),oe(1),ne();break;case"ArrowUp":case"Up":e.preventDefault(),oe(-1),ne();break;case"Enter":T?(e.preventDefault(),ae(),O&&null!=B&&O(C[B])):z?.(e.currentTarget.value);break;case"Escape":case"Esc":T&&(e.stopPropagation(),ae());break;case"Tab":ae()}},ref:K,role:"combobox",controlledValue:S}),se&&e(v,{activator:Q.current,sameInlineSize:!0,minInlineSize:320,preventOverflow:!0,positionArea:"block-end",offset:7,children:e("div",{className:t(A.Autocomplete,ee&&A.colorLayerVariant[ee],Z&&A.colorSchemeVariant[Z]),ref:R,"aria-labelledby":`${te}-autocomplete-title`,children:[e("div",{className:A.Header,children:[e("h3",{className:A.Title,id:`${te}-autocomplete-title`,children:q}),e("button",{type:"button",className:A.Close,onClick:()=>{ae(),K.current?.focus()},tabIndex:re?-1:void 0,"aria-label":k,"aria-hidden":!!re||void 0,children:e(y,{size:"small",type:"x"})})]}),ce,le]})})]})}function V({children:t,id:r}){return e("ul",{className:A.Options,id:r,onMouseDown:e=>{e.preventDefault()},role:"listbox",children:t})}function x({children:r,id:n,isSelected:a,onMouseDown:o,onMouseOver:c}){return e("li",{"aria-selected":a,className:t(A.Option,{[A.optionVariant.selected]:a}),id:n,onMouseDown:o,onMouseOver:c,role:"option",children:e("bdi",{children:r})})}function M({children:t}){return e("div",{className:A.Footer,children:t})}function k({description:t,matchedSubstrings:r}){return r.reduce((r,{length:n,offset:a},o,c)=>{const l=a,i=a+n,s=c[o-1],m=s?s.offset+s.length:0,d=o===c.length-1;return e("span",{"aria-label":t,children:[r,m===l?null:e(C,{color:"subdued",children:t.substring(m,l)}),l===i?null:e(C,{type:"mark",children:t.substring(l,i)}),d?e(C,{color:"subdued",children:t.substring(i)}):null]})},e(s,{}))}const q=t=>e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 116 15",...t,children:e("path",{d:"M4.025 3.572c1.612 0 2.655 1.283 2.655 3.27 0 1.974-1.05 3.27-2.655 3.27-.902 0-1.63-.393-1.974-1.06h-.09v3.057H.95V3.68h.96v1.054h.094c.404-.726 1.16-1.166 2.02-1.166zm-.24 5.63c1.16 0 1.852-.884 1.852-2.36 0-1.477-.692-2.362-1.846-2.362-1.14 0-1.86.91-1.86 2.362 0 1.447.72 2.36 1.858 2.36zm7.072.91c-1.798 0-2.912-1.243-2.912-3.27 0-2.033 1.114-3.27 2.912-3.27 1.8 0 2.913 1.237 2.913 3.27 0 2.027-1.114 3.27-2.913 3.27m0-.91c1.196 0 1.87-.866 1.87-2.36 0-1.5-.674-2.362-1.87-2.3
162-1.195 0-1.87.862-1.87 2.362 0 1.494.675 2.36 1.87 2.36m12.206-5.518H22.05l-1.244 5.05h-.094L19.3 3.684h-.966l-1.412 5.05h-.094l-1.242-5.05h-1.02L16.336 10h1.02l1.406-4.887h.093L20.268 10h1.025zm3.632.78c-1.008 0-1.71.737-1.787 1.856h3.48c-.023-1.12-.69-1.857-1.693-1.857zm1.664 3.9h1.004c-.305 1.085-1.277 1.747-2.66 1.747-1.752 0-2.848-1.26-2.848-3.26 0-1.986 1.113-3.275 2.847-3.275 1.705 0 2.742 1.213 2.742 3.176v.387h-4.542v.047c.053 1.248.75 2.04 1.822 2.04.815 0 1.366-.3 1.63-.857zM31.03 10h1.01V6.086c0-.89.696-1.535 1.657-1.535.2 0 .563.04.645.06V3.6c-.13-.018-.34-.03-.504-.03-.838 0-1.565.434-1.752 1.05h-.094v-.938h-.96V10zm6.915-5.537c-1.008 0-1.71.738-1.787 1.857h3.48c-.023-1.12-.69-1.857-1.693-1.857m1.664 3.902h1.004c-.304 1.084-1.277 1.746-2.66 1.746-1.752 0-2.848-1.26-2.848-3.26 0-1.986 1.113-3.275 2.847-3.275 1.705 0 2.742 1.213 2.742 3.176v.387h-4.542v.047c.053 1.248.75 2.04 1.822 2.04.815 0 1.366-.3 1.63-.857zm5.01 1.746c-1.62 0-2.658-1.28-2.658-3.265 0-1.98 1.05-3.27 2.654-3.27.878 0 1.622.416 1.98 1.108h.087V1.177h1.008V10h-.96V8.992h-.093c-.4.703-1.15 1.12-2.02 1.12zm.23-5.63c-1.15 0-1.845.89-1.845 2.365s.69 2.36 1.846 2.36c1.15 0 1.858-.9 1.858-2.36 0-1.447-.715-2.362-1.857-2.362zm7.876-3.114h1.024V4.49q.346-.45.827-.69.48-.239 1.043-.237 1.172.001 1.9.806c.49.536.73 1.33.73 2.375q0 1.489-.72 2.473t-1.997.984q-.715 0-1.207-.344-.293-.206-.627-.657v.8h-.97V1.364zm4.02 7.225q.426-.679.426-1.793 0-.99-.425-1.64t-1.25-.65q-.719 0-1.264.532-.541.532-.542 1.757.001.885.224 1.435.416 1.04 1.553 1.04.856 0 1.28-.68zM63.4 3.727h1.167q-.222.603-.99 2.754a145 145 0 0 1-.96 2.635q-.915 2.402-1.29 2.93-.375.526-1.29.527-.221 0-.342-.017a3 3 0 0 1-.296-.065v-.96q.273.074.4.093.119.018.214.018.292 0 .43-.093a.9.9 0 0 0 .232-.237q.03-.05.21-.48.183-.436.264-.646l-2.32-6.457h1.196l1.68 5.11 1.694-5.11zm10.594 1.556V6.87h3.814c-.117.89-.416 1.54-.87 1.998-.557.555-1.427 1.16-2.944 1.16-2.35 0-4.184-1.882-4.184-4.217 0-2.33 1.835-4.214 4.184-4.214a4.07 4.07 0 0 1 2.873 1.135l1.122-1.116C77.04.697 75.77 0 73.99 0c-3.218 0-5.923 2.606-5.923 5.805 0 3.2 2.705 5.804 5.923 5.804 1.738 0 3.048-.57 4.073-1.63 1.05-1.044 1.382-2.52 1.382-3.71 0-.365-.028-.707-.087-.99h-5.37zm10.222-1.29c-2.082 0-3.78 1.574-3.78 3.748 0 2.154 1.698 3.747 3.78 3.747S87.998 9.9 87.998 7.74c0-2.174-1.7-3.748-3.782-3.748zm0 6.018c-1.14 0-2.127-.935-2.127-2.27 0-1.348.982-2.27 2.123-2.27s2.128.922 2.128 2.27c0 1.335-.985 2.27-2.127 2.27zm18.54-5.18h-.06c-.37-.438-1.083-.838-1.985-.838-1.88 0-3.52 1.632-3.52 3.748 0 2.102 1.64 3.747 3.52 3.747.906 0 1.62-.4 1.99-.852h.06v.523c0 1.432-.774 2.2-2.013 2.2-1.012 0-1.64-.723-1.9-1.336l-1.44.593c.414.994 1.51 2.213 3.34 2.213 1.94 0 3.58-1.135 3.58-3.902v-6.74h-1.57v.645zm-1.9 5.18c-1.144 0-2.013-.968-2.013-2.27 0-1.323.87-2.27 2.01-2.27 1.13 0 2.012.967 2.012 2.282.006 1.31-.882 2.258-2.01 2.258zM92.65 3.992c-2.084 0-3.783 1.574-3.783 3.748 0 2.154 1.7 3.747 3.782 3.747 2.08 0 3.78-1.587 3.78-3.747 0-2.174-1.7-3.748-3.78-3.748zm0 6.018c-1.143 0-2.13-.935-2.13-2.27 0-1.348.987-2.27 2.13-2.27 1.14 0 2.126.922 2.126 2.27 0 1.335-.986 2.27-2.127 2.27zM105.622.155h1.628v11.332h-1.628m6.655-1.477c-.843 0-1.44-.38-1.83-1.135l5.04-2.07-.168-.426c-.315-.84-1.275-2.39-3.228-2.39-1.94 0-3.554 1.515-3.554 3.75 0 2.1 1.595 3.744 3.736 3.744 1.725 0 2.724-1.05 3.14-1.658l-1.285-.852c-.428.62-1.01 1.032-1.855 1.032zm-.117-4.612c.668 0 1.24.342 1.427.826l-3.405 1.4c0-1.574 1.122-2.226 1.978-2.226"})});function D({error:t,label:r="",autoFocus:a,name:o,field:c,onChange:l,onInput:s,onSelect:m,value:f,required:u,autocomplete:p,disabled:h,readOnly:_,countryCode:g,addressType:w,onBlur:v,id:y=o,allowAllCountries:z,disableAdditionalFields:j=!0,...C}){const{i18n:A}=d(),{value:L,setValue:D,predictions:E,selectPrediction:N,provider:I}=O({addressType:w,countryCode:g,field:c,initialAddressQuery:f,allowAllCountries:z}),T=n(),$=e=>{T.current=e,l?.(e)},[B]=E,H="autocomplete-service"===I&&"GOOGLE_PLACE_AUTOCOMPLETE"===B?.completionService,P=A.translate("general.autocomplete_powered_by_google",{brandName:A.translate("brand.google")}),F=n(!1);return i(()=>{H&&!F.current&&b({content:P}),F.current=H},[H,P]),e(S,{accessibilityDescription:H?P:void 0,error:t,id:y,label:r,name:o,onInput:e=>{D(e),s?.(e)},onChange:$,onSelectOption:function({addressId:e,completionService:t}){N(e,t,j,(r,n)=>{D(r[c]??"",!1),m&&m(r,e,t,n)})},options:E,value:L,autoFocus:a,required:u,autocomplete:p,optionsHeaderLabel:A.translate("general.autocomplete_title"),optionsCloseLabel:A.translate("general.autocomplete_close"),disabled:h,readOnly:_,...C,onBlur:()=>{void 0===f||L===f||""!==L&&L===T.current||$(L),v?.()}
1,children:[e(V,{children:E.map(({addressId:t,description:r,matchedSubstrings:n})=>e(x,{children:e(k,{description:r,matchedSubstrings:n})},t))}),H?e(M,{children:e(q,{className:"Llh19","aria-label":P})}):null]})}export{D as default};

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.