{"version":3,"file":"useBreakpoints.DLoRLbI7.mjs","names":[],"sources":["https:/framerusercontent.com/modules/bB2CKd1vT5uoVKZL82N4/B3arbQ94QrG9ZbpNNtBZ/AlgoliaListing_styles.js","https:/framerusercontent.com/modules/05O46mk0OdvkL5HItqqP/rOXqS2CNkfG87TBm8dpw/useBreakpoints.js"],"sourcesContent":["const imgProportions=8.1/7;const textWrapStyle={textOverflow:\"ellipsis\",overflow:\"hidden\",whiteSpace:\"nowrap\"};const getCardWidth=(width,isNotDesktop,cardGap)=>isNotDesktop?width-cardGap*2:(width-cardGap*4)/5;export const inlineStyles={input:({cardFont})=>({border:0,fontFamily:cardFont,minWidth:\"100%\",background:\"transparent\",lineHeight:2.5,fontSize:20,color:\"#FFF\",opacity:.7,outline:\"none\"}),monthsWrapper:{borderBottom:\"1px solid white\",display:\"flex\",width:\"100%\",overflowX:\"scroll\",scrollbarWidth:\"none\",\"&::-webkit-scrollbar\":{display:\"none\"}},searchInputWrapper:{padding:\"16px 32px\",borderBottom:\"1px solid white\"},monthButtonWrapper:({cardFont,index,isActive})=>({alignContent:\"center\",display:\"flex\",justifyContent:\"center\",fontFamily:cardFont,gap:8,cursor:\"pointer\",...index===0&&{borderLeft:\"1px solid white\"},borderRight:\"1px solid white\",background:\"transparent\",color:\"#FFF\",fontSize:12,padding:\"4px 24px\",flex:1,...isActive&&{background:\"#fff\",color:\"#000\"}}),monthButton:{cursor:\"inherit\",background:\"transparent\",border:\"none\",color:\"inherit\",fontSize:\"inherit\",fontFamily:\"inherit\",textTransform:\"uppercase\"},clearButton:{border:\"none\",backgroundColor:\"transparent\",cursor:\"pointer\"},listWrapper:({flexDirection,isNotDesktop,isGrid,cardsPerRow,cardGap,rowGap,isContainer})=>({display:isGrid?\"grid\":\"flex\",flexDirection:!isGrid&&isNotDesktop?\"column\":flexDirection,...isGrid?{columnGap:cardGap}:{gap:cardGap},// overflow: \"scroll\", // TODO: bring back if breaks something, remove if does not\n    maxWidth:\"100vw\",paddingInlineStart:0,gridTemplateColumns:isGrid?`repeat(${cardsPerRow}, 1fr)`:undefined,rowGap:isGrid?rowGap:undefined,padding:isContainer?isNotDesktop?16:32:undefined,marginBlockStart:0,marginBlockEnd:0}),cardContent:({cardBackgroundColor,cardFont,paddingTop,paddingRight,paddingBottom,paddingLeft,gap})=>({display:\"flex\",flexDirection:\"column\",backgroundColor:cardBackgroundColor,paddingTop,paddingRight,paddingBottom,paddingLeft,gap,flex:1,fontFamily:cardFont||\"Work Sans\"}),listItem:({width,height,isNotDesktop,isHover,cardBorderRadius,cardGap,isGrid})=>{const cardWidth=getCardWidth(width,isNotDesktop,cardGap);return{borderRadius:cardBorderRadius,overflow:\"hidden\",display:\"flex\",flexDirection:\"column\",flex:1,height:\"100%\",...!isGrid?{maxWidth:cardWidth,minWidth:cardWidth}:{},transition:\"0.2s ease\",transform:isHover?`translateY(-4px)`:undefined,boxShadow:isHover?`rgba(0, 0, 0, 0.05) 0px 8px 8px`:undefined,textDecoration:\"none\"};},image:({width,height,isNotDesktop,cardGap,isGrid})=>{const cardWidth=getCardWidth(width,isNotDesktop,cardGap);return{...!isGrid?{maxWidth:cardWidth,minWidth:cardWidth,maxHeight:cardWidth/imgProportions,minHeight:cardWidth/imgProportions}:{}};},noMarginElement:{margin:0},cardTitle:({titleColor,titleFontSize,titleFontWeight,titleOpacity,titleUppercase})=>({textAlign:\"left\",color:titleColor,opacity:titleOpacity+\"%\",fontSize:titleFontSize,fontWeight:titleFontWeight,marginBottom:24,...titleUppercase?{textTransform:\"uppercase\"}:{}}),cardDate:({dateColor,dateFontSize,dateFontWeight,dateOpacity})=>({color:dateColor,opacity:dateOpacity+\"%\",fontSize:dateFontSize,fontWeight:dateFontWeight,...textWrapStyle}),cardTime:({timeColor,timeFontSize,timeFontWeight,timeOpacity})=>({color:timeColor,opacity:timeOpacity+\"%\",fontSize:timeFontSize,fontWeight:timeFontWeight,...textWrapStyle}),cardPlace:({placeColor,placeFontSize,placeFontWeight,placeOpacity,placeUppercase})=>({color:placeColor,opacity:placeOpacity+\"%\",fontSize:placeFontSize,fontWeight:placeFontWeight,...placeUppercase?{textTransform:\"uppercase\"}:{},...textWrapStyle}),cardCity:({cityColor,cityFontSize,cityFontWeight,cityOpacity,cityUppercase})=>({color:cityColor,opacity:cityOpacity+\"%\",fontSize:cityFontSize,fontWeight:cityFontWeight,...cityUppercase?{textTransform:\"uppercase\"}:{},...textWrapStyle}),cardPrice:({priceColor,priceFontSize,priceFontWeight,priceOpacity,priceUppercase})=>({color:priceColor,opacity:priceOpacity+\"%\",fontSize:priceFontSize,fontWeight:priceFontWeight,...priceUppercase?{textTransform:\"uppercase\"}:{},...textWrapStyle})};export const themes={Winiary:{primary:{main:\"#F04923\"},text:{secondary:\"#FFFFFF4D\"}}};export const winiaryListStyles=(isLastItem,isHover,titleFontWeight)=>{return{container:{backgroundColor:isHover?themes.Winiary.primary.main:undefined,border:\"1px #FFFFFF solid\",borderBottom:isLastItem?\"1px #FFFFFF solid\":\"none\",display:\"flex\",minHeight:\"120px\",fontSize:16,transition:\"0.5s\",textDecoration:\"none\",fontFamily:\"Work Sans\"},dateBox:{alignItems:\"center\",borderRight:\"1px #FFFFFF solid\",color:isHover?\"#FFF\":themes.Winiary.primary.main,display:\"flex\",justifyContent:\"center\",flexDirection:\"column\",textAlign:\"center\",flex:12,transition:\"0.5s\",fontFamily:\"inherit\"},dateBoxDay:{fontSize:40,fontFamily:\"inherit\"},infoBoxWrapper:{display:\"flex\",flexDirection:\"row\",justifyContent:\"space-between\",flex:94,padding:\"16px\",position:\"relative\",fontFamily:\"inherit\"},infoBox:{display:\"flex\",flexDirection:\"column\",gap:\"16px\",fontFamily:\"inherit\"},infoBoxInnerTop:{display:\"flex\",flexDirection:\"column\",color:\"#FFF\",fontFamily:\"inherit\"},name_pl:{fontSize:28,fontFamily:\"inherit\",height:64,fontWeight:titleFontWeight},artists_names:{fontSize:16,fontFamily:\"inherit\"},place_name:{color:isHover?\"#FFF\":\"#B6B6B6\",textTransform:\"uppercase\",transition:\"0.5s\",fontFamily:\"inherit\"},buttonWrapper:{display:\"flex\",padding:32,justifyContent:\"center\",alignItems:\"center\",flex:14,fontFamily:\"inherit\"},button:{border:isHover?\"1px #FFFFFF solid\":\"1px transparent solid\",borderRadius:32,textDecoration:\"none\",color:\"#FFF\",backgroundColor:themes.Winiary.primary.main,padding:\"8px 16px\",fontWeight:\"bold\",transition:\"0.5s\",fontFamily:\"inherit\"},buttonDisabled:{backgroundColor:themes.Winiary.text.secondary,color:\"#111\",pointerEvents:\"none\",fontFamily:\"inherit\"},image:{width:\"180px\",height:\"auto\",aspectRatio:81/70,transform:\"rotate(-7.24deg)\",opacity:isHover?1:0,transition:\"0.5s\",position:\"absolute\",zIndex:7,right:0,top:0,fontFamily:\"inherit\"},mobileContainer:{borderTop:\"1px #fff solid\",borderBottom:isLastItem?\"1px #FFFFFF solid\":\"none\",display:\"flex\",padding:16,color:\"#fff\",gap:8,textDecoration:\"none\",fontFamily:\"inherit\"},mobileInfoBox:{display:\"flex\",flexDirection:\"column\",gap:8,flex:32,fontFamily:\"inherit\"},mobileInfoBoxBottom:{display:\"flex\",flexDirection:\"column\",fontFamily:\"inherit\"},mobile_start_date:{fontSize:24,fontFamily:\"inherit\"},mobile_name_pl:{fontSize:30,fontFamily:\"inherit\",fontWeight:titleFontWeight},mobile_place_name:{fontSize:13,color:\"#B6B6B6\",textTransform:\"uppercase\",fontFamily:\"inherit\"},mobileButtonWrapper:{paddingTop:16,flex:3,fontFamily:\"inherit\"},mobileButton:{border:isHover?\"1px #FFFFFF solid\":\"1px transparent solid\",borderRadius:\"100%\",textDecoration:\"none\",color:\"#FFF\",backgroundColor:themes.Winiary.primary.main,fontWeight:\"bold\",transition:\"0.5s\",padding:\"8px 9px\",fontFamily:\"inherit\"}};};\nexport const __FramerMetadata__ = {\"exports\":{\"inlineStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"themes\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"winiaryListStyles\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./AlgoliaListing_styles.map","export const useBreakpoints=windowWidth=>{const isWideDesktop=windowWidth>=1440;const isDesktop=windowWidth<1440;const isTablet=windowWidth<1080;const isMobile=windowWidth<768;return{isWideDesktop,isDesktop,isMobile,isTablet};};\nexport const __FramerMetadata__ = {\"exports\":{\"useBreakpoints\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./useBreakpoints.map"],"mappings":"8EAAM,EAAe,IAAI,EAAQ,EAAc,CAAC,aAAa,WAAW,SAAS,SAAS,WAAW,SAAS,CAAO,GAAc,EAAM,EAAa,IAAU,EAAa,EAAM,EAAQ,GAAG,EAAM,EAAQ,GAAG,EAAe,EAAa,CAAC,OAAO,CAAC,eAAa,CAAC,OAAO,EAAE,WAAW,EAAS,SAAS,OAAO,WAAW,cAAc,WAAW,IAAI,SAAS,GAAG,MAAM,OAAO,QAAQ,GAAG,QAAQ,OAAO,EAAE,cAAc,CAAC,aAAa,kBAAkB,QAAQ,OAAO,MAAM,OAAO,UAAU,SAAS,eAAe,OAAO,uBAAuB,CAAC,QAAQ,OAAO,CAAC,CAAC,mBAAmB,CAAC,QAAQ,YAAY,aAAa,kBAAkB,CAAC,oBAAoB,CAAC,WAAS,QAAM,eAAa,CAAC,aAAa,SAAS,QAAQ,OAAO,eAAe,SAAS,WAAW,EAAS,IAAI,EAAE,OAAO,UAAU,GAAG,IAAQ,GAAG,CAAC,WAAW,kBAAkB,CAAC,YAAY,kBAAkB,WAAW,cAAc,MAAM,OAAO,SAAS,GAAG,QAAQ,WAAW,KAAK,EAAE,GAAG,GAAU,CAAC,WAAW,OAAO,MAAM,OAAO,CAAC,EAAE,YAAY,CAAC,OAAO,UAAU,WAAW,cAAc,O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