{"version":3,"sources":["webpack:///../jarvis/app/assets/javascripts/site/controllers/PhotoMap/components/PhotoMapWidget/components/PhotoPins/templates/TextPin.tsx"],"names":["TextPin","_Component","_inherits","_super","_createSuper","_classCallCheck","apply","arguments","key","value","_this$props","this","props","pin","zone","entity","h","className","style","left","concat","x","top","y","text","link","href","target","Component"],"mappings":"2tCACO,IAAMA,EAAO,SAAAC,I,kOAAAC,CAAAF,EAAAC,GAAA,I,MAAAE,EAAAC,EAAAJ,GAAA,SAAAA,IAAA,OAAAK,EAAA,KAAAL,GAAAG,EAAAG,MAAA,KAAAC,WASf,O,EATeP,G,EAAA,EAAAQ,IAAA,SAAAC,MAAA,WACP,IAAAC,EACiBC,KAAKC,MAAnBC,EAAGH,EAAHG,IAAKC,EAAIJ,EAAJI,KACPC,EAASF,EAAIE,OACnB,OAAQC,YAAE,MAAO,CAAEC,UAAW,wCAAyC,YAAaH,EAAMI,MAAO,CAAEC,KAAM,GAAFC,OAAKP,EAAIQ,EAAC,KAAKC,IAAK,GAAFF,OAAKP,EAAIU,EAAC,OAC/HP,YAAE,MAAO,CAAEC,UAAW,WACtBD,YAAE,MAAO,CAAEC,UAAW,YACtBD,YAAE,MAAO,CAAEC,UAAW,YAAcF,EAAOS,MAC3CT,EAAOU,MAAST,YAAE,IAAK,CAAEU,KAAMX,EAAOU,KAAME,OAAQ,UAAY,oB,2BACvE3B,EATe,CAAS4B","file":"chunk.109.a1f04fcf071752aee666.83555298.js","sourcesContent":["import { h, Component } from 'preact';\nexport class TextPin 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__text', \"data-zone\": zone, style: { left: `${pin.x}%`, top: `${pin.y}%` } },\n h(\"div\", { className: '_round' }),\n h(\"div\", { className: '_toggle' }),\n h(\"div\", { className: '_content' }, entity.text),\n entity.link && (h(\"a\", { href: entity.link, target: '_blank' }, \"\\u041F\\u043E\\u0441\\u043C\\u043E\\u0442\\u0440\\u0435\\u0442\\u044C\"))));\n }\n}\n"],"sourceRoot":""}