1/*! 2 * @version 3ea9a483c 3 * 4 */ 5(window.webpackJsonp=window.webpackJsonp||[]).push([[17],{KnZH:function(n,e,t){"use strict" 6var i=t("denP"),o=t.n(i),a=t("JPst"),r=t.n(a)()(o.a) 7r.push([n.i,"@media only screen and (max-width: 767px ) {\n}@media only screen and (max-width: 767px ) {\n}.filterWrapper__xBNrH {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n.filterWrapper__xBNrH .items__ynK5b {\n display: flex;\n flex-direction: column;\n max-height: 160px;\n overflow: hidden;\n padding-bottom: 10px;\n}\n.filterWrapper__xBNrH .items__ynK5b.open__\\+jv\\+S {\n max-height: 100%;\n}\n.filterWrapper__xBNrH .items__ynK5b.open__\\+jv\\+S ~ .triggerOpen__VkaD9 {\n display: none;\n}\n.filterWrapper__xBNrH .items__ynK5b.open__\\+jv\\+S ~ .triggerClose__FSqx- {\n display: block;\n}\n.filterWrapper__xBNrH .items__ynK5b ~ .triggerClose__FSqx- {\n display: none;\n}\n.filterWrapper__xBNrH .triggerOpen__VkaD9 {\n display: flex;\n align-items: center;\n align-self: center;\n}\n.filterWrapper__xBNrH .triggerOpen__VkaD9:after {\n
7content: '\\e91b';\n font-family: 'icomoon';\n font-size: 10px;\n color: #000;\n margin: 0 0 0 8px;\n font-weight: 400;\n}\n.filterWrapper__xBNrH .triggerClose__FSqx- {\n display: flex;\n align-items: center;\n align-self: center;\n}\n.filterWrapper__xBNrH .triggerClose__FSqx-:after {\n content: '\\e91c';\n font-family: 'icomoon';\n font-size: 10px;\n color: #000;\n margin: 0 0 0 8px;\n font-weight: 400;\n}\n.filterWrapper__xBNrH .triggerOpen__VkaD9,\n.filterWrapper__xBNrH .triggerClose__FSqx- {\n margin: 10px 0;\n align-self: flex-start;\n}\n.filterWrapper__xBNrH .triggerOpen__VkaD9:hover,\n.filterWrapper__xBNrH .triggerClose__FSqx-:hover,\n.filterWrapper__xBNrH .triggerOpen__VkaD9:focus,\n.filterWrapper__xBNrH .triggerClose__FSqx-:focus {\n cursor: pointer;\n}\n","",{version:3,sources:["webpack://./src/web/typography.less","webpack://./src/components/Filters/FilterList/filter-list.less","webpack://./src/web/icons.less"],names:[],mappings:"AA8EE;AC7EF,CDuFE;ACtFF,CAAA;EACE,aAAA;EACA,sBAAA;EACA,8BAAA;AACF;AAJA;EAMI,aAAA;EACA,sBAAA;EACA,iBAAA;EACA,gBAAA;EACA,oBAAA;AACJ;AACI;EACE,gBAAA;AACN;AAFI;EAII,aAAA;AACR;AALI;EAQI,cAAA;AAAR;AApBA;EAyBM,aAAA;AAFN;AAvBA;EC+FE,aAAA;EACA,mBAAA;EACA,kBAAA;ADrEF;ACuEE;EACE,gBAAA;EACA,sBAAA;EACA,eAAA;EACA,WAAA;EACA,iBAAA;EACA,gBAAA;ADrEJ;AApCA;EC+FE,aAAA;EACA,mBAAA;EACA,kBAAA;ADxDF;AC0DE;EACE,gBAAA;EACA,sBAAA;EACA,eAAA;EACA,WAAA;EACA,iBAAA;EACA,gBAAA;ADxDJ;AAjDA;;EAuCI,cAAA;EACA,sBAAA;AAcJ;AAZI;;;;EAEE,eAAA;AAgBN",sourcesContent:["@import './theme.less';\n\n@font-family__sans-serif: Sans-Serif;\n\n@font-family-name__base: FrutigerRoman;\n@font-family-name__light: FrutigerLight;\n@font-family-name__bold: FrutigerBlack;\n\n@font-family__base: @font-family-name__base, @font-family__sans-serif;\n@font-family__light: @font-family-name__light, @font-family__sans-serif;\n@font-family__bold: @font-family-name__bold, @font-family__sans-serif;\n\n@font-size__6xl: 28px;\n@font-size__5xl: 26px;\n@font-size__4xl: 24px;\n@font-size__3xl: 22px;\n@font-size__2xl: 20px;\n@font-size__xl: 18px;\n@font-size__l: 16px;\n@font-size__m: 14px;\n@font-size__base: @font-size__m;\n@font-size__s: 12px;\n@font-size__xs: 10px;\n@font-size__xxs: 8px;\n\n// [MOBILE] base font size â drives the mobile type scale via inheritance from body\n@font-size__base__mobile: 11px;\n\n@font-weight__bold: 700;\n@font-weight__regular: 400;\n@font-weight__light: 300;\n\n@line-height__default: 1.5;\n\n.line-height(@heightValue)\n when\n not\n (@heightValue = false)\n and\n not\n (@heightValue = normal)\n and\n not\n (ispercentage(@heightValue)) {\n .font-size-value(@heightValue);\n line-height: @fontValue;\n}\n\n.font-size-value(@_value) when not (@_value = false) and not (@_value = '') {\n // Exact-pixel output: emit the design token verbatim as px. No rem/ratio, so\n // sizes are never re-interpreted against the device/user root font-size.\n @fontValue: unit((@_value) * 1, px);\n}\n\nhtml,\nbody {\n font-size: @font-size__base;\n // Single source of truth for body copy. Elements with NO font-size of their\n // own inherit this, so they shift 14px -> 11px on mobile for free. Elements\n // that set an explicit size are exact px and do NOT auto-shrink â to make one\n // responsive, drop its declaration so it inherits.\n @media @mobileM {\n font-size: @font-size__base__mobile;\n }\n}\n\nh1,\nh2,\nh4,\nh5,\nh6 {\n font-weight: @font-weight__bold;\n margin: @spacing__base 0;\n}\n\nh1 {\n font-size: @font-size__6xl;\n .line-height(@font-size__6xl);\n @media @mobileM {\n font-size: @font-size__4xl;\n .line-height(@font-size__4xl);\n }\n}\n\nh2,\nh3 {\n font-size: @font-size__3xl;\n .line-height(@font-size__4xl);\n @media @mobileM {\n font-size: @font-size__xl;\n .line-height(@font-size__2xl);\n }\n}\n\nh3 {\n margin: @spacing__base 0;\n font-weight: @font-weight__regular;\n}\n\nh4,\nh5,\nh6 {\n font-size: inherit;\n}\n\n[class^='font-size__l'] {\n font-size: @font-size__l;\n}\n","@import (reference) '../../../web/theme';\n\n.filterWrapper {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n\n .items {\n display: flex;\n flex-direction: column;\n max-height: 160px;\n overflow: hidden;\n padding-bottom: @indent__s;\n\n &.open {\n max-height: 100%;\n\n ~ .triggerOpen {\n display: none;\n }\n\n ~ .triggerClose {\n display: block;\n }\n }\n\n ~ .triggerClose {\n display: none;\n }\n }
7\n\n .triggerOpen {\n .icomoonAfter('chevron-down', @font-size__xs, 0 0 0 @spacing__base, @color__black);\n }\n\n .triggerClose {\n .icomoonAfter('chevron-up', @font-size__xs, 0 0 0 @spacing__base, @color__black);\n }\n\n .triggerOpen,\n .triggerClose {\n margin: @indent__s 0;\n align-self: flex-start;\n\n &:hover,\n &:focus {\n cursor: pointer;\n }\n }\n}\n","@import '/src/web/fonts/icomoon/variables';\n\n@icon__folder: './icons/';\n\n@icon__width-default: 20px;\n@icon__height-default: 20px;\n@icon__indent-default: 10px;\n\n.icon(\n @name: '',\n @width: @icon__width-default,\n @height: @icon__height-default,\n @indent: 0\n) {\n display: flex;\n align-items: center;\n width: @width;\n min-width: @width;\n height: @height;\n margin: @indent;\n background-image: url(~'@{icon__folder}@{name}.svg');\n background-size: @width @height;\n background-repeat: no-repeat;\n}\n\n.iconSrc(@name) {\n background-image: url(~'@{icon__folder}@{name}.svg');\n}\n\n.iconBefore(\n @name: '',\n @width: @icon__width-default,\n @height: @icon__height-default,\n @indent: 0 @icon__indent-default 0 0\n) {\n display: flex;\n align-items: center;\n\n &:before {\n display: inline-block;\n width: @width;\n min-width: @width;\n height: @height;\n margin: @indent;\n background-image: url(~'@{icon__folder}@{name}.svg');\n background-size: @width @height;\n background-repeat: no-repeat;\n content: '';\n }\n}\n\n.iconBeforeSrc(@name) {\n &:before {\n background-image: url(~'@{icon__folder}@{name}.svg');\n }\n}\n\n.iconAfter(\n @name: '',\n @width: @icon__width-default,\n @height: @icon__height-default,\n @indent: 0 0 0 @icon__indent-default\n) {\n display: flex;\n align-items: center;\n\n &:after {\n display: inline-block;\n width: @width;\n min-width: @width;\n height: @height;\n margin: @indent;\n background-image: url(~'@{icon__folder}@{name}.svg');\n background-size: @width @height;\n background-repeat: no-repeat;\n content: '';\n }\n}\n\n.icomoonBefore(@name, @size, @margin: 0, @color: @color__primary) {\n @icon: 'icon-@{name}';\n display: flex;\n align-items: center;\n align-self: center;\n\n &:before {\n content: @@icon;\n font-family: 'icomoon';\n font-size: @size;\n color: @color;\n margin: @margin;\n font-weight: @font-weight__regular;\n }\n}\n\n.icomoonAfter(@name, @size, @margin: 0, @color: @color__primary) {\n @icon: 'icon-@{name}';\n display: flex;\n align-items: center;\n align-self: center;\n\n &:after {\n content: @@icon;\n font-family: 'icomoon';\n font-size: @size;\n color: @color;\n margin: @margin;\n font-weight: @font-weight__regular;\n }\n}\n\n.iconAfterSrc(@name) {\n &:after {\n background-image: url(~'@{icon__folder}@{name}.svg');\n }\n}\n"],sourceRoot:""}]),r.locals={filterWrapper:"filterWrapper__xBNrH",items:"items__ynK5b",open:"open__+jv+S",triggerOpen:"triggerOpen__VkaD9",triggerClose:"triggerClose__FSqx-"},e.a=r},Nqa5:function(n,e,t){"use strict" 8var i=t("denP"),o=t.n(i),a=t("JPst"),r=t.n(a)()(o.a) 9r.push([n.i,"@media only screen and (max-width: 767px ) {\n}@media only screen and (max-width: 767px ) {\n}.root__\\+g7aN {\n --borderColor: var(--venia-global-color-border);\n background-color: white;\n bottom: 0;\n display: none;\n grid-template-rows: 1fr 7rem;\n max-width: 360px;\n width: 100%;\n z-index: 3;\n}\n.body__nuXB0 {\n overflow: auto;\n background-color: #f8f8f8;\n padding: 25px;\n}\n.header__QArEK {\n display: flex;\n justify-content: space-between;\n}\n.headerTitle__MslEq {\n font-size: 18px;\n display: flex;\n align-items: center;\n line-height: 0.875rem;\n}\n.action__I2TUU button {\n font-size: var(--venia-typography-body-S-fontSize);\n text-decoration: none;\n}\n.blocks__qg8L3 > li:last-child {\n border-bottom: 2px solid rgb(var(--borderColor));\n}\n@media (min-width: 1024px) {\n .root__\\+g7aN {\n display: grid;\n }\n}\n","",{version:3,sources:["webpack://./src/web/typography.less","webpack://./src/components/FilterSidebar/filter-sidebar.less"],names:[],mappings:"AA8EE;AC7EF,CDuFE;ACtFF,CAAA;EACE,+CAAA;EACA,uBAAA;EACA,SAAA;EACA,aAAA;EACA,4BAAA;EACA,gBAAA;EACA,WAAA;EACA,UAAA;AACF;AAEA;EACE,cAAA;EACA,yBAAA;EACA,aAAA;AAAF;AAGA;EACE,aAAA;EACA,8BAAA;AADF;AAIA;EACE,eAAA;EACA,aAAA;EACA,mBAAA;EACA,qBAAA;AAFF;AAQA;EACE,kDAAA;EACA,qBAAA;AANF;AAYA;EACE,gDAAA;AAVF;AAaA;EACE;IACE,aAAA;EAXF;AACF",sourcesContent:["@import './theme.less';\n\n@font-family__sans-serif: Sans-Serif;\n\n@font-family-name__base: FrutigerRoman;
9\n@font-family-name__light: FrutigerLight;\n@font-family-name__bold: FrutigerBlack;\n\n@font-family__base: @font-family-name__base, @font-family__sans-serif;\n@font-family__light: @font-family-name__light, @font-family__sans-serif;\n@font-family__bold: @font-family-name__bold, @font-family__sans-serif;\n\n@font-size__6xl: 28px;\n@font-size__5xl: 26px;\n@font-size__4xl: 24px;\n@font-size__3xl: 22px;\n@font-size__2xl: 20px;\n@font-size__xl: 18px;\n@font-size__l: 16px;\n@font-size__m: 14px;\n@font-size__base: @font-size__m;\n@font-size__s: 12px;\n@font-size__xs: 10px;\n@font-size__xxs: 8px;\n\n// [MOBILE] base font size â drives the mobile type scale via inheritance from body\n@font-size__base__mobile: 11px;\n\n@font-weight__bold: 700;\n@font-weight__regular: 400;\n@font-weight__light: 300;\n\n@line-height__default: 1.5;\n\n.line-height(@heightValue)\n when\n not\n (@heightValue = false)\n and\n not\n (@heightValue = normal)\n and\n not\n (ispercentage(@heightValue)) {\n .font-size-value(@heightValue);\n line-height: @fontValue;\n}\n\n.font-size-value(@_value) when not (@_value = false) and not (@_value = '') {\n // Exact-pixel output: emit the design token verbatim as px. No rem/ratio, so\n // sizes are never re-interpreted against the device/user root font-size.\n @fontValue: unit((@_value) * 1, px);\n}\n\nhtml,\nbody {\n font-size: @font-size__base;\n // Single source of truth for body copy. Elements with NO font-size of their\n // own inherit this, so they shift 14px -> 11px on mobile for free. Elements\n // that set an explicit size are exact px and do NOT auto-shrink â to make one\n // responsive, drop its declaration so it inherits.\n @media @mobileM {\n font-size: @font-size__base__mobile;\n }\n}\n\nh1,\nh2,\nh4,\nh5,\nh6 {\n font-weight: @font-weight__bold;\n margin: @spacing__base 0;\n}\n\nh1 {\n font-size: @font-size__6xl;\n .line-height(@font-size__6xl);\n @media @mobileM {\n font-size: @font-size__4xl;\n .line-height(@font-size__4xl);\n }\n}\n\nh2,\nh3 {\n font-size: @font-size__3xl;\n .line-height(@font-size__4xl);\n @media @mobileM {\n font-size: @font-size__xl;\n .line-height(@font-size__2xl);\n }\n}\n\nh3 {\n margin: @spacing__base 0;\n font-weight: @font-weight__regular;\n}\n\nh4,\nh5,\nh6 {\n font-size: inherit;\n}\n\n[class^='font-size__l'] {\n font-size: @font-size__l;\n}\n","@import (reference) '../../web/theme';\n\n.root {\n --borderColor: var(--venia-global-color-border);\n background-color: white;\n bottom: 0;\n display: none;\n grid-template-rows: 1fr 7rem;\n max-width: 360px;\n width: 100%;\n z-index: 3;\n}\n\n.body {\n overflow: auto;\n background-color: @color__gray-lighter;\n padding: @indent__ml;\n}\n\n.header {\n display: flex;\n justify-content: space-between;\n}\n\n.headerTitle {\n font-size: @font-size__xl;\n display: flex;\n align-items: center;\n line-height: 0.875rem;\n}\n\n.action {\n}\n\n.action button {\n font-size: var(--venia-typography-body-S-fontSize);\n text-decoration: none;\n}\n\n.blocks {\n}\n\n.blocks > li:last-child {\n border-bottom: 2px solid rgb(var(--borderColor));\n}\n\n@media (min-width: 1024px) {\n .root {\n display: grid;\n }\n}\n"],sourceRoot:""}]),r.locals={root:"root__+g7aN",body:"body__nuXB0",header:"header__QArEK",headerTitle:"headerTitle__MslEq",action:"action__I2TUU",blocks:"blocks__qg8L3"},e.a=r},P2xv:function(n,e,t){"use strict" 10t.r(e),t.d(e,"default",function(){return b}) 11var i=t("q1tI"),o=t.n(i),a=t("17x9"),r=t("Ty5D"),s=t("avxd"),l=t("NB4Z"),A=t("wy0Q") 12var _=t("T1X5"),c=t("LboF"),f=t.n(c),g=t("Nqa5"),d={insert:"head",singleton:!1},h=(f()(g.a,d),g.a.locals||{}),m=t("sSRt"),p=t("ZI9b") 13const u=n=>{const{filters:e,filterCountToOpen:t,category:a}=n,c=(n=>{const{filters:e}=n,[t,o]=Object(i.useState)(!1),[{drawer:a},{toggleDrawer:_,closeDrawer:c}]=Object(s.b)(),[f,g]=Object(l.a)(),d=Object(i.useRef)(null),h="filter"===a,m=Object(r.g)(),{pathname:p,search:u}=Object(r.h)(),b=Object(i.useMemo)(()=>{const n=new Set 14return"/search.html"!==p&&n.add("category_id"),n},[p]),x=Object(i.useMemo)(()=>{const n=new Set 15for(const{attribute_code:t}of e)!b.has(t)&&n.add(t) 16return n},[b,e]),[y,E,w]=Object(i.useMemo)(()=>{const n=new Map,t=new Set,i=new Map 17for(const o of e){const{options:e,label:a,attribute_code:r}=o 18if(x.has(r)){const o=[] 19n.set(r,a),t.add("".concat(r,"[filter]")) 20for(const{label:n,value:t,count:i}of e)o.push({title:Object(A.e)(n),value:t,count:i}) 21i.set(r,o)}}return[n,t,i]},[e,x]) 22Object(i.useEffect)(()=>
22{if(t){const n=Object(A.c)(u,E,f) 23m.push({pathname:p,search:n}),o(!1)}},[E,f,m,t,p,u]) 24const C=Object(i.useCallback)(()=>{_("filter")},[_]),z=Object(i.useCallback)(()=>{c()},[c]),v=Object(i.useCallback)(()=>{o(!0),z()},[z]),k=Object(i.useCallback)(()=>{g.clear(),o(!0)},[g,o]),O=Object(i.useCallback)(n=>{if(h)switch(n.keyCode){case 27:z()}},[h,z]) 25return Object(i.useEffect)(()=>{const n=null===d.current&&"filter"===a,e="filter"===d.current&&null===a 26if(n||e){const n=Object(A.d)(u,E,w) 27g.setItems(n)}e&&z(),d.current=a},[a,g,w,E,u,z]),Object(i.useEffect)(()=>{const n=Object(A.d)(u,E,w) 28g.setItems(n)},[g,w,E,u]),{filterApi:g,filterItems:w,filterKeys:E,filterNames:y,filterState:f,handleApply:v,handleClose:z,handleKeyDownActions:O,handleOpen:C,handleReset:k,isApplying:t,isOpen:h}})({filters:e}),{filterApi:f,filterItems:g,filterNames:d,filterState:u,handleApply:b}=c,x=Object(i.useRef)(),y=Object(_.a)(h,n.classes),E=Object(i.useCallback)(function(){const n=x.current 29if(n&&"function"==typeof n.getBoundingClientRect){const e=n.getBoundingClientRect().top,t=window.scrollY+e-150 30window.scrollTo(0,t)}b(...arguments)},[b,x]),w=Object(i.useMemo)(()=>Array.from(g,(n,e)=>{let[i,r]=n 31const s=u.get(i),l=d.get(i) 32return o.a.createElement(m.a,{key:i,filterApi:f,filterState:s,group:i,items:r,name:l,onApply:E,initialOpen:e<t,category:a})}),[f,g,d,u,t,E]) 33return o.a.createElement("aside",{className:y.root,ref:x,"aria-live":"polite","aria-busy":"false"},o.a.createElement("div",{className:y.body},o.a.createElement("div",{className:y.header},o.a.createElement("h2",{className:y.headerTitle},Object(p.a)({s:"Refine results"}))),o.a.createElement("ul",{className:y.blocks},w)))} 34u.defaultProps={filterCountToOpen:3},u.propTypes={classes:Object(a.shape)({action:a.string,blocks:a.string,body:a.string,header:a.string,headerTitle:a.string,root:a.string,root_open:a.string}),filters:Object(a.arrayOf)(Object(a.shape)({attribute_code:a.string,items:a.array})),filterCountToOpen:a.number,category:a.string} 35var b=u},YY1l:function(n,e,t){"use strict" 36const i=n=>n instanceof Set 37function optionalSet(n,e,t){const o=n[e],a=typeof o 38if(null!=o&&!i(o))return new Error("Invalid prop `".concat(e,"` of type `").concat(a,"` supplied to `").concat(t,"`, expected `Set`."))}optionalSet.isRequired=function requiredSet(n,e,t){const o=n[e],a=typeof o 39if(null==o||!i(o))return new Error("Invalid prop `".concat(e,"` of type `").concat(a,"` supplied to `").concat(t,"`, expected `Set`."))},e.a=optionalSet},jYnX:function(n,e,t){"use strict" 40var i=t("denP"),o=t.n(i),a=t("JPst"),r=t.n(a)()(o.a) 41r.push([n.i,"@media only screen and (max-width: 767px ) {\n}@media only screen and (max-width: 767px ) {\n}.root__-hmmi {\n border-color: #ebebeb;\n border-style: solid;\n border-width: 0 0 1px;\n display: flex;\n flex-direction: column;\n}\n.header__\\+gOuP {\n display: flex;\n width: 100%;\n align-items: center;\n min-height: 3rem;\n}\n.name__ZLboM {\n width: 100%;\n text-align: left;\n font-weight: 700;\n color: #000;\n padding: 10px 0;\n}\n.list__AOnii ul {\n padding: 10px 0;\n}\n.main_list__1HLpI {\n overflow: hidden;\n max-height: 0;\n}\n.list__AOnii:empty {\n display: none;\n}\n.list_expanded__SN5EL {\n border-top: 1px solid #ebebeb;\n max-height: fit-content;\n transition: max-height 1s ease-in-out;\n}\n.list_collapsed__PZQaK {\n max-height: 0;\n border-top: 1px solid #ebebeb;\n transition: max-height 0.3s ease-in-out;\n}\n.arrow_down__DMZPC {\n display: flex;\n align-items: center;\n align-self: center;\n}\n.arrow_down__DMZPC:after {\n content: '\\e91b';\n font-family: 'icomoon';\n font-size: 14px;\n color: #000;\n margin: 0;\n font-weight: 400;\n}\n.arrow_up__fO\\+XD {\n display: flex;\n align-items: center;\n align-self: center;\n}\n.arrow_up__fO\\+XD:after {\n content: '\\e91c';\n font-family: 'icomoon';\n font-size: 14px;\n color: #000;\n margin: 0;\n font-weight: 400;\n}\n","",{version:3,sources:["webpack://./src/web/typography.less","webpack://./src/components/Filters/filter-block.less","webpack://./src/web/icons.less"],names:[],mappings:"AA8EE;AC7EF,CDuFE;ACtFF,CAAA;EACE,qBAAA;EACA,mBAAA;EACA,qBAAA;EACA,aAAA;EACA,sBAAA;AACF;AAEA;EACE,aAAA;EACA,WAAA;EACA,mBAAA;EACA,gBAAA;AAAF;AAGA;EACE,WAAA;EACA,gBAAA;EACA,gBAAA;EACA,WAAA;EACA,eAAA;AADF;AAIA;EACE,eAAA;AAFF;AAKA;EACE,gBAAA;EACA,aAAA;AAHF;AAMA;EACE,aAAA;AAJF;AAOA;EAEE,6BAAA;EACA,uBAAA;EACA,qCAAA;AALF;AAQA;EAEE,aAAA;EACA,6BAAA;EACA,uCAAA;AANF;AASA;EC6CE,aAAA;EACA,mBAAA;EACA,kBAAA;ADnDF;ACqDE;EACE,gBAAA;EACA,sBAAA;EACA,eAAA;EACA,WAAA;EACA,SAAA;EACA,gBAAA;ADnDJ;AAAA;ECyCE,aAAA;EACA,mBAAA;EACA,kBAAA;ADtCF;ACwCE;EACE,gBAAA;EACA,sBAAA;EACA,eAAA;EACA,WAAA;EACA,SAAA;EACA,gBAAA;ADtCJ",sourcesContent:["@import './theme.less';\n\n@font-family__sans-serif: Sans-Serif;\n\n@font-family-name__base: FrutigerRoman;
41\n@font-family-name__light: FrutigerLight;\n@font-family-name__bold: FrutigerBlack;\n\n@font-family__base: @font-family-name__base, @font-family__sans-serif;\n@font-family__light: @font-family-name__light, @font-family__sans-serif;\n@font-family__bold: @font-family-name__bold, @font-family__sans-serif;\n\n@font-size__6xl: 28px;\n@font-size__5xl: 26px;\n@font-size__4xl: 24px;\n@font-size__3xl: 22px;\n@font-size__2xl: 20px;\n@font-size__xl: 18px;\n@font-size__l: 16px;\n@font-size__m: 14px;\n@font-size__base: @font-size__m;\n@font-size__s: 12px;\n@font-size__xs: 10px;\n@font-size__xxs: 8px;\n\n// [MOBILE] base font size â drives the mobile type scale via inheritance from body\n@font-size__base__mobile: 11px;\n\n@font-weight__bold: 700;\n@font-weight__regular: 400;\n@font-weight__light: 300;\n\n@line-height__default: 1.5;\n\n.line-height(@heightValue)\n when\n not\n (@heightValue = false)\n and\n not\n (@heightValue = normal)\n and\n not\n (ispercentage(@heightValue)) {\n .font-size-value(@heightValue);\n line-height: @fontValue;\n}\n\n.font-size-value(@_value) when not (@_value = false) and not (@_value = '') {\n // Exact-pixel output: emit the design token verbatim as px. No rem/ratio, so\n // sizes are never re-interpreted against the device/user root font-size.\n @fontValue: unit((@_value) * 1, px);\n}\n\nhtml,\nbody {\n font-size: @font-size__base;\n // Single source of truth for body copy. Elements with NO font-size of their\n // own inherit this, so they shift 14px -> 11px on mobile for free. Elements\n // that set an explicit size are exact px and do NOT auto-shrink â to make one\n // responsive, drop its declaration so it inherits.\n @media @mobileM {\n font-size: @font-size__base__mobile;\n }\n}\n\nh1,\nh2,\nh4,\nh5,\nh6 {\n font-weight: @font-weight__bold;\n margin: @spacing__base 0;\n}\n\nh1 {\n font-size: @font-size__6xl;\n .line-height(@font-size__6xl);\n @media @mobileM {\n font-size: @font-size__4xl;\n .line-height(@font-size__4xl);\n }\n}\n\nh2,\nh3 {\n font-size: @font-size__3xl;\n .line-height(@font-size__4xl);\n @media @mobileM {\n font-size: @font-size__xl;\n .line-height(@font-size__2xl);\n }\n}\n\nh3 {\n margin: @spacing__base 0;\n font-weight: @font-weight__regular;\n}\n\nh4,\nh5,\nh6 {\n font-size: inherit;\n}\n\n[class^='font-size__l'] {\n font-size: @font-size__l;\n}\n","@import (reference) '../../web/theme';\n\n.root {\n border-color: @color__gray-light;\n border-style: solid;\n border-width: 0 0 1px;\n display: flex;\n flex-direction: column;\n}\n\n.header {\n display: flex;\n width: 100%;\n align-items: center;\n min-height: 3rem;\n}\n\n.name {\n width: 100%;\n text-align: left;\n font-weight: @font-weight__bold;\n color: @color__black;\n padding: @indent__s 0;\n}\n\n.list ul {\n padding: @indent__s 0;\n}\n\n.main_list {\n overflow: hidden;\n max-height: 0;\n}\n\n.list:empty {\n display: none;\n}\n\n.list_expanded {\n composes: list;\n border-top: 1px solid @color__gray-light;\n max-height: fit-content;\n transition: max-height 1s ease-in-out;\n}\n\n.list_collapsed {\n composes: list;\n max-height: 0;\n border-top: 1px solid @color__gray-light;\n transition: max-height 0.3s ease-in-out;\n}\n\n.arrow_down {\n .icomoonAfter('chevron-down', @font-size__m, 0, @color__black);\n}\n\n.arrow_up {\n .icomoonAfter('chevron-up', @font-size__m, 0, @color__black);\n}\n","@import '/src/web/fonts/icomoon/variables';\n\n@icon__folder: './icons/';\n\n@icon__width-default: 20px;\n@icon__height-default: 20px;\n@icon__indent-default: 10px;\n\n.icon(\n @name: '',\n @width: @icon__width-default,\n @height: @icon__height-default,\n @indent: 0\n) {\n display: flex;\n align-items: center;\n width: @width;\n min-width: @width;\n height: @height;\n margin: @indent;\n background-image: url(~'@{icon__folder}@{name}.svg');\n background-size: @width @height;\n background-repeat: no-repeat;\n}\n\n.iconSrc(@name) {\n background-image: url(~'@{icon__folder}@{name}.svg');\n}\n\n.iconBefore(\n @name: '',\n @width: @icon__width-default,\n @height: @icon__height-default,\n @indent: 0 @icon__indent-default 0 0\n) {\n display: flex;\n align-items: center;\n\n &:before {\n display: inline-block;\n width: @width;\n min-width: @width;\n height: @height;\n margin: @indent;\n background-image: url(~'@{icon__folder}@{name}.svg');\n background-size: @width @height;\n background-repeat: no-repeat;\n content: '';\n }\n}\n\n.iconBeforeSrc(@name) {\n &:before {\n background-image: url(~'@{icon__folder}@{name}.svg');\n }\n}\n\n.iconAfter(\n @name: '',\n @width: @icon__width-default,\n @height: @icon__height-default,\n @indent: 0 0 0 @icon__indent-default\n) {\n display: flex;\n align-items: center;\n\n &:after {\n display: inline-block;\n width: @width;\n min-width: @width;\n height: @height;\n margin: @indent;\n background-image: url(~'@{icon__folder}@{name}.svg');\n background-size: @width @height;\n background-repeat: no-repeat;\n content: '';\n }\n}\n\n.icomoonBefore(@name, @size, @margin: 0, @color: @color__primary) {\n @icon: 'icon-@{name}';\n display: flex;\n align-items: center;\n align-self: center;\n\n &:before {\n content: @@icon;\n font-family: 'icomoon';\n font-size: @size;\n color: @color;\n margin: @margin;\n font-weight: @font-weight__regular;
41\n }\n}\n\n.icomoonAfter(@name, @size, @margin: 0, @color: @color__primary) {\n @icon: 'icon-@{name}';\n display: flex;\n align-items: center;\n align-self: center;\n\n &:after {\n content: @@icon;\n font-family: 'icomoon';\n font-size: @size;\n color: @color;\n margin: @margin;\n font-weight: @font-weight__regular;\n }\n}\n\n.iconAfterSrc(@name) {\n &:after {\n background-image: url(~'@{icon__folder}@{name}.svg');\n }\n}\n"],sourceRoot:""}]),r.locals={root:"root__-hmmi",header:"header__+gOuP",name:"name__ZLboM",list:"list__AOnii",main_list:"main_list__1HLpI",list_expanded:"list_expanded__SN5EL list__AOnii",list_collapsed:"list_collapsed__PZQaK list__AOnii",arrow_down:"arrow_down__DMZPC",arrow_up:"arrow_up__fO+XD"},e.a=r},sSRt:function(n,e,t){"use strict" 42var i=t("q1tI"),o=t.n(i),a=t("17x9"),r=t("8UhI") 43var s=t("YY1l"),l=t("T1X5"),A=t("ZI9b"),_=t("Smmo") 44const c=n=>{const{item:e,isSelected:t,onClick:i,title:a}=n 45return o.a.createElement(_.a,{name:"".concat(e.label,"-").concat(e.value_index),label:a,field:a,onClick:i,isChecked:t,grayLabel:" (".concat(e.count,")")})} 46var f=c 47c.propTypes={classes:Object(a.shape)({root:a.string,icon:a.string,label:a.string,checked:a.string}),group:a.string,isSelected:a.bool,item:Object(a.shape)({label:a.string.isRequired,value_index:a.string.isRequired}).isRequired,title:a.string,onClick:a.func.isRequired} 48var g=t("n3cH") 49const d=n=>{const{filterApi:e,filterState:t,handleApply:a,group:r,item:s,groupName:l,category:A}=n,{toggleItem:_}=e,{title:c,value:d,count:h}=s,m=t&&t.has(s),p=Object(i.useMemo)(()=>({label:c,value_index:d,count:h}),[c,d,h]),u=Object(i.useCallback)(()=>{_({group:r,item:s}),a(),g.a.filter(m,s.title,l,A)},[r,s,_,a,m]) 50return o.a.createElement(f,{isSelected:m,item:p,onClick:u,title:c,value:d,count:h})} 51var h=d 52d.propTypes={filterApi:Object(a.shape)({toggleItem:a.func.isRequired}).isRequired,filterState:s.a,group:a.string.isRequired,groupName:a.string,category:a.string,handleApply:a.func,item:Object(a.shape)({title:a.string.isRequired,value:Object(a.oneOfType)([a.number,a.string]).isRequired,count:a.number.isRequired}).isRequired} 53var m=t("LboF"),p=t.n(m),u=t("KnZH"),b={insert:"head",singleton:!1},x=(p()(u.a,b),u.a.locals||{}) 54const y=new WeakMap,E=n=>{const{filterApi:e,filterState:t,handleApply:a,group:s,items:_,hasSelected:c,groupName:f,category:g}=n,d=Object(i.useRef)(null),m=Object(l.a)(x,n.classes),{value:p}=Object(r.n)("filter_search"),u=(p||"").toUpperCase(),b=()=>{d.current.classList.toggle(m.open)},E=Object(i.useMemo)(()=>_.map(n=>{const{title:i,value:r}=n,l="item-".concat(s,"-").concat(r),A=o.a.createElement("li",{key:l,className:m.item},o.a.createElement(h,{filterApi:e,filterState:t,handleApply:a,group:s,item:n,groupName:f,category:g})) 55return y.set(A,i.toUpperCase()||""),A}),[m,e,t,s,_,a]),w=u?E.filter(n=>y.get(n).includes(u)):E 56return o.a.createElement(i.Fragment,null,w.length>5?o.a.createElement(i.Fragment,null,o.a.createElement("div",{className:m.filterWrapper},o.a.createElement("ul",{className:c?"".concat(m.items," ").concat(m.open):m.items,ref:d},w),o.a.createElement("div",{className:m.triggerOpen,onClick:b,onKeyDown:n=>{"Enter"===n.key&&b()},role:"button",tabIndex:0},Object(A.a)({s:"Show more"})),o.a.createElement("div",{className:m.triggerClose,onClick:b,onKeyDown:n=>{"Enter"===n.key&&b()},role:"button",tabIndex:0},Object(A.a)({s:"Show less"})))):o.a.createElement("ul",{className:m.items},w))} 57E.propTypes={classes:Object(a.shape)({filterWrapper:a.string,item:a.string,items:a.string,open:a.string,triggerOpen:a.string,triggerClose:a.string}),filterApi:Object(a.shape)({}),filterState:s.a,handleApply:a.func,group:a.string,items:a.array,hasSelected:a.bool.isRequired,name:a.string} 58var w=E,C=t("jYnX"),z={insert:"head",singleton:!1},v=(p()(C.a,z),C.a.locals||{}) 59const k=n=>{const{filterApi:e,filterState:t,onApply:a,group:s,items:A,name:_,category:c}=n,f=(n=>{const{filterState:e,items:t}=n,o=Object(i.useMemo)(()=>t.some(n=>e&&e.has(n)),[e,t]),[a,r]=Object(i.useState)(o) 60return Object(i.useEffect)(()=>{r(o)},[o]),{handleClick:Object(i.useCallback)(()=>{r(n=>!n)},[r]),hasSelected:o,isExpanded:a}})({filterState:t,items:A}),{handleClick:g,hasSelected:d,isExpanded:h}=f,m=Object(l.a)(v,n.classes),p=h?m.arrow_up:m.arrow_down,u=h?"".concat(m.main_list," ").concat(m.list_expanded):"".concat(m.main_list," ").concat(m.list_collapsed) 61return o.a.createElement("li",{className:m.root},o.a.createElement("button",{className:m.trigger,onClick:g,type:"button"},o.a.createElement("span",{className:m.header},o.a.createElement("span",{className:m.name},_),o.a.createElement("span",{className:p}))),o.a.createElement(r.d,{className:u},o.a.createElement(w,{filterApi:e,filterState:t,handleApply:a,group:s,items:A,hasSelected:d,groupName:_,category:c})))} 62e.a=k
63k.propTypes={classes:Object(a.shape)({header:a.string,list_collapsed:a.string,list_expanded:a.string,name:a.string,root:a.string,trigger:a.string,arrow_up:a.string,arrow_down:a.string}),filterApi:Object(a.shape)({}).isRequired,filterState:s.a,group:a.string.isRequired,onApply:a.func,items:Object(a.arrayOf)(Object(a.shape)({})),name:a.string.isRequired}}}])
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.