PageSourceSearch

https://www.mytekpros.com/_next/static/chunks/app/store/page-b195eb28dc562291.js

js mytekpros.com collected 2026-10-08 11:25:16 UTC 13,383 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3114],{14108:function(e,s,a){Promise.resolve().then(a.bind(a,84893)),Promise.resolve().then(a.t.bind(a,72972,23)),Promise.resolve().then(a.bind(a,60049))},84893:function(e,s,a){"use strict";a.d(s,{default:function(){return b}});var t=a(57437),r=a(2265),l=a(27648),c=a(99376);a(23990);var i=a(39076),n=a(60049),o=a(77843),d=a(20252),u=()=>{let{itemCount:e,hydrated:s}=(0,d.j)();return(0,t.jsxs)(l.default,{href:"/store/cart",className:"store-cart-link",children:[(0,t.jsx)("i",{className:"fas fa-shopping-cart","aria-hidden":"true"}),"Quote Cart",s&&e>0&&(0,t.jsx)("span",{className:"store-cart-count",children:e})]})},h=e=>{let{label:s,options:a,activeValue:l,onChange:c}=e,[i,n]=(0,r.useState)(!1),o=(0,r.useRef)(null);(0,r.useEffect)(()=>{let e=e=>{o.current&&!o.current.contains(e.target)&&n(!1)};return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let d=null!==l?a.find(e=>e.value===l):null;return(0,t.jsxs)("div",{className:"store-dropdown".concat(i?" is-open":""),ref:o,children:[(0,t.jsxs)("button",{type:"button",className:"store-dropdown__trigger".concat(d?" has-value":""),onClick:()=>n(e=>!e),"aria-haspopup":"listbox","aria-expanded":i,children:[(0,t.jsx)("span",{className:"store-dropdown__trigger-label",children:d?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("span",{className:"store-dropdown__trigger-name",children:[s,":"]})," ",d.label]}):s}),(0,t.jsx)("i",{className:"fas fa-chevron-down","aria-hidden":"true"})]}),i&&(0,t.jsx)("div",{className:"store-dropdown__menu",role:"listbox",children:a.map(e=>{var s;return(0,t.jsxs)("button",{type:"button",role:"option","aria-selected":l===e.value,className:"store-dropdown__option".concat(l===e.value?" is-active":""),onClick:()=>{c(e.value),n(!1)},children:[e.label,l===e.value&&(0,t.jsx)("i",{className:"fas fa-check","aria-hidden":"true"})]},null!==(s=e.value)&&void 0!==s?s:"__all__")})})]})};let m=["UniFi","ButterflyMX"],p=()=>{let e=[...new Set(i.RB.map(e=>e.brand))].filter(e=>!m.includes(e)).sort((e,s)=>e.localeCompare(s));return[...m,...e]},x={cameras:"fas fa-video","door-access":"fas fa-door-open",networking:"fas fa-wifi","fire-alarm":"fas fa-fire",accessories:"fas fa-toolbox"},g={cameras:"https://cdn.ecomm.ui.com/products/ed2301d1-7bc1-4569-b257-0ed1df0ed4d5/a695c111-28c9-4b90-a73c-8352dc104bfd.png","door-access":"https://cdn.ecomm.ui.com/products/f20970ca-1951-4ed9-9016-3eea65981a94/b36edf90-78d4-43fc-b818-172dbc1ce079.png",networking:"https://cdn.ecomm.ui.com/products/fa8dd4e4-36c8-4c79-a928-22c7bff2ce29/ab5bc8a4-6135-402e-a695-e3ea5e16d3e6.png","fire-alarm":"https://cdn.adiglobaldistribution.us/pim/500X500/10035/FL-SD365_lg.jpg",accessories:"https://shop.butterflymx.com/cdn/shop/files/security-camera-gateway-front-butterflymx-shopify.png?v=1763506386"},j={},f=()=>{let e=(0,i.Ri)(),s={},a=[];for(let t of e)s[t.category]=(s[t.category]||0)+1,s[t.category]<=3&&a.push(t);return a};var b=()=>{let{getSaleInfo:e}=(0,n.o)(),s=(0,c.useSearchParams)(),[a,d]=(0,r.useState)(null),[m,b]=(0,r.useState)(null),[N,v]=(0,r.useState)(!1),[y,w]=(0,r.useState)(!1),[_,k]=(0,r.useState)(""),[S,C]=(0,r.useState)(1);(0,r.useEffect)(()=>{let e=s.get("category");e&&i.bd.some(s=>s.slug===e)&&d(e)},[]);let B=(0,r.useMemo)(()=>{let s=_.trim().toLowerCase();return i.RB.filter(t=>(!a||t.category===a)&&(!m||t.brand===m)&&(!N||!!e(t).isOnSale)&&(!y||!!t.isSystemSet)&&(!s||[t.name,t.brand,t.model,t.sku,t.description].filter(Boolean).some(e=>e.toLowerCase().includes(s))))},[a,m,N,y,_,e]);(0,r.useEffect)(()=>{C(1)},[a,m,N,y,_,e]);let M=(0,r.useMemo)(()=>i.RB.filter(s=>e(s).isOnSale).length,[e]),P=(0,r.useMemo)(()=>(0,i._7)(),[]),A=Math.max(1,Math.ceil(B.length/24)),E=Math.min(S,A),I=(0,r.useMemo)(()=>B.slice((E-1)*24,24*E),[B,E]),F=e=>{var s;C(Math.min(Math.max(e,1),A)),null===(s=document.getElementById("store-catalog"))||void 0===s||s.scrollIntoView({behavior:"smooth"})},L=(0,r.useMemo)(()=>f(),[]),O=(0,r.useMemo)(()=>p(),[]),R=(0,r.useMemo)(()=>[{value:null,label:"All Devices"},...i.bd.map(e=>({value:e.slug,label:e.label}))],[]),T=(0,r.useMemo)(()=>[{value:null,label:"All Brands"},...O.map(e=>({value:e,label:e}))],[O]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("section",{className:"service-section fix section-padding",id:"store-catalog",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"store-toolbar",children:[(0,t.jsxs)("div",{className:"store-dropdown-bar",children:[(0,t.jsx)(h,{label:"Device Type",options:R,activeValue:a,onChange:d}),(0,t.jsx)(h,{label:"Brand",options:T,activeValue:m,onChange:b}),M>0&&(0,t.jsxs)("button",{type:"button",className:"store-sale-toggle".concat(N?" is-active":""),"aria-pressed":N,onClick:()=>v(e=>!e),children:[(0,t.jsx)("i",{className:"fas fa-bolt","aria-hidden":"true"})," On Sale",(0,t.jsx)("span",{className:"store-sale-toggle__count",children:M})]}),P.length>0&&(0,t.jsxs)("button",{type:"button",className:"store-sale-toggle".concat(y?" is-active":""),"aria-pressed":y,onClick:()=>w(e=>!e),children:[(0,t.jsx)("i",{className:"fas fa-layer-group","aria-hidden":"true"})," System Sets",(0,t.jsx)("span",{className:"store-sale-toggle__count",children:P.length})]}),(0,t.jsxs)("div",{className:"store-search",children:[(0,t.jsx)("i",{className:"fas fa-search","aria-hidden":"true"}
1),(0,t.jsx)("input",{type:"search",value:_,onChange:e=>k(e.target.value),placeholder:"Search products...","aria-label":"Search products"}),_&&(0,t.jsx)("button",{type:"button",className:"store-search__clear",onClick:()=>k(""),"aria-label":"Clear search",children:(0,t.jsx)("i",{className:"fas fa-times","aria-hidden":"true"})})]}),(0,t.jsxs)("span",{className:"store-result-count store-result-count-inline",children:[B.length," product",1===B.length?"":"s"]})]}),(0,t.jsx)(u,{})]}),0===B.length?(0,t.jsx)("p",{style:{color:"var(--text2)"},children:"No products match those filters."}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"store-product-grid",children:I.map(e=>(0,t.jsx)(o.Z,{product:e},e.sku))}),A>1&&(0,t.jsx)("nav",{"aria-label":"Store pagination",className:"store-pagination",children:(0,t.jsxs)("ul",{className:"pagination",children:[(0,t.jsx)("li",{className:"page-item".concat(1===E?" disabled":""),children:(0,t.jsx)("button",{type:"button",className:"page-link",onClick:()=>F(E-1),disabled:1===E,children:"Prev"})}),Array.from({length:A},(e,s)=>s+1).map(e=>(0,t.jsx)("li",{className:"page-item".concat(e===E?" active":""),children:(0,t.jsx)("button",{type:"button",className:"page-link",onClick:()=>F(e),children:e})},e)),(0,t.jsx)("li",{className:"page-item".concat(E===A?" disabled":""),children:(0,t.jsx)("button",{type:"button",className:"page-link",onClick:()=>F(E+1),disabled:E===A,children:"Next"})})]})})]})]})}),(0,t.jsx)("section",{className:"about-section fix section-padding pb-0",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsx)("p",{className:"text-center wow fadeInUp","data-wow-delay":".3s",style:{maxWidth:820,margin:"0 auto"},children:"UniFi, ButterflyMX, and fire alarm/security hardware Mytek Pros installs and supports as an authorized reseller and ADI dealer. Add items to a quote request -- pricing and availability confirmed by our team, not processed at checkout yet."}),(0,t.jsxs)("div",{className:"store-builder-grid",children:[(0,t.jsxs)("div",{className:"store-builder-card",children:[(0,t.jsx)("span",{className:"tool-hub-icon",children:(0,t.jsx)("i",{className:"fas fa-video","aria-hidden":"true"})}),(0,t.jsx)("h3",{children:"Surveillance System Builder"}),(0,t.jsx)("p",{children:"Tell us about the property and we'll suggest real cameras, a matching NVR, and calculate the storage you need."}),(0,t.jsxs)(l.default,{href:"/store/surveillance-builder",className:"tool-calculate-btn",children:["Launch Builder",(0,t.jsx)("i",{className:"fas fa-chevron-right","aria-hidden":"true"})]})]}),(0,t.jsxs)("div",{className:"store-builder-card",children:[(0,t.jsx)("span",{className:"tool-hub-icon",children:(0,t.jsx)("i",{className:"fas fa-fire","aria-hidden":"true"})}),(0,t.jsx)("h3",{children:"Fire Alarm System Builder"}),(0,t.jsx)("p",{children:"Tell us about the property and we'll suggest a real addressable fire alarm system sized from NFPA 72 spacing rules."}),(0,t.jsxs)(l.default,{href:"/store/fire-alarm-builder",className:"tool-calculate-btn",children:["Launch Builder",(0,t.jsx)("i",{className:"fas fa-chevron-right","aria-hidden":"true"})]})]}),(0,t.jsxs)("div",{className:"store-builder-card",children:[(0,t.jsx)("span",{className:"tool-hub-icon",children:(0,t.jsx)("i",{className:"fas fa-door-open","aria-hidden":"true"})}),(0,t.jsx)("h3",{children:"Door Access System Builder"}),(0,t.jsx)("p",{children:"Tell us about the doors and we'll suggest real readers, hubs, and the right lock hardware for fire-rated doors."}),(0,t.jsxs)(l.default,{href:"/store/door-access-builder",className:"tool-calculate-btn",children:["Launch Builder",(0,t.jsx)("i",{className:"fas fa-chevron-right","aria-hidden":"true"})]})]})]})]})}),P.length>0&&(0,t.jsx)("section",{className:"service-section fix section-padding pb-0",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"store-section-heading",children:[(0,t.jsx)("h3",{children:"Complete System Sets"}),(0,t.jsx)("span",{className:"store-see-all",children:(0,t.jsxs)("button",{type:"button",className:"store-see-all__btn",onClick:()=>{var e;w(!0),null===(e=document.getElementById("store-catalog"))||void 0===e||e.scrollIntoView({behavior:"smooth"})},children:["See all ",P.length," sets"]}
1)})]}),(0,t.jsx)("p",{style:{maxWidth:720,marginBottom:20},children:"Pre-matched, ready-to-install systems -- cameras, door access, and fire alarm -- sized with the same compatibility math as our Builder tools, so every component is verified to work together. Prefer something custom-sized to your property instead? Use a Builder tool."}),(0,t.jsx)("div",{className:"store-product-grid",children:P.map(e=>(0,t.jsx)("div",{className:"store-arrivals-slide",children:(0,t.jsx)(o.Z,{product:e})},e.sku))})]})}),(0,t.jsx)("section",{className:"service-section fix section-padding pb-0",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsx)("div",{className:"store-section-heading",children:(0,t.jsx)("h3",{children:"Shop by Category"})}),(0,t.jsx)("div",{className:"store-category-rail",children:i.bd.map(e=>(0,t.jsxs)("button",{type:"button",className:"store-category-chip",onClick:()=>{var s;d(e.slug),null===(s=document.getElementById("store-catalog"))||void 0===s||s.scrollIntoView({behavior:"smooth"})},children:[(0,t.jsxs)("span",{className:"store-category-chip__circle-wrap",children:[(0,t.jsx)("span",{className:"store-category-chip__circle",style:{backgroundImage:"url(".concat(g[e.slug],")"),...j[e.slug]}}),(0,t.jsx)("span",{className:"store-category-chip__badge",children:(0,t.jsx)("i",{className:x[e.slug]||"fas fa-box","aria-hidden":"true"})})]}),(0,t.jsx)("span",{className:"store-category-chip__label",children:e.label}),(0,t.jsxs)("span",{className:"store-category-chip__count",children:[i.RB.filter(s=>s.category===e.slug).length," products"]})]},e.slug))})]})}),L.length>0&&(0,t.jsx)("section",{className:"service-section fix section-padding pb-0",children:(0,t.jsxs)("div",{className:"container",children:[(0,t.jsxs)("div",{className:"store-section-heading",children:[(0,t.jsx)("h3",{children:"New Arrivals"}),(0,t.jsxs)("span",{className:"store-see-all",children:[L.length," newly added"]})]}),(0,t.jsx)("div",{className:"store-product-grid",children:L.map(e=>(0,t.jsx)("div",{className:"store-arrivals-slide",children:(0,t.jsx)(o.Z,{product:e})},e.sku))})]})})]})}},77843:function(e,s,a){"use strict";var t=a(57437),r=a(2265),l=a(27648),c=a(33145),i=a(20252),n=a(60049),o=a(46005);s.Z=e=>{var s;let{product:a}=e,{getDisplayPrice:d,getSaleInfo:u}=(0,n.o)(),{addItem:h}=(0,i.j)(),[m,p]=(0,r.useState)(!1),x=null===(s=a.images)||void 0===s?void 0:s[0],g=u(a);return(0,t.jsxs)("div",{className:"store-product-card",children:[(0,t.jsxs)(l.default,{href:"/store/".concat(a.sku),className:"store-product-image",children:[g.isOnSale&&(0,t.jsxs)("span",{className:"store-sale-badge",children:["Save ",g.savingsPct,"%"]}),x?(0,t.jsx)(c.default,{src:x,alt:a.name,fill:!0,sizes:"(max-width: 575px) 45vw, (max-width: 991px) 30vw, 280px",style:{objectFit:"contain"},loading:"lazy"}):(0,t.jsx)("span",{className:"store-product-image-empty",children:"Image pending"})]}),(0,t.jsxs)("div",{className:"store-product-body",children:[(0,t.jsx)("span",{className:"store-brand-badge",children:a.brand}),(0,t.jsx)(l.default,{href:"/store/".concat(a.sku),className:"store-product-title",children:a.name}),(0,t.jsx)("p",{className:"store-product-desc",children:a.description}),(0,t.jsxs)("div",{className:"store-product-footer",children:[g.isOnSale?(0,t.jsxs)("span",{className:"store-price",children:[(0,t.jsx)("span",{className:"store-price-was",children:(0,o.T4)(g.wasPrice)})," ",(0,o.T4)(g.salePrice)]}):(0,t.jsx)("span",{className:"store-price",children:d(a)}),(0,t.jsx)("button",{type:"button",className:"store-add-btn".concat(m?" is-added":""),onClick:()=>{h(a,1),p(!0),setTimeout(()=>p(!1),1500)},children:m?"Added ✓":"Add to Quote"})]})]})]})}}},function(e){e.O(0,[7648,3145,3946,9170,2971,2117,1744],function(){return e(e.s=14108)}),_N_E=e.O()}]);

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.