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":["webpack://assemble/./apps/back-in-stock/inline-text/src/Api.js","webpack://assemble/./apps/back-in-stock/inline-text/src/containers/InlineText/styles.js","webpack://assemble/./apps/back-in-stock/inline-text/src/stores/InlineText/InlineTextStore.js","webpack://assemble/./apps/back-in-stock/inline-text/src/Constants.js","webpack://assemble/./apps/back-in-stock/inline-text/src/entries/app.js","webpack://assemble/./apps/back-in-stock/inline-text/src/stores/InlineText/Utils.js","webpack://assemble/./apps/back-in-stock/inline-text/src/static/icons/bp-icon.svg","webpack://assemble/./apps/back-in-stock/inline-text/src/static/icons/fa-icon.svg"],"sourcesContent":["import * as utils from 'Utils';\n\n\nexport function getBackInStockInlineTextPayloads(successCallback, errorCallback, bisId, qs={}) {\n  utils.getRq({\n    \"url\": utils.buildUrl(`back-in-stock-inline-text-payloads/${bisId}`, qs),\n    \"successCallback\": successCallback,\n    \"errorCallback\": errorCallback\n  });\n}\n","\n// sample custom styles\nlet styles = ``;\n\nexport default styles;\n","import { action, computed, observable } from 'mobx';\nimport { setter, toggle } from 'mobx-decorators';\nimport { deserializeWithMappers, setFieldValues } from 'stores/Utils';\nimport * as constants from 'Constants';\nimport * as utils from 'Utils';\n\n\nclass InlineTextStore {\n\n  @setter @observable id;\n  @setter @observable platform;\n  @setter @observable tagsWhitelist;\n  @setter @observable tagsBlacklist;\n\n  @setter @observable placement;\n  @setter @observable placementCssSelector;\n  @setter @observable placementInsertPosition;\n\n  @setter @observable cssStyles;\n  @setter @observable customCssStyles;\n  @setter @observable cssClasses;\n\n  @setter @observable stockoutDisplay;\n  @setter @observable text;\n\n  @setter @observable display;\n  @setter @observable el;\n  @setter @toggle @observable rendered;\n  @setter @observable placementInsertRetries;\n\n  constructor() {\n    this.reset();\n  }\n\n  @action reset() {\n    this.id = null;\n    this.platform = \"\";\n    this.tagsWhitelist = [];\n    this.tagsBlacklist = [];\n\n    this.placement = \"\";\n    this.placementCssSelector = \"\";\n    this.placementInsertPosition = \"\";\n\n    this.cssStyles = \"\";\n    this.customCssStyles = \"\";\n    this.cssClasses = [];\n\n    this.stockoutDisplay = \"\";\n    this.text = \"\";\n\n    this.display = false;\n    this.el = null;\n    this.rendered = false;\n    this.placementInsertRetries = 0;\n  }\n\n  getDeserializeMappers() {\n    return [\n      {\"field\": \"id\"},\n      {\"field\": \"platform\"},\n      {\"field\": \"tagsWhitelist\", \"accessor\": \"tags_whitelist\"},\n      {\"field\": \"tagsBlacklist\", \"accessor\": \"tags_blacklist\"},\n\n      {\"field\": \"placement\", \"accessor\": \"inline_text.placement\"},\n      {\"field\": \"placementCssSelector\", \"accessor\": \"inline_text.placement_css_selector\"},\n      {\"field\": \"placementInsertPosition\", \"accessor\": \"inline_text.placement_insert_position\"},\n\n      {\"field\": \"cssStyles\", \"accessor\": \"css_styles\"},\n      {\"field\": \"customCssStyles\", \"accessor\": \"inline_text.custom_css_styles\"},\n      {\"field\": \"cssClasses\", \"accessor\": \"inline_text.css_classes\"},\n\n      {\"field\": \"stockoutDisplay\", \"accessor\": \"inline_text.stockout_display\"},\n      {\"field\": \"text\", \"accessor\": \"inline_text.text\"},\n\n      {\"field\": \"display\"},\n    ];\n  }\n\n  @action async deserialize(data) {\n    await deserializeWithMappers(this, this.getDeserializeMappers(), data);\n    this.setShopwareProductTags(data);\n  }\n\n  @action setShopwareProductTags(data) {\n    if (!this.isShopware) return;\n    if (window.OnVoardData.product && window.OnVoardData.product.tags) return;\n    if (!data.product_tags) return;\n    window.OnVoardData.product.tags = data.product_tags || [];\n  }\n\n  @computed get selectorPath() {\n    return `.ov-app-back-in-stock-inline-text[data-app-id=\"${this.id}\"]`;\n  }\n\n  @computed get selector() {\n    return document.querySelector(this.selectorPath);\n  }\n\n  @action incrPlacementInsertRetries() {\n    this.placementInsertRetries += 1;\n  }\n\n  @computed get isSelectorPlacement() {\n    return this.placement === \"PRODUCT_PAGE_SELECTOR\";\n  }\n\n  @computed get insertPositionBefore() {\n    return this.placementInsertPosition === \"BEFORE\";\n  }\n\n  @computed get insertPositionAfter() {\n    return this.placementInsertPosition === \"AFTER\";\n  }\n\n  @computed get isStockoutDisplaySelected() {\n    return this.stockoutDisplay === constants.STOCKOUT_DISPLAY_SELECTED_VARIANT;\n  }\n\n  @computed get isStockoutDisplayAny() {\n    return this.stockoutDisplay === constants.STOCKOUT_DISPLAY_ANY_VARIANT;\n  }\n\n  @computed get isShopify() {\n    return this.platform === \"shopify\";\n  }\n\n  @computed get isBigCommerce() {\n    return this.platform === \"bigcommerce\";\n  }\n\n  @computed get isEasyStore() {\n    return this.platform === \"easystore\";\n  }\n\n  @computed get isShopline() {\n    return this.platform === \"shopline\";\n  }\n\n  @computed get isShopware() {\n    return this.platform === \"shopware\";\n  }\n\n  @computed get isWix() {\n    return this.platform === \"wix\";\n  }\n\n  @computed get isWooCommerce() {\n    return this.platform === \"woocommerce\";\n  }\n\n  @computed get isOtherPlatforms() {\n    return this.platform === \"others\";\n  }\n}\n\nexport default InlineTextStore;\n","export * from \"common/constants\";\n\n\nexport const STOCKOUT_DISPLAY_SELECTED_VARIANT = \"SELECTED_VARIANT\";\nexport const STOCKOUT_DISPLAY_ANY_VARIANT = \"ANY_VARIANT\";\n","import React from 'react';\nimport ReactDOM from \"react-dom\";\nimport { observer } from 'mobx-react';\nimport get from 'lodash/get';\nimport loadable from '@loadable/component';\nimport InlineTextStore from 'stores/InlineText/InlineTextStore';\nimport * as bisUtils from \"common/backinstock-utils\";\nimport * as inlineTextUtils from 'stores/InlineText/Utils';\nimport * as constants from 'Constants';\nimport * as api from 'Api';\nimport * as utils from 'Utils';\nimport 'styles/main.scss';\n\n\nconst InlineText = loadable(() => import('containers/InlineText'));\n\n\n// Note:\n// Can't use `utils.isProduction()` to check production mode. If you use that samples\n// will always get included into assets for some unknown reasons.\nlet samples = {};\nif (process.env.NODE_ENV !== 'production') {\n  samples = require('./samples').default;\n}\n\n\n@observer\nclass App extends React.Component {\n  constructor(props) {\n    super(props);\n    this.inlineText = new InlineTextStore();\n    this.inlineTexts = [];\n  }\n\n  componentDidMount() {\n    this.start();\n  }\n\n  componentWillUnmount() {\n    document.removeEventListener('ov_wix_variant_change', this.onWixVariantChange);\n  }\n\n  start = async () => {\n    const platform = utils.getEcommercePlatform();\n    await this.setupPreview();\n    await this.loadInlineText();\n\n    if (platform === 'wix') {\n      document.addEventListener('ov_wix_variant_change', this.onWixVariantChange);\n    }\n  };\n\n  onWixVariantChange = () => {\n    bisUtils.onWixVariantChange(this.inlineTexts);\n  };\n\n  setupPreview = async () => {\n    if (!utils.isPreview()) return;\n    if (!window.OV_PREVIEW_DATA) window.OV_PREVIEW_DATA = {};\n\n    window.ovReloadPreview = async () => {\n      const el = document.querySelector(\".ov-app-back-in-stock-inline-text\");\n      if (!el) return;\n\n      await this.inlineText.deserialize(window.OV_PREVIEW_DATA);\n      this.inlineText.setEl(el);\n      inlineTextUtils.loadInlineTextCustomStyles(this.inlineText);\n    };\n  };\n\n  embedInlineWidget = (inlineText) => {\n    const component = <InlineText inlineText={inlineText} appEl={inlineText.el} />;\n    ReactDOM.render(<div className=\"ov-wrapper\">{component}</div>, inlineText.el);\n    inlineText.setRendered(true);\n  };\n\n  loadInlineText = async () => {\n    const nodeList = document.querySelectorAll(\".ov-app-back-in-stock-inline-text\");\n\n    const processEl = async (el) => {\n      let appId = bisUtils.getAppId(el);\n      if (!appId) return;\n\n      const inlineText = new InlineTextStore();\n      inlineText.setId(appId);\n      inlineText.setEl(el);\n      this.inlineTexts.push(inlineText);\n\n      if (!utils.isProduction()) {\n        await inlineText.deserialize(samples.s1);\n\n        inlineTextUtils.loadInlineTextCustomStyles(inlineText);\n        this.embedInlineWidget(inlineText);\n        return;\n      }\n\n      if (utils.isPreview()) {\n        await inlineText.deserialize(window.OV_PREVIEW_DATA);\n\n        inlineTextUtils.loadInlineTextCustomStyles(inlineText);\n        this.embedInlineWidget(inlineText);\n        this.inlineText = inlineText;\n        return;\n      }\n\n      const successCallback = async (response) => {\n        await inlineText.deserialize(response);\n\n        const successTasks = () => {\n          inlineTextUtils.onReadyInlineText(inlineText);\n          inlineTextUtils.loadInlineTextCustomStyles(inlineText);\n          this.embedInlineWidget(inlineText);\n        };\n\n        // retry insert if selector doesn't exists\n        inlineTextUtils.setupPlacement(inlineText);\n        if (inlineText.isSelectorPlacement && !inlineText.el) {\n          bisUtils.retryInsert(inlineText, successTasks, inlineTextUtils.setupPlacement);\n          return;\n        }\n\n        successTasks();\n      };\n\n      const errorCallback = (errors) => {\n        utils.printErrors(errors);\n      };\n\n      let qs = bisUtils.getPayloadQs();\n      api.getBackInStockInlineTextPayloads(successCallback, errorCallback, inlineText.id, qs);\n    };\n\n    nodeList.forEach((el) => {\n      processEl(el);\n    })\n  };\n\n  render() {\n    return (\n      <div>\n        <div dangerouslySetInnerHTML={{__html: require('static/icons/bp-icon.svg').default}} />\n        <div dangerouslySetInnerHTML={{__html: require('static/icons/fa-icon.svg').default}} />\n      </div>\n    )\n  }\n}\n\n\n\nexport default App;\n","import React from 'react';\nimport ReactDOM from \"react-dom\";\nimport * as constants from 'Constants';\nimport * as api from 'Api';\nimport * as utils from 'Utils';\nimport * as bisUtils from \"common/backinstock-utils\";\n\n\nexport function setupPlacement(inlineText) {\n  let appName = 'back-in-stock-inline-text';\n  let className = 'ov-app ov-app-back-in-stock-inline-text';\n  bisUtils.setupPlacement(inlineText, appName, className);\n}\n\nexport function loadInlineTextCustomStyles(inlineText) {\n  let styles = require('containers/InlineText/styles').default;\n  let elementIdPrefix = 'ov_app_back_in_stock_inline_text_styles_';\n  bisUtils.loadCustomStyles(inlineText, styles, elementIdPrefix);\n}\n\nexport function onReadyInlineText(inlineText) {\n  if (!utils.isProduction()) return;\n  let ovData = window.OnVoardData || window.OnVoardBackInStockData;\n\n  bisUtils.attachUrlChangeEvents(inlineText);\n\n  if (inlineText.isShopify) {\n    onReadyShopify(inlineText, ovData);\n  }\n\n  if (inlineText.isBigCommerce) {\n    onReadyBigCommerce(inlineText, ovData);\n  }\n\n  if (inlineText.isEasyStore) {\n    onReadyEasyStore(inlineText, ovData);\n  }\n\n  if (inlineText.isShopline) {\n    onReadyShopline(inlineText, ovData);\n  }\n\n  if (inlineText.isShopware) {\n    // wait until variants loaded\n    let handle = window.setInterval(() => {\n      if (window.OnVoardData.product && window.OnVoardData.product.variantsLoaded) {\n        clearInterval(handle);\n        onReadyShopware(inlineText, ovData);\n        return;\n      }\n    }, 200);\n  }\n\n  if (inlineText.isWix) {\n    onReadyWix(inlineText, ovData);\n  }\n\n  if (inlineText.isWooCommerce) {\n    onReadyWooCommerce(inlineText, ovData);\n  }\n}\n\n\n//=======================================\n// Shopify\n//=======================================\nexport function onReadyShopify(inlineText, ovData) {\n  bisUtils.onReadyShopify(inlineText, ovData);\n}\n\n\n//=======================================\n// BigCommerce\n//=======================================\nexport function onReadyBigCommerce(inlineText, ovData) {\n  bisUtils.onReadyBigCommerce(inlineText, ovData);\n}\n\n\n//=======================================\n// EasyStore\n//=======================================\nexport function onReadyEasyStore(inlineText, ovData) {\n  bisUtils.onReadyEasyStore(inlineText, ovData);\n}\n\n\n//=======================================\n// Shopline\n//=======================================\nexport function onReadyShopline(inlineText, ovData) {\n  bisUtils.onReadyShopline(inlineText, ovData);\n}\n\n\n//=======================================\n// Shopware\n//=======================================\nexport function onReadyShopware(inlineText, ovData) {\n  bisUtils.onReadyShopware(inlineText, ovData);\n}\n\n\n//=======================================\n// Wix\n//=======================================\nexport function onReadyWix(inlineText, ovData) {\n  bisUtils.onReadyWix(inlineText, ovData);\n}\n\n\n//=======================================\n// WooCommerce\n//=======================================\nexport function onReadyWooCommerce(inlineText, ovData) {\n  bisUtils.onReadyWooCommerce(inlineText, ovData);\n}\n","export default \"<svg aria-hidden=\\\"true\\\" style=\\\"position: absolute; width: 0; height: 0; overflow: hidden;\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" xmlns:xlink=\\\"http://www.w3.org/1999/xlink\\\">\\n<defs>\\n</defs>\\n</svg>\\n\";","export default \"<svg aria-hidden=\\\"true\\\" style=\\\"position: absolute; width: 0; height: 0; overflow: hidden;\\\" version=\\\"1.1\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\" xmlns:xlink=\\\"http://www.w3.org/1999/xlink\\\">\\n<defs>\\n</defs>\\n</svg>\\n\";"],"names":["getBackInStockInlineTextPayloads","successCallback","errorCallback","bisId","qs","arguments","length","undefined","utils","concat","_class","InlineTextStore","_classCallCheck","_initializerDefineProperty","_descriptor","_descriptor2","_descriptor3","_descriptor4","_descriptor5","_descriptor6","_descriptor7","_descriptor8","_descriptor9","_descriptor10","_descriptor11","_descriptor12","_descriptor13","_descriptor14","_descriptor15","_descriptor16","this","reset","_deserialize","_createClass","key","value","id","platform","tagsWhitelist","tagsBlacklist","placement","placementCssSelector","placementInsertPosition","cssStyles","customCssStyles","cssClasses","stockoutDisplay","text","display","el","rendered","placementInsertRetries","_asyncToGenerator","_regeneratorRuntime","_callee","data","_context","prev","next","deserializeWithMappers","getDeserializeMappers","setShopwareProductTags","stop","_x","apply","isShopware","window","OnVoardData","product","tags","product_tags","get","document","querySelector","selectorPath","_applyDecoratedDescriptor","prototype","setter","observable","configurable","enumerable","writable","initializer","toggle","action","Object","getOwnPropertyDescriptor","computed","InlineText","loadable","samples","observer","_React$Component","_inherits","App","_super","_createSuper","props","_this","call","start","setupPreview","loadInlineText","addEventListener","onWixVariantChange","bisUtils","inlineTexts","_callee3","_context3","abrupt","OV_PREVIEW_DATA","ovReloadPreview","_callee2","_context2","inlineText","deserialize","setEl","inlineTextUtils","embedInlineWidget","component","React","appEl","ReactDOM","className","setRendered","_callee6","nodeList","processEl","_context6","querySelectorAll","_ref5","_callee5","appId","_context5","setId","push","s1","_ref6","_callee4","response","successTasks","_context4","isSelectorPlacement","_x2","errors","api","forEach","removeEventListener","dangerouslySetInnerHTML","__html","require","setupPlacement","loadInlineTextCustomStyles","styles","onReadyInlineText","ovData","OnVoardBackInStockData","isShopify","onReadyShopify","isBigCommerce","onReadyBigCommerce","isEasyStore","onReadyEasyStore","isShopline","onReadyShopline","handle","setInterval","variantsLoaded","clearInterval","onReadyShopware","isWix","onReadyWix","isWooCommerce","onReadyWooCommerce"],"sourceRoot":""}