{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./src/ts/scripts.ts"],"names":[],"mappings":";AAAA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;;AAGA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,kDAA0C,gCAAgC;AAC1E;AACA;;AAEA;AACA;AACA;AACA,gEAAwD,kBAAkB;AAC1E;AACA,yDAAiD,cAAc;AAC/D;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,iDAAyC,iCAAiC;AAC1E,wHAAgH,mBAAmB,EAAE;AACrI;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;;AAGA;AACA;;;;;;;;AClFA,CAAC,CAAC,QAAQ,CAAC,CAAC,KAAK,CAAC;IAChB,oBAAoB;IACpB,UAAU,CAAC;QACT,CAAC,CAAC,cAAc,CAAC,CAAC,GAAG,CAAC,YAAY,CAAC,CAAC,IAAI,CAAC;YACvC,IAAM,KAAK,GAAG,CAAC,CAAC,IAAI,CAAC,CAAC;YACtB,IAAM,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,GAAG,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC;YACzG,IAAM,QAAQ,GAAG,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC;YACnF,KAAK,CAAC,KAAK,CAAC,kBAAkB,GAAG,KAAK,GAAG,IAAI,GAAG,QAAQ,GAAG,OAAO,CAAC,CAAC;YACpE,KA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,CAAC,CAAC;YAEP,CAAC,CAAC,CAAC;YAEH,OAAO,IAAI,CAAC;QAChB,CAAC,CAAC;QAEF,oCAAoC;QACpC,MAAM,CAAC,qBAAqB,GAAG;YAC3B,qBAAqB,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QACxC,CAAC,CAAC;QAEF,IAAI,CAAC,MAAM,CAAC,gBAAgB,EAAE;YAC5B,MAAM,CAAC,gBAAgB,GAAG,IAAI,CAAC;YAC7B,CAAC,CAAC,SAAS,CAAC,oCAAoC,GAAG,YAAY,GAAG,6CAA6C,CAAC,CAAC;SACpH;IACL,CAAC;IAGD,wEAAwE;IACxE,wCAAwC;IACxC,iIAAiI;IACjI,SAAS,0BAA0B;QAC/B,IAAI,iBAAiB,EAAE;YACnB,CAAC,CAAC,0BAA0B,CAAC,CAAC,MAAM,CAAC,gTAAgT,CAAC,CAAC;SAC1V;IACL,CAAC;IAED,CAAC,CAAC,0BAA0B,CAAC,CAAC;IAE9B,cAAc,EAAE,CAAC;AAEnB,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC","file":"scripts.min.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 2);\n","$(document).ready(function () {\r\n /* mailencrypting */\r\n setTimeout(function () {\r\n $('[data-madr1]').not('.madr-done').each(function () {\r\n const $this = $(this);\r\n const maddr = $this.attr('data-madr1') + '@' + $this.attr('data-madr2') + '.' + $this.attr('data-madr3');\r\n const linktext = $this.attr('data-linktext') ? $this.attr('data-linktext') : maddr;\r\n $this.after('' + linktext + ' ');\r\n $this.addClass('madr-done').hide();\r\n });\r\n }, 500);\r\n\r\n /* Fancybox */\r\n if ($('.fancybox').fancybox) {\r\n $('.fancybox').fancybox({\r\n parent: 'form:first',\r\n padding: 1\r\n });\r\n }\r\n});\r\n\r\ndeclare const google : any;\r\n\r\n/* Google Maps API Key */\r\n(function ($) {\r\n const winAny = window as any;\r\n // Change this GoogleApiKey. They are in the App-Settings. Read instructions here: https://azing.org/2sxc/r/ippFQYkz\r\n let googleApiKey = winAny.googleMapsApiKey;\r\n if(!googleApiKey) return; \r\n\r\n const showApiKeyWarning = googleApiKey.indexOf(\"warning!\") > -1;\r\n googleApiKey = googleApiKey.replace(\"warning!\", \"\");\r\n\r\n // the init-code\r\n function initGoogleMaps() {\r\n\r\n // if this had already been run, stop here\r\n if (($.fn as any).toGoogleMap) {\r\n return;\r\n }\r\n\r\n var googleMapLoadDeferred = $.Deferred();\r\n\r\n ($.fn as any).toGoogleMap = function (options: any) {\r\n var mapElement = this.get(0);\r\n\r\n googleMapLoadDeferred.promise().then(function () {\r\n\r\n var settings = $.extend({\r\n position: {\r\n lat: 0,\r\n lng: 0\r\n },\r\n zoom: 8,\r\n mapTypeId: \"HYBRID\",\r\n infoWindowHtml: \"\",\r\n showInfoWindow: true\r\n }, options);\r\n\r\n var mapOptions = {\r\n zoom: settings.zoom,\r\n mapTypeControl: true,\r\n center: settings.position,\r\n zoomControl: true,\r\n scaleControl: true,\r\n scrollwheel: false,\r\n mapTypeId: google.maps.MapTypeId[settings.mapTypeId]\r\n };\r\n\r\n var map = new google.maps.Map(mapElement, mapOptions);\r\n\r\n // Create Marker\r\n var marker = new google.maps.Marker({\r\n position: settings.position,\r\n map: map,\r\n icon: settings.icon\r\n });\r\n\r\n if (settings.infoWindowHtml && settings.infoWindowHtml !== '') {\r\n // Create InfoWindow\r\n var infoWindow = new google.maps.InfoWindow({\r\n content: settings.infoWindowHtml\r\n });\r\n // Add Event listener\r\n google.maps.event.addListener(marker, 'click', function () {\r\n infoWindow.open(map, marker);\r\n });\r\n }\r\n\r\n google.maps.event.addListenerOnce(map, 'idle', function () {\r\n if (settings.showInfoWindow)\r\n infoWindow.open(map, marker);\r\n });\r\n\r\n });\r\n\r\n return this;\r\n };\r\n\r\n // Register google map load callback\r\n winAny.googleMapLoadCallback = function () {\r\n googleMapLoadDeferred.resolve(true);\r\n };\r\n\r\n if (!winAny.googleMapsLoaded) {\r\n winAny.googleMapsLoaded = true;\r\n $.getScript(\"//maps.google.com/maps/api/js?key=\" + googleApiKey + \"&sensor=true&callback=googleMapLoadCallback\");\r\n }\r\n }\r\n\r\n\r\n // check if it's the original key, which shouldn't be used in live sites\r\n // do not turn this off, it's important!\r\n // to disable the warning, replace the API key as explained on //github.com/2sic/2sxc-content-bootstrap3/wiki/google-maps-api-key\r\n function showWarningIfDemoKeyIsUsed() {\r\n if (showApiKeyWarning) {\r\n $('.co-google-map-container').append('

Warning: This map uses a demo API-Key, which will cause problems on live web sites. Change the GoogleApiKey using these instructions

');\r\n }\r\n }\r\n\r\n $(showWarningIfDemoKeyIsUsed);\r\n\r\n initGoogleMaps();\r\n\r\n}(jQuery));"],"sourceRoot":""}