{"version":3,"sources":["webpack:///../jarvis/app/assets/javascripts/site/controllers/PhotoMap/components/PhotoMapWidget/components/PhotoPins/templates/TemplatePin.tsx"],"names":["TemplatePin","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","key","value","_this$props","this","props","pin","zone","entity","h","className","style","left","concat","x","top","y","transform","degrees","text","Component"],"mappings":"+tCACO,IAAMA,EAAW,SAAAC,I,kOAAAC,CAAAF,EAAAC,GAAA,I,MAAAE,EAAAC,EAAAJ,GAAA,SAAAA,IAAA,OAAAK,EAAA,KAAAL,GAAAG,EAAAG,MAAA,KAAAC,WAMnB,O,EANmBP,G,EAAA,EAAAQ,IAAA,SAAAC,MAAA,WACX,IAAAC,EACiBC,KAAKC,MAAnBC,EAAGH,EAAHG,IAAKC,EAAIJ,EAAJI,KACPC,EAASF,EAAIE,OACnB,OAAQC,YAAE,MAAO,CAAEC,UAAW,4CAA6C,YAAaH,EAAMI,MAAO,CAAEC,KAAM,GAAFC,OAAKP,EAAIQ,EAAC,KAAKC,IAAK,GAAFF,OAAKP,EAAIU,EAAC,KAAKC,UAAW,UAAFJ,OAAYL,EAAOU,QAAO,UAC3KT,YAAE,MAAO,CAAEC,UAAW,YAAcF,EAAOW,Y,2BAClD1B,EANmB,CAAS2B","file":"chunk.108.8d2c23d2f2f3a24789a9.eb62a76a.js","sourcesContent":["import { h, Component } from 'preact';\nexport class TemplatePin extends Component {\n render() {\n const { pin, zone } = this.props;\n const entity = pin.entity;\n return (h(\"div\", { className: 'c-photo-map-pin c-photo-map-pin__template', \"data-zone\": zone, style: { left: `${pin.x}%`, top: `${pin.y}%`, transform: `rotate(${entity.degrees}deg)` } },\n h(\"div\", { className: '_content' }, entity.text)));\n }\n}\n"],"sourceRoot":""}