{"version":3,"sources":["webpack:///webpack/bootstrap 2f738232476000ab8c7b","webpack:///./scripts/objectFitPolyfill.basic.js"],"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;AACA;AACA;AACA;AACA,aAAK;AACL;AACA;;AAEA;AACA;AACA;AACA,mCAA2B,0BAA0B,EAAE;AACvD,yCAAiC,eAAe;AAChD;AACA;AACA;;AAEA;AACA,8DAAsD,+DAA+D;;AAErH;AACA;;AAEA;AACA;;;;;;;;;;;;;;;;AC7DA;;;;;;;;;;;;;;AAcA,CAAC,WAAW;EACV,YAAY,CAAC;;;EAGb,IAAI,OAAO,MAAM,KAAK,WAAW,EAAE,SAAO;;;;EAI1C,IAAI,WAAW,GAAG,MAAM,CAAC,SAAS,CAAC,SAAS,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC;EACtE,IAAI,kBAAkB,GAAG,WAAW;MAChC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,EAAE;MAClC,KAAK,CAAC;;;EAGV,IAAI,UAAU,GAAG,WAAW,IAAI,QAAQ,CAAC,eAAe,CAAC,KAAK,KAAK,KAAK,CAAC;EACzE,IAAI,UAAU,IAAI,CAAC,kBAAkB,EAAE;IACrC,MAAM,CAAC,iBAAiB,GAAG,WAAW;MACpC,OAAO,KAAK,CAAC;KACd,CAAC;IACF,OAAO;GACR;;;;;;;;EAQD,IAAI,oBAAoB,GAAG,SAAS,UAAU,EAAE;IAC9C,IAAI,MAAM,GAAG,MAAM,CAAC,gBAAgB,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;IACvD,IAAI,QAAQ,GAAG,MAAM,CAAC,gBAAgB,CAAC,UAAU,CAAC,CAAC;IACnD,IAAI,QAAQ,GAAG,MAAM,CAAC,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S,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;SACrB,MAAM;UACL,KAAK,CAAC,CAAC,CAAC,CAAC,gBAAgB,CAAC,gBAAgB,EAAE,WAAW;YACrD,SAAS,CAAC,IAAI,CAAC,CAAC;WACjB,CAAC,CAAC;SACJ;OACF,MAAM;QACL,SAAS,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC;OACrB;KACF;;IAED,OAAO,IAAI,CAAC;GACb,CAAC;;EAEF,IAAI,QAAQ,CAAC,UAAU,KAAK,SAAS,EAAE;;IAErC,QAAQ,CAAC,gBAAgB,CAAC,kBAAkB,EAAE,iBAAiB,CAAC,CAAC;GAClE,MAAM;;IAEL,iBAAiB,EAAE,CAAC;GACrB;;EAED,MAAM,CAAC,gBAAgB,CAAC,QAAQ,EAAE,iBAAiB,CAAC,CAAC;;EAErD,MAAM,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;CAC9C,CAAC,EAAE,CAAC","file":"scripts/objectpolyfillbasic.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, {\n \t\t\t\tconfigurable: false,\n \t\t\t\tenumerable: true,\n \t\t\t\tget: getter\n \t\t\t});\n \t\t}\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 = \"/wp-content/themes/ror_wp/dist/\";\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 66);\n\n\n\n// WEBPACK FOOTER //\n// webpack/bootstrap 2f738232476000ab8c7b","/* eslint no-self-assign: 0 */ // --> OFF\n\n/*----------------------------------------\n * objectFitPolyfill 2.3.0\n *\n * Basic, no-frills version -\n * Defaults to object-fit: cover and object-position: 50% 50%\n *\n * Made by Constance Chen\n * Released under the MIT license\n *\n * https://github.com/constancecchen/object-fit-polyfill\n *--------------------------------------*/\n\n(function() {\n 'use strict';\n\n // if the page is being rendered on the server, don't continue\n if (typeof window === 'undefined') return;\n\n // Workaround for Edge 16+, which only implemented object-fit for tags\n // TODO: Keep an eye on Edge to determine which version has full final support\n var edgeVersion = window.navigator.userAgent.match(/Edge\\/(\\d{2})\\./);\n var edgePartialSupport = edgeVersion\n ? parseInt(edgeVersion[1], 10) >= 16\n : false;\n\n // If the browser does support object-fit, we don't need to continue\n var hasSupport = 'objectFit' in document.documentElement.style !== false;\n if (hasSupport && !edgePartialSupport) {\n window.objectFitPolyfill = function() {\n return false;\n };\n return;\n }\n\n /**\n * Check the container's parent element to make sure it will\n * correctly handle and clip absolutely positioned children\n *\n * @param {node} $container - parent element\n */\n var checkParentContainer = function($container) {\n var styles = window.getComputedStyle($container, null);\n var position = styles.getPropertyValue('position');\n var overflow = styles.getPropertyValue('overflow');\n var display = styles.getPropertyValue('display');\n\n if (!position || position === 'static') {\n $container.style.position = 'relative';\n }\n if (overflow !== 'hidden') {\n $container.style.overflow = 'hidden';\n }\n // Guesstimating that people want the parent to act like full width/height wrapper here.\n // Mostly attempts to target elements, which default to inline.\n if (!display || display === 'inline') {\n $container.style.display = 'block';\n }\n if ($container.clientHeight === 0) {\n $container.style.height = '100%';\n }\n\n // Add a CSS class hook, in case people need to override styles for any reason.\n if ($container.className.indexOf('object-fit-polyfill') === -1) {\n $container.className = $container.className + ' object-fit-polyfill';\n }\n };\n\n /**\n * Check for pre-set max-width/height, min-width/height,\n * positioning, or margins, which can mess up image calculations\n *\n * @param {node} $media - img/video element\n */\n var checkMediaProperties = function($media) {\n var styles = window.getComputedStyle($media, null);\n var constraints = {\n 'max-width': 'none',\n 'max-height': 'none',\n 'min-width': '0px',\n 'min-height': '0px',\n top: 'auto',\n right: 'auto',\n bottom: 'auto',\n left: 'auto',\n 'margin-top': '0px',\n 'margin-right': '0px',\n 'margin-bottom': '0px',\n 'margin-left': '0px',\n };\n\n for (var property in constraints) {\n var constraint = styles.getPropertyValue(property);\n\n if (constraint !== constraints[property]) {\n $media.style[property] = constraints[property];\n }\n }\n };\n\n /**\n * Calculate & set object-fit\n *\n * @param {node} $media - img/video/picture element\n */\n var objectFit = function($media) {\n // If necessary, make the parent container work with absolutely positioned elements\n var $container = $media.parentNode;\n checkParentContainer($container);\n\n // Check for any pre-set CSS which could mess up image calculations\n checkMediaProperties($media);\n\n // Mathematically figure out which side needs covering, and add CSS positioning & centering\n $media.style.position = 'absolute';\n $media.style.height = '100%';\n $media.style.width = 'auto';\n\n if ($media.clientWidth > $container.clientWidth) {\n $media.style.top = '0';\n $media.style.marginTop = '0';\n $media.style.left = '50%';\n $media.style.marginLeft = $media.clientWidth / -2 + 'px';\n } else {\n $media.style.width = '100%';\n $media.style.height = 'auto';\n $media.style.left = '0';\n $media.style.marginLeft = '0';\n $media.style.top = '50%';\n $media.style.marginTop = $media.clientHeight / -2 + 'px';\n }\n };\n\n /**\n * Initialize plugin\n *\n * @param {node} media - Optional specific DOM node(s) to be polyfilled\n */\n var objectFitPolyfill = function(media) {\n if (typeof media === 'undefined' || media instanceof Event) {\n // If left blank, or a default event, all media on the page will be polyfilled.\n media = document.querySelectorAll('[data-object-fit]');\n } else if (media && media.nodeName) {\n // If it's a single node, wrap it in an array so it works.\n media = [media];\n } else if (typeof media === 'object' && media.length && media[0].nodeName) {\n // If it's an array of DOM nodes (e.g. a jQuery selector), it's fine as-is.\n media = media;\n } else {\n // Otherwise, if it's invalid or an incorrect type, return false to let people know.\n return false;\n }\n\n for (var i = 0; i < media.length; i++) {\n if (!media[i].nodeName) continue;\n\n var mediaType = media[i].nodeName.toLowerCase();\n\n if (mediaType === 'img') {\n if (edgePartialSupport) continue; // Edge supports object-fit for images (but nothing else), so no need to polyfill\n\n if (media[i].complete) {\n objectFit(media[i]);\n } else {\n media[i].addEventListener('load', function() {\n objectFit(this);\n });\n }\n } else if (mediaType === 'video') {\n if (media[i].readyState > 0) {\n objectFit(media[i]);\n } else {\n media[i].addEventListener('loadedmetadata', function() {\n objectFit(this);\n });\n }\n } else {\n objectFit(media[i]);\n }\n }\n\n return true;\n };\n\n if (document.readyState === 'loading') {\n // Loading hasn't finished yet\n document.addEventListener('DOMContentLoaded', objectFitPolyfill);\n } else {\n // `DOMContentLoaded` has already fired\n objectFitPolyfill();\n }\n\n window.addEventListener('resize', objectFitPolyfill);\n\n window.objectFitPolyfill = objectFitPolyfill;\n})();\n\n\n\n// WEBPACK FOOTER //\n// ./scripts/objectFitPolyfill.basic.js"],"sourceRoot":""}