1"use strict";(self.webpackChunkpark_151_app=self.webpackChunkpark_151_app||[]).push([[359],{2748:function(e,i,t){t.d(i,{Z:function(){return c}});var n,a=t(168),o=t(1413),r=t(9958),s=t(7691),d=t(184);function c(e){var i=e.children;return(0,d.jsx)(r.M_,{children:(0,d.jsx)(l,(0,o.Z)((0,o.Z)({},p),{},{children:i}))})}var l=(0,s.ZP)(r.ww.div)(n||(n=(0,a.Z)(["\n width: 100%;\n height: 100%;\n padding: 0;\n margin: 0;\n overflow: hidden;\n"]))),p={transition:{duration:.5},initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}},2359:function(e,i,t){t.r(i),t.d(i,{default:function(){return ae}});var n=t(168),a=t(1413),o=t(9439),r=t(2791),s=t(7691),d=t(9958),c=t(2748);var l=t.p+"static/media/bed.408ee98d579bc24e27119cf3b25c8aaf.svg";var p=t.p+"static/media/cart.6b2daa9838a9d8c5efe73d1e112ffea2.svg";var m=t.p+"static/media/food.561ac9773e114f0912c722ea7f55bd69.svg";var g=t.p+"static/media/pallet.f84a29499955ecfbce537af074e62319.svg";var f=t.p+"static/media/tree.3c4542e83907ba2009d736d5894de747.svg";var u=t.p+"static/media/weight.a9c807cb2108257285cff11032983113.svg";var h=t.p+"static/media/scooter.34b492b89bd1641e3b2fabf250016a14.svg",b=t(5),v=t(7923),y=t(964),x=t(4992),w=t(1386),C=t(5691),S=t(4025),k=t(575),j=t(942),A=t(4559),M=t(6734),T=t(4526),Z=t(4733),B=t(5826),L=t(616),F=t(6214),U=t(15),E=t(6656),N=t(3282),D=t(448),I=t(1527),P=t(701),z=t(144),q=[{id:"foodAndDrinks",title:"Food & Drinks",icon:m,pois:[{poi:"Atwood's Tavern",coordinates:[-71.091449,42.373356650828455],image:b,description:"A neighborhood restaurant, bar, and music room featuring locally sourced comfort food, craft beer, natural wine, classic cocktails, and live music.",address:"877 Cambridge St, Cambridge, MA 02141, United States"},{poi:"Geppetto",coordinates:[-71.07582263107818,42.37217814699854],image:v,description:"One of Eater\u2019s hottest restaurant openings of 2021, Chef Gilson brings the flavors and feasts from Italy to this modern, dinner only restaurant.",address:"100 N First St, Cambridge, MA 02141, United States"},{poi:"Cafe Beatrice",coordinates:[-71.07574708690412,42.372370535539574],image:S,description:"Here for everything from your morning coffee to quick lunch to after work cocktail, move seamlessly from working remotely to meeting friends at this all-day establishment. ",address:"100 N First St, Cambridge, MA 02141, United States"},{poi:"Dumpling Daughter",coordinates:[-71.08780667818061,42.366574760547515],image:Z,description:"Authentic Chinese homestyle fare serving up soups, noodles, vegetables, and \u2014 you guessed it \u2014 dumplings.",address:"73 Ames St, Cambridge, MA 02142, United States"},{poi:"Puritan & Co.",coordinates:[-71.09680351758249,42.373301469827375],image:P,description:"A casual, comfortable restaurant serving American cuisine with a local, New England flair. Led by chef-owner Will Gilson, expect quality food, local beers, and wine from independent makers worldwide.",address:"1166 Cambridge St, Cambridge, MA 02139, United States"},{poi:"Shy Bird",coordinates:[-71.08376728690439,42.36290345692277],image:t(4874),description:"An all-day neighborhood eatery offering comfort food classics, cocktails, and a covered terrace.",address:"390 Third St, Cambridge, MA 02142, United States"},{poi:"Tatte Bakery & Cafe",coordinates:[-71.08259335806956,42.36510486797453],image:t(4028),description:"Elegant comfort food, coffee, and baked goods. Tatte Bakery & Cafe is a local favorite with the aim for each location to have its own individual sense of identity, feel, and style but original spirit \u2014 to what Tatte is all about. ",address:"318 Third St, Cambridge, MA 02142, United States"},{poi:"ArtBar",coordinates:[-71.07429137340871,42.367339453707146],image:y,description:"Serving creative, seasonal cuisine with local ingredients, ArtBar is a warm, intimate retreat for food, wine and art lovers, located at the Royal Sonesta Hotel.",address:"40 Edwin H Land Blvd, Cambridge, MA 02142, United States"},{poi:"The Lexington",coordinates:[-71.07579044457377,42.37213851559536],image:t(1530),description:"The hub of Cambridge Crossing with one of the only roof decks in the area, The Lexington is the go-to destination for evening get-togethers. Enjoy seasonal outdoor seating with views of The Common.",address:"100 N First St, Cambridge, MA 02141, United States"},{poi:"Lamplighter Brewing",coordinates:[-71.09788004457386,42.368128698149704],image:U,description:"Enjoy this locally owned and operated brewery and taproom featuring aroma-packed and flavor-driven ales, including New England IPAs, barrel-aged sours, and unique seasonals.",address:"284 Broadway, Cambridge, MA 02139, United States"}]},{id:"hotels",title:"Hotels",icon:l,pois:[{poi:"Kimpton Marlowe",coordinates:[-71.07487302923471,42.36797409119446],image:F,description:"Discover luxury at this photogenic, boutique hotel poised to serve individuals, couples, and families alike. Explore the two bars and restaurant at this Cambridge establishment.",address:"25 Edwin H Land Blvd, Cambridge, MA 02141, United States"},{poi:"Evolve Watermark",coordinates:[-71.08300075806963,42.363837217027104],image:B,description:"Nestled a short ride or a scenic walk from Cambridge's most popular destination. All accomodations are fitted with necessites.",address:"Cambridge, MA 02138, United States"},{poi:"Royal Sonesta Boston",coordinates:[-71.07489390224349,42.36687218182458],image:z,description:"Situated along the famous Charles River, this contemporary hotel in an ideal location boasts great amenities with mesmerizing views of the city and the Boston Skyline.",address:"40 Edwin H Land Blvd, Cambridge, MA 02142, United States"}]},{id:"groceriesAndConvenience",title:"Groceries/Conveniences",icon:p,pois:[{poi:"Brothers Marketplace",coordinates:[-71.08330440224361,42.36262367533198],image:C,description:"A neighborhood market with fresh foods and local products. Stop by for prepared meals and handpicked grocery essentials. ",address:"1 Broadway, Cambridge, MA 02142, United States"},{poi:"CambridgeSide Galleria",coordinates:[-71.0764073175827,42.36831835844515],image:j,description:"Visit this enclosed shopping mall situated on the waterfront. Explore 120 of Boston's favorite local and national shops and restaurants.",address:"100 Cambridgeside Pl, Cambridge, MA 02141, United States"}
1,{poi:"New Deal Fish Market",coordinates:[-71.08679605991296,42.372003773839836],image:D,description:"Serving the East Cambridge neighborhood since 1928, this family-owned fish market and specialty food store sources fresh fish and fine foods. Expect knowledgable fishmongers, top-notch quality, and great customer service. ",address:"622 Cambridge St, Cambridge, MA 02141, United States"}]},{id:"artsCultureEducation",title:"Arts/Culture/Education",icon:g,pois:[{poi:"Museum of Science",coordinates:[-71.07104500039983,42.367614479904425],image:N,description:"Appeal to your sense of wonder with over 700 interactive exhibits, daily presentations, live animals, and hands-on activities.",address:"1 Museum Of Science Driveway, Boston, MA 02114, United States"},{poi:"Landmark's Kendall Square Cinema",coordinates:[-71.08990797340867,42.36816521766735],image:L,description:"Grab some popcorn at this theater showing independent, foreign, and popular Hollywood films. Landmark Theatres is the nation's largest theatre chain where you can find entertainment for everyone.",address:"355 Binney St, Cambridge, MA 02139, United States"},{poi:"Massachusetts Institute of Technology",coordinates:[-71.09426161066266,42.36015934050077],image:E,description:"Massachusetts Institute of Technology is a world leader in research, education, and innovation. Visit the campus spanning a full mile on north side of the Charles River basin.",address:"77 Massachusetts Ave, Cambridge, MA 02139, United States"},{poi:"The Brattle Theatre",coordinates:[-71.1214076310781,42.37380272047472],image:w,description:"An art-house theater, The Brattle is of the few remaining using a rear-projector system to screen independent, foreign, and classic films. With only one screen, this independtly operated, non-profit theater has been a Cambridge charm since 1871.",address:"40 Brattle St, Cambridge, MA 02138, United States"}]},{id:"greenSpacesParks",title:"Green Spaces/Parks",icon:f,pois:[{poi:"The Common at CX",coordinates:[-71.07412025991296,42.371890674189586],image:w,description:"With picnic tables, food trucks, and vendors, The Common at CX is perfect for picnicking and hanging out with friends.",address:"320 Morgan Ave, Cambridge, MA 02141, United States"},{poi:"Canal District Kendall Square",coordinates:[-71.08232539215166,42.36758809253082],image:L,description:"Enjoy a picnic and ping pong overlooking the Broad Canal or head to the kayak rental shop to launch into the Charles River.",address:"15 Broad Canal Way, Cambridge, MA 02142, United States"},{poi:"Centanni Park",coordinates:[-71.0794071469027,42.37041255040559],image:A,description:"Escape to Centanni Park, a peaceful and charming haven with sculptural art.",address:"Cambridge, MA 02141, United States"},{poi:"Charles River Reservation",coordinates:[-71.13544412923477,42.36510681275507],image:M,description:"The Charles River Reservation beckons with its picturesque bike paths, playground, and sports fields. This 20-mile reservation is a popular destination for fishing, boating, and kayaking.",address:"1175A Soldiers Field Rd, Boston, MA 02116, United States"}]},{id:"gymsFitness",title:"Gyms/Fitness",icon:u,pois:[{poi:"BodyScapes Fitness Kendall Square",coordinates:[-71.08309431210215,42.367748843430974],image:x,description:"This intimate, boutique gym provides high-touch, personalized fitness and well-being services.",address:"356 Third St, Cambridge, MA 02142, United States"},{poi:"Cambridge Athletic Club",coordinates:[-71.07856213687855,42.36570250179531],image:k,description:"Built on 40 years of experience, Cambridge Athletic Club offers everything from squash and personal training to group exercise classes and the best basketball league in the city.",address:"215 First St, Cambridge, MA 02142, United States"},{poi:"Orange Theory",coordinates:[-71.0821222636004,42.36627647269383],image:I,description:"Get your heart rate up at this HIIT total-body group workout that combines science, coaching, and technology to guarantee maximum results from the inside out.",address:"270 Third St, Cambridge, MA 02142, United States"},{poi:"Dirty Water Fitness",coordinates:[-71.08000630039976,42.37144234918069],image:T,description:"This 1,200 square foot gym, conveniently located near the Lechmere T station in Cambridge, provides custom-tailored personal training and offers top-of-the-line strength training and conditioning equipment.",address:"247 Cambridge St 1st floor, Cambridge, MA 02141, United States"}]},{id:"travelTimes",title:"Travel Times",icon:h,pois:[{poi:"Walk to Kendall Square",coordinates:[-71.08249811334494,42.366339808238294],time:"15 min"},{poi:"Bike to MIT",coordinates:[-71.09426161066266,42.36015934050077],time:"10 min"},{poi:"T ride to Downtown Boston",coordinates:[-71.05703929491361,42.35625963821176],time:"21 min"},{poi:"Drive to Logan International Airport",coordinates:[-71.01771687457668,42.36744009810679],time:"11 min"},{poi:"Bike to Mass General Hospital",coordinates:[-71.06967255375939,42.36263615685722],time:"9 min"},{poi:"Bike to Harvard Square",coordinates:[-71.12098432912263,42.37457013660046],time:"13 min"},{poi:"T ride to Powder House Square",coordinates:[-71.11643197551322,42.40300493615452],time:"21 min"}]}],R={type:"geojson",data:{type:"FeatureCollection",features:[{type:"Feature",properties:{color:"#168543"},geometry:{type:"LineString",coordinates:[[288.8427543640137,42.339418675160516],[288.8447284698486,42.33900629242653],[288.847131729126,42.338308407792546],[288.8489770889282,42.3405923650623],[288.8512516021728,42.34151226885975],[288.8537406921387,42.341607430553424],[288.85605812072754,42.34252731950016],[288.8573884963989,42.34408158403525],[288.8588047027588,42.34658735819043],[288.86009216308594,42.34874414709949],[288.86202335357666,42.348648996207956],[288.8638257980346,42.34807808783401],[288.8654565811157,42.3486807131878],[288.86863231658936,42.350266541776215],[288.8702630996704,42.35052027063755],[288.87266635894775,42.35052027063755],[288.87468338012695,42.35169375329851],[288.8779020309448,42.35191576106715],[288.88094902038574,42.35153517584081],[288.8866996765137,42.35080571438234],[288.8957977294922,42.34975908098082],[288.9000034332275,42.34925161608858],[288.9043378829956,42.348839297847015],[288.9072561264038,42.34788778389048],[288.91236305236816,42.3476340444029],[288.92163276672363,42.349727364545075],[288.92918586730957,42.35182061497659],[288.93261909484863,42.35261349466339],[288.93553733825684,42.35248663458567],[288.93665313720703,42.355214069828484],[288.9380693435669,42.356609456042804],[288.94060134887695,42.35946355861494],[288.9419746398926,42.362032140095046],[288.9399
11470336914,42.365266500741534],[288.93673896789545,42.36447378069291],[288.9321041107178,42.36653483201386],[288.9229202270508,42.370910378338785],[288.9192724227905,42.373034627875995],[288.9165687561035,42.3749685836295],[288.9120626449585,42.37680737157286],[288.9040803909302,42.379819063096335]]}},{type:"Feature",properties:{color:"#168543"},geometry:{type:"LineString",coordinates:[[288.9043378829956,42.34885515629092],[288.90283584594727,42.34888687316677],[288.89912366867065,42.347745055554725],[288.8925790786743,42.345889557700175],[288.88858795166016,42.3448111235257],[288.8856267929077,42.343954706737975],[288.88275146484375,42.34319343757722],[288.87871742248535,42.34211495715386],[288.87429714202875,42.34097301654183],[288.8704776763916,42.339799333745304],[288.86738777160645,42.339672447806414],[288.8651990890503,42.339450396797275],[288.8615083694458,42.33849874073358],[288.8580322265625,42.33783257291951],[288.85438442230225,42.33703950679641],[288.8510799407959,42.33618298414955]]}},{type:"Feature",properties:{color:"#168543"},geometry:{type:"LineString",coordinates:[[288.899188041687,42.347776772990684],[288.8985872268677,42.3468728197949],[288.8957118988037,42.34533448359729],[288.8900685310364,42.341702592103076],[288.8889956474304,42.34044962016339],[288.8880515098572,42.33753120897094],[288.8865280151367,42.33513610729412],[288.88466119766235,42.33329609968094],[288.8831162452698,42.3325822891318],[288.8816785812378,42.332233312137106],[288.88062715530396,42.33172570577919],[288.87869596481323,42.33151948952611],[288.8758420944214,42.33132913546163],[288.87356758117676,42.331297409728215],[288.87109994888306,42.33151948952611],[288.86852502822876,42.331741568539876],[288.86670112609863,42.33210641093168],[288.86436223983765,42.33328023731229],[288.8618087768554,42.3346919724542],[288.85942697525024,42.335802303673006],[288.85828971862793,42.33602436756438],[288.8566589355469,42.3360402292409],[288.8548994064331,42.33561196257059],[288.8529896736145,42.335247140514],[288.8517236709595,42.33518369298378],[288.85056495666504,42.33492990222277],[288.8436555862427,42.3309960144626],[288.83704662323,42.32712533637304],[288.8354158401489,42.32680805711568],[288.83363485336304,42.32669700899754],[288.8280987739563,42.327696435003716],[288.8194942474365,42.32934624636828],[288.8138508796692,42.33040908269547],[288.81134033203125,42.33039321959872],[288.8090658187866,42.32986973516181],[288.8075637817383,42.32945728980975],[288.80157709121704,42.32637972757989],[288.7957191467285,42.32338133917069],[288.7914276123047,42.31949432669462],[288.79048347473145,42.318542368667686],[288.7893033027649,42.31793945446847],[288.78737211227417,42.317685594130104],[288.78587007522583,42.31793945446847],[288.78340244293213,42.319018349481354],[288.7704849243164,42.32511058590714],[288.7694764137268,42.325792752738685],[288.76773834228516,42.32710947244817],[288.7656784057617,42.328410301001064],[288.7551426887512,42.333708519861176],[288.74754667282104,42.33746776374509]]}},{type:"Feature",properties:{color:"#168543"},geometry:{type:"LineString",coordinates:[[288.9203023910522,42.349378482695734],[288.92098903656006,42.34747545670305],[288.9186716079712,42.34554065455048],[288.9150667190551,42.34274935964333],[288.9133071899414,42.34132194504034],[288.90506744384766,42.337896017777275],[288.9003896713257,42.33618298414955],[288.895583152771,42.334343007165344],[288.8933515548706,42.33326437493966],[288.8913774490356,42.33323265018239],[288.89047622680664,42.33320092540912],[288.88936042785645,42.332915401729565],[288.88811588287354,42.332090548263004],[288.8883304595947,42.331392586880476],[288.8884162902832,42.330662891699305],[288.8889741897583,42.32945728980975],[288.8896179199219,42.32844202819069]]}},{type:"Feature",properties:{color:"#d70022"},geometry:{type:"LineString",coordinates:[[288.85914802551264,42.39601631516618],[288.86292457580566,42.397030485437725],[288.8642978668213,42.397981255181925],[288.87768745422363,42.3964600166767],[288.8792324066162,42.39329065134833],[288.88129234313965,42.390945217961104],[288.87974739074707,42.37782185221891],[288.8810348510742,42.3735101962878],[288.88386726379395,42.372812694718135],[288.8868713378906,42.37033967218983],[288.89631271362305,42.365266500741534],[288.9000034332275,42.3631736981596],[288.91425132751465,42.36228582145739],[288.9286708831787,42.36127108986245],[288.9370393753052,42.35762426291997],[288.9412021636963,42.35477007680825],[288.9448928833008,42.35191576106715],[288.9428758621216,42.34271763967086],[288.94304752349854,42.330060093642956],[288.9416742324829,42.32723638373504],[288.9462661743164,42.321715506084445],[288.94845485687256,42.317526930898566],[288.94763946533203,42.312354290456355],[288.9445495605469,42.30413431247291],[288.9443349838257,42.302547320527815],[288.94339084625244,42.30067461858169],[288.9410734176636,42.300325464600924],[288.9381122589111,42.29994456714104],[288.9349365234375,42.29870663448373],[288.9334344863891,42.29708776274872],[288.93416404724115,42.29311976386243]]}},{type:"Feature",properties:{color:"#d70022"},geometry:{type:"LineString",coordinates:[[288.9445495605469,42.30413431247291],[288.9444422721863,42.301833161101776],[288.944935798645,42.300579394960764],[288.9459228515625,42.29950018385906],[288.95648002624506,42.28997693133185],[288.9654064178467,42.28226204117493],[288.9672088623047,42.279372682780284],[288.9684534072876,42.277054750052194],[288.96974086761475,42.275752860033094],[288.979525566101,42.26670239347999],[288.99450302124023,42.25193305298013],[288.9964771270752,42.24834342196849],[288.9963912963867,42.24710447535157],[288.9931297302246,42.23331558123288],[288.9932584762573,42.229597783
106524],[288.9975070953369,42.222574677945374],[288.99999618530273,42.218760899909476],[288.99832248687744,42.20741354825745]]}},{type:"Feature",properties:{color:"#0143a1"},geometry:{type:"LineString",coordinates:[[288.93802642822266,42.36130280047286],[288.9396572113037,42.36041489733205],[288.94038677215576,42.35924157750841],[288.943133354187,42.35870247727072],[288.9484119415283,42.359622116068024],[288.95201683044434,42.36041489733205],[288.9581108093262,42.36599579435195],[288.9603853225708,42.36907141773813],[288.96467685699463,42.37290780902467],[288.9658784866333,42.37252735093426],[288.9670372009277,42.37265417055381],[288.96974086761475,42.37430280230517],[288.97725105285645,42.37975566055272],[288.9794397354126,42.38026287910913],[288.98184299468994,42.38026287910913],[288.98343086242676,42.380674991169286],[288.98802280426025,42.38387669272653],[288.9915418624878,42.385651823231505],[289.00089740753174,42.38885327099469],[289.0027856826782,42.390438085704766],[289.00742053985596,42.39747417977767],[289.00862216949463,42.40023135285415],[289.0074634552002,42.40777334522497],[289.0073776245117,42.41094197907647],[289.0083646774292,42.41350845516057]]}},{type:"Feature",properties:{color:"#eb8426"},geometry:{type:"LineString",coordinates:[[288.8859272003174,42.30067461858169],[288.8894033432007,42.3
10556257102139],[288.89249324798584,42.31035493514393],[288.893780708313,42.31251296672916],[288.8945960998535,42.31486132879452],[288.8957118988037,42.31717787038102],[288.8997459411621,42.32250876543571],[288.90111923217773,42.32517404359888],[288.9044666290283,42.33123395821337],[288.9106035232544,42.33662710845972],[288.91661167144775,42.34138538637752],[288.92493724823,42.34753889183099],[288.9324474334717,42.34785606651052],[288.9354944229126,42.34715828010312],[288.9369535446167,42.35086914614958],[288.93824100494385,42.35426265237285],[288.9409875869751,42.35673630779864],[288.94416332244873,42.3568948721334],[288.94476413726807,42.35895617207636],[288.9434766769409,42.36244437178873],[288.94077301025385,42.36529820933543],[288.9368677139282,42.368881177361764],[288.93266201019287,42.372210300765104],[288.93030166625977,42.37363701392275],[288.92601013183594,42.37610990662186],[288.92377853393555,42.38016777594189],[288.9238214492798,42.382513612021846],[288.92300605773926,42.384352179033364],[288.9227056503296,42.385905409206295],[288.9230489730835,42.38939211248563],[288.9227485656738,42.392688453841544],[288.9228343963623,42.40162573908554],[288.9232635498047,42.419528172154315],[288.9237356185913,42.42171413687524],[288.9277696609497,42.43185094798943],[288.92871379852295,42.43432154723114],[288.92927169799805,42.43748883968791]]}}]}},G=t(7762),H=t(3433),W=t(5483),O=t.n(W),_=(t(3161),t(7924)),K=t(184);function V(e){var i=e.mapdata,t=e.onPoiClick,n=e.coordinates,s=e.poiCategoryId,d=(0,r.useRef)(null),c=(0,r.useRef)(null),l=(0,r.useState)(-71.0853),p=(0,o.Z)(l,2),m=p[0],g=p[1],f=(0,r.useState)(42.3675),u=(0,o.Z)(f,2),h=u[0],b=u[1],v=(0,r.useState)(14),y=(0,o.Z)(v,2),x=y[0],w=y[1],C=i.reduce((function(e,i){var t=i.pois,n=i.id,o=i.icon,r=t.map((function(e){return(0,a.Z)((0,a.Z)({},e),{},{id:n,icon:o})}));return(0,H.Z)(e.concat(r))}),[]),S=function(e,i){return e.length===i.length&&e.every((function(e,t){return e===i[t]}))};return(0,r.useEffect)((function(){var e,i,t,a,o=document.querySelectorAll(".marker");null!==(e=c.current)&&void 0!==e&&e.hasImage("pulsing-dot")&&(null===(a=c.current)||void 0===a||a.removeImage("pulsing-dot"));(null===(i=c.current)||void 0===i?void 0:i.getSource("dot-point"))&&c.current.removeSource("dot-point");var r,d=(0,G.Z)(o);try{for(d.s();!(r=d.n()).done;){var l=r.value,p=l.getAttribute("aria-coordinates").split(",").map(Number);l.classList.remove("activeMarker"),l.classList.remove("visible"),S(p,n)&&(l.classList.add("activeMarker"),"travelTimes"===s&&(l.classList.remove("activeMarker","markerStyle","hidden"),l.classList.add("visible")))}}catch(m){d.e(m)}finally{d.f()}null===(t=c.current)||void 0===t||t.flyTo({center:n,zoom:15,essential:!0})}),[n]),(0,r.useEffect)((function(){if(!c.current){c.current=new(O().Map)({container:d.current,style:"mapbox://styles/vmistudio/cl297uvb8001l14mpcrwhrq6q",center:[m,h],zoom:x});var e=document.createElement("div");e.className="logoPoiWrapper";var i=document.createElement("div");i.className="markerlogo",i.style="background-image: url(".concat(_.f,"/graphics/logo.svg)"),i.setAttribute("aria-coordinates",[]),e.appendChild(i),new(O().Marker)(e).setLngLat([-71.0744816861469,42.372572769826064]).addTo(c.current),C.forEach((function(e,i){var n=document.createElement("div");n.className="travelTimes"===e.id?"marker markerStyle travelPOI hidden":"marker markerStyle",n.style="background-image: url(".concat(e.icon,")"),n.setAttribute("aria-coordinates",e.coordinates),n.onclick=function(i){t(e.poi,e.id);var n,a=document.querySelectorAll(".marker"),o=(0,G.Z)(a);try{for(o.s();!(n=o.n()).done;){n.value.classList.remove("activeMarker")}}catch(r){o.e(r)}finally{o.f()}i.target.classList.add("activeMarker"),c.current.flyTo({center:e.coordinates,zoom:15,essential:!0})},new(O().Marker)(n).setLngLat(e.coordinates).addTo(c.current)}))}})),(0,r.useEffect)((function(){c.current&&(c.current.on("load",(function(){c.current.resize(),c.current.addSource("lines",R),c.current.addLayer({id:"lines",type:"line",source:"lines",paint:{"line-width":2,"line-color":["get","color"]}})})),c.current.on("move",(function(){g(c.current.getCenter().lng.toFixed(4)),b(c.current.getCenter().lat.toFixed(4)),w(c.current.getZoom().toFixed(2)),c.current.resize(),console.log(c.current.getZoom())})))})),(0,K.jsx)("div",{children:(0,K.jsx)("div",{ref:d,className:"map-container"})})}O().workerClass=t(9437).Z,O().accessToken="pk.eyJ1Ijoidm1pc3R1ZGlvIiwiYSI6ImNrc2lzcDFtYzBkMXMydm5jNGxxOXRncnEifQ.UxpGoxNNSkeTVIhflMc1zA";var X,Y,J,Q,$,ee,ie,te,ne=t(6803);function ae(){var e=(0,r.useState)({index:0,poiCategory:q[0]}),i=(0,o.Z)(e,2),t=i[0],n=i[1],s=(0,r.useState)(null),l=(0,o.Z)(s,2),p=l[0],m=l[1],g=(0,r.useState)([]),f=(0,o.Z)(g,2),u=f[0],h=f[1],b=(0,r.useRef)(),v=(0,ne.Z)().isConnected;return(0,r.useEffect)((function(){var e,i=null===(e=b.current)||void 0===e?void 0:e.querySelector(".expanded");null!==i&&(null===i||void 0===i||i.scrollIntoView(!1))})),(0,K.jsx)(c.Z,{children:(0,K.jsx)(le,{children:(0,K.jsxs)(pe,{children:[null!==v?(0,K.jsx)(V,{coordinates:u||[],mapdata:q,poiCategoryId:t.poiCategory.id,onPoiClick:function(e,i){!function(e,i){var t=q.map((function(e){return e.id})).indexOf(i);n({index:t,poiCategory:(0,a.Z)((0,a.Z)({},q[t]),{},{id:i})}),m(e.toString())}(e,i)}}):(0,K.jsx)(me,{children:(0,K.jsx)("div",{className:"dot-pulse"})}),(0,K.jsxs)(re,{children:[(0,K.jsx)("div",{children:"Categories"}),(0,K.jsx)(se,{children:q.map((function(e,i){return(0,K.jsx)(de,{icon:e.icon,onClick:function(){n({index:i,poiCategory:e})},active:e.id===t.poiCategory.id},e.icon)}))})]}),(0,K.jsx)(d.M_,{children:(0,K.jsxs)(ce,{ref:b,initial:{opacity:0,y:20}
1,animate:{opacity:1,y:0},exit:{opacity:0,y:-20},transition:{duration:.3},children:[(0,K.jsx)("div",{className:"poiDetailsHeader",children:t.poiCategory.title}),(0,K.jsx)("div",{className:"poiImagesPanel",children:t.poiCategory.pois.map((function(e,i){return 6===t.index?(0,K.jsxs)(oe,{onClick:function(){m(e.poi),h(e.coordinates||[])},expanded:p===e.poi,className:p===e.poi?"travelExpanded":"travelCollapsed",children:[(0,K.jsx)("div",{className:"travel",children:(0,K.jsx)("span",{children:e.time})}),(0,K.jsx)("div",{className:"poiDetailsFlex",children:(0,K.jsx)("div",{className:"poiTitle",children:e.poi})})]},e.poi):(0,K.jsxs)(oe,{onClick:function(i){m(e.poi),h(e.coordinates||[])},expanded:p===e.poi,className:p===e.poi?"expanded":"collapsed",children:[(0,K.jsx)("img",{src:e.image,alt:""}),(0,K.jsxs)("div",{className:"poiDetailsFlex",children:[(0,K.jsx)("div",{className:"poiTitle",children:e.poi}),(0,K.jsx)("div",{className:"poiDescription",children:e.description}),(0,K.jsx)("div",{className:"poiAddress",children:e.address})]})]},e.description)}))})]},t.index)})]})})})}var oe=(0,s.ZP)(d.ww.div)(X||(X=(0,n.Z)(['\n height: 170px;\n border-bottom: 1px solid #7d7d7a;\n padding: 10px 0;\n display: flex;\n justify-content: space-between;\n cursor: pointer;\n transition: opacity 0.5s;\n overflow-x: hidden;\n\n .travel {\n transition: all 0.2s;\n height: 4em;\n width: 4em;\n display: flex;\n }\n\n span {\n font-size: 0.8em;\n align-self: center;\n justify-self: center;\n }\n\n img {\n max-height: 150px;\n width: 240px;\n object-fit: cover;\n transition: all 0.2s;\n }\n\n &.expanded {\n height: 370px;\n width: auto;\n transition: all 0.2s;\n\n > img {\n max-height: 370px;\n width: 15em;\n object-fit: cover;\n transition: all 0.2s;\n }\n }\n\n &.expanded .poiDetailsFlex {\n opacity: 1;\n transition: all 0.1s;\n margin-right: 20px;\n }\n\n &.collapsed .poiDetailsFlex {\n > * {\n &:not(:first-child) {\n transition: all 0.1s;\n background-color: #f8f8f8;\n opacity: 0;\n overflow: hidden;\n }\n\n &:first-child {\n justify-content: center;\n margin-top: 60px;\n transition: all 0.4s;\n }\n }\n }\n\n > .poiDetailsFlex {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n width: 50%;\n height: auto;\n transition: opacity 0.7s;\n margin-right: 20px;\n\n > * {\n transition: opacity 0.7s;\n text-align: right;\n }\n\n > .poiTitle {\n padding-right: 5px;\n font-family: "GT-Sectra-Light";\n text-transform: uppercase;\n }\n\n > .poiDescription {\n font-size: 0.5em;\n width: 250px;\n font-family: "Circular-Std";\n align-self: self-end;\n flex: 1;\n margin-top: 20px;\n }\n\n > .poiAddress {\n font-size: 0.5em;\n font-family: "Circular-Std";\n }\n }\n\n @media (max-width: 1400px) {\n height: 150px;\n padding: 5px 0;\n\n .poiTitle {\n font-size: 0.6em;\n }\n\n &.expanded {\n height: 450px;\n width: 100%;\n flex-direction: column;\n\n > img {\n max-height: 300px;\n width: 100%;\n }\n\n .poiDetailsFlex {\n width: 100%;\n }\n\n .poiTitle {\n font-size: 0.7em;\n text-align: left;\n }\n\n .poiAddress {\n margin-top: 1em;\n margin-right: 20px;\n }\n\n .poiDescription {\n width: 100%;\n margin-top: 0.7em;\n text-align: left;\n }\n }\n }\n']))),re=s.ZP.div(Y||(Y=(0,n.Z)(['\n font-family: "Circular-Std";\n position: absolute;\n display: flex;\n flex-direction: row;\n background: #fafbf4;\n border-top: 1px solid;\n z-index: 9;\n height: 75px;\n width: 45%;\n bottom: 0;\n border-bottom: 1px solid;\n\n > * {\n &:first-child {\n align-self: center;\n text-transform: uppercase;\n text-align: center;\n width: 50%;\n }\n }\n\n @media (max-width: 1280px) {\n zoom: 0.7;\n }
1\n']))),se=s.ZP.div(J||(J=(0,n.Z)(["\n display: flex;\n position: relative;\n width: 70%;\n"]))),de=s.ZP.div(Q||(Q=(0,n.Z)(["\n width: 5em;\n background: none;\n cursor: pointer;\n border-right: 1px solid;\n background: url(",") no-repeat center;\n background-color: ",";\n transition: all 0.1s;\n -webkit-tap-highlight-color: transparent;\n\n &:first-child {\n border-left: 1px solid;\n }\n\n @media (max-width: 2133px) {\n &:last-child {\n border-right: none;\n }\n }\n"])),(function(e){return e.icon}),(function(e){return e.active?"#f7bc42":""})),ce=(0,s.ZP)(d.ww.div)($||($=(0,n.Z)(['\n position: absolute;\n right: 0;\n padding: 3em;\n background: #fafbf4;\n z-index: 1;\n height: 100%;\n width: 55%;\n border-left: 1px solid;\n display: flex;\n flex-direction: column;\n\n > .poiDetailsHeader {\n font-family: "GT-Sectra-Light";\n font-size: 3vw;\n text-transform: uppercase;\n }\n\n > .poiImagesPanel {\n height: calc(100% - 105px);\n overflow: scroll;\n font-size: 2em;\n margin-top: 15px;\n border-top: 1px solid;\n }\n\n @media (max-width: 1200px) {\n padding: 1.5em;\n\n .poiImagesPanel {\n height: calc(100% - 10vh);\n }\n }\n']))),le=s.ZP.div(ee||(ee=(0,n.Z)(["\n position: relative;\n width: 100%;\n height: 100%;\n background-color: #fafbf4;\n"]))),pe=s.ZP.div(ie||(ie=(0,n.Z)(["\n position: relative;\n width: 100%;\n height: 100%;\n overflow: hidden;\n height: calc(100% - 7vh);\n"]))),me=s.ZP.div(te||(te=(0,n.Z)(["\n display: flex;\n justify-content: center;\n align-items: center;\n flex-direction: column;\n margin-top: 10em;\n gap: 2em;\n width: 45%;\n position: absolute;\n font-size: 0.7em;\n\n & img {\n max-height: 10em;\n }\n\n & span {\n color: #173959;\n font-size: 3em;\n text-align: center;\n animation: fadeInAnimation ease 1s;\n animation-iteration-count: 1;\n animation-fill-mode: forwards;\n }\n\n @keyframes fadeInAnimation {\n 0% {\n opacity: 0;\n }\n 100% {\n opacity: 1;\n }\n }\n"])))},6656:function(e,i,t){e.exports=t.p+"static/media/MIT.b949138fb75385de3e63.jpg"},964:function(e,i,t){e.exports=t.p+"static/media/artBar.cee868bb332089941654.jpg"},5:function(e,i,t){e.exports=t.p+"static/media/atwoodsTavern.19036fa2598ecf48bc07.jpg"},4992:function(e,i,t){e.exports=t.p+"static/media/bodyScapes.944b3d257da50202ce44.jpg"},1386:function(e,i,t){e.exports=t.p+"static/media/brattleTheatre.6979c1c57955e7ebfe9c.jpg"},5691:function(e,i,t){e.exports=t.p+"static/media/brothersMarketplace.1cc9d0eca87b7d4bb158.jpg"},4025:function(e,i,t){e.exports=t.p+"static/media/cafeBeatrice.ac41d6f6b775074d4072.jpg"},575:function(e,i,t){e.exports=t.p+"static/media/cambridgeAthleticClub.32eea9d52aabdafea6a1.jpg"},942:function(e,i,t){e.exports=t.p+"static/media/cambridgeSide.15eb4ba78306f0ba0f8d.jpg"},4559:function(e,i,t){e.exports=t.p+"static/media/centanniPark.e3c0a1e0dcd65f755e8f.jpg"},6734:function(e,i,t){e.exports=t.p+"static/media/charlesRiver.d052cfd4dc98ba9fe727.jpg"},4526:function(e,i,t){e.exports=t.p+"static/media/dirtyWaterFitness.a5d0b9ed237c26cb9523.jpg"},4733:function(e,i,t){e.exports=t.p+"static/media/dumplingDaughter.34f5f1631ebf0397aee7.png"},5826:function(e,i,t){e.exports=t.p+"static/media/evolveWatermarkHotel.ea1938b062487cfb21ec.jpg"},7923:function(e,i,t){e.exports=t.p+"static/media/geppetto.88b4f1e7f54c1e93b972.jpg"},616:function(e,i,t){e.exports=t.p+"static/media/kendallCanalDistrict.676785367f57a265493b.jpg"},6214:function(e,i,t){e.exports=t.p+"static/media/kimptonMarloweHotel.5e1d3dbe5f29247b0372.jpg"},15:function(e,i,t){e.exports=t.p+"static/media/lamplighterBrew.1f09c247b9e955d1bce4.jpg"},3282:function(e,i,t){e.exports=t.p+"static/media/museumOfScience.817274549e1c8cde56d6.jpg"},448:function(e,i,t){e.exports=t.p+"static/media/newDealFishMarket.ed6d726be686aa910f50.jpg"},1527:function(e,i,t){e.exports=t.p+"static/media/orangeTheory.c4f841a56594d818bb46.jpg"},701:function(e,i,t){e.exports=t.p+"static/media/puritanCo.143defdea59e28cc378f.jpg"},144:function(e,i,t){e.exports=t.p+"static/media/royalSonesta.47218001d11792b1fae9.jpg"},4874:function(e,i,t){e.exports=t.p+"static/media/shyBird.7bbae19bcdab5dbc952b.jpg"},4028:function(e,i,t){e.exports=t.p+"static/media/tatteBakery.50c7c231229dc3fbb75d.jpg"},1530:function(e,i,t){e.exports=t.p+"static/media/theLexington.fe33bf62dbc7666895f5.jpg"}}]); 2//# sourceMappingURL=359.105d6473.chunk.js.map
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.