1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[896],{19327:(e,t,r)=>{r.d(t,{t:()=>l});var a=r(54568),s=r(50348);let l=e=>{let{link:t,left:r,down:l,top:i,right:o,ariaLabel:n,className:c}=e,[u,d]=[r,o].sort((e,t)=>e-t),[f,h]=[i,l].sort((e,t)=>e-t);return(0,a.jsx)("a",{"data-testid":"LeafletArea",href:t,target:"_blank",rel:"noopener noreferrer","aria-label":n,onClick:e=>{e.stopPropagation()},className:c,children:(0,a.jsx)("div",{className:"hover:border-offerBadgeBorder border-bg-primaryLight-300 group absolute flex items-center justify-center rounded-xl border-2 transition",style:{top:"".concat(100*f,"%"),left:"".concat(100*u,"%"),right:"".concat((1-d)*100,"%"),bottom:"".concat((1-h)*100,"%")},children:(0,a.jsx)(s.r,{})})})}},48263:(e,t,r)=>{r.d(t,{C:()=>a});let a="feature-offer-areas"},50348:(e,t,r)=>{r.d(t,{r:()=>o});var a=r(54568),s=r(25150),l=r.n(s),i=r(98751);let o=e=>{let{className:t}=e;return(0,a.jsxs)("div",{className:l()("relative flex h-[24px] w-[24px] items-center justify-center",t),children:[(0,a.jsx)("span",{className:"bg-offerBadgeBorder absolute left-0 top-0 h-[24px] w-[24px] animate-ping rounded-full"}),(0,a.jsx)("div",{className:"bg-primaryLight-50 border-offerBadgeBorder z-10 flex h-[24px] w-[24px] items-center justify-center rounded-full border-2",children:(0,a.jsx)(i.tY,{className:"!fill-contrastDeepLight transition duration-300 ease-in-out group-hover:scale-[1.2]"})})]})}},90896:(e,t,r)=>{r.r(t),r.d(t,{FeatureLeafletAreas:()=>d,default:()=>f});var a=r(54568),s=r(7145),l=r(18842);class i{static fromAbsolute(e,t){let{width:r,height:a}=e;return new i({...t,left:this.calculateAbsolute(r,t.left),right:this.calculateAbsolute(r,t.right),top:this.calculateAbsolute(a,t.top),down:this.calculateAbsolute(a,t.down)})}static calculateAbsolute(e,t){return+(t/e).toFixed(4)}serialize(){return this.item}constructor(e){this.item=e}}class o{serialize(){return this.items.map(e=>e.serialize())}static from(e,t){return new o(t.map(t=>i.fromAbsolute(e,t)))}constructor(e){this.items=e}}var n=r(48263),c=r(13049),u=r(19327);let d=e=>{let{areas:t,disabled:r,hidden:i,pageSize:d,className:f,wrapperSize:h}=e,{t:p}=(0,s.Bd)(n.C),{isAreaTutorialVisible:m}=(0,c.I)(!0);if(!d||m||r||d&&0===d.width)return null;let b=h?{height:"".concat(h.height,"px"),width:"".concat(h.width,"px")}:void 0,x=o.from(d,t);return(0,a.jsx)("div",{style:b,className:(0,l.Q)("absolute left-0 top-0 h-full w-full transition",i&&"pointer-events-none invisible opacity-0",f),children:x.serialize().map((e,t)=>(0,a.jsx)(u.t,{...e,ariaLabel:p("badgeArea.ariaLabel")},t))})},f=d},98751:(e,t,r)=>{r.d(t,{$n:()=>a.$,mc:()=>s.m,_V:()=>x._,Sm:()=>p.InputText,N_:()=>b.Link,kn:()=>o.k,Xz:()=>n.X,P$:()=>l.P,tY:()=>c.t,ie:()=>u.i,sP:()=>d.s,FT:()=>m.F,NX:()=>h.N,H:()=>f.H,$E:()=>i.$}),r(65519),r(99044);var a=r(72117);r(30060),r(6632),r(54568),r(75208),r(36600),r(39547),r(78540),r(26657),r(99729),r(3530),r(53162),r(36058),r(47178);var s=r(89564);r(41307),r(72674);var l=r(59794),i=r(3764),o=r(47677),n=r(45140),c=r(54441),u=r(67942),d=r(40334);r(16548),r(50166),r(16278);var f=r(93467);r(15400),r(50854),r(9307),r(37446);var h=r(57111);r(39150),r(49038);var p=r(53905);r(35461),r(88224),r(33290),r(5078);var m=r(95356);r(75907),r(7620);var b=r(93445),x=r(48468)}}]);
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.