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C,EAAK,uBAELsC,EAAK,uBAGLG,EAAK,QACLC,EAAK,uBACLC,EAAK,uBACLU,EAAK,uBACLT,EAAK,uBAELE,EAAK,uBACLC,EAAM,uBACNC,EAAM,uBACNC,EAAM,uBACNC,EAAM,uBACNC,EAAM,uBACNC,EAAM,uBACNE,EAAM,sB,iOCrBV,IAAI7E,EAAK,uBACLC,EAAK,uBAELsB,EAAK,uBACLC,EAAK,uBACLqC,EAAK,uBACLC,EAAK,uBACLC,EAAK,uBACLC,EAAK,sB,ySCRT,IAAIhE,EAAK,uBACLC,EAAK,uBACLqB,EAAK,uBACLC,EAAK,uBACLC,EAAK,uBACLqC,EAAK,uBACLC,EAAK,uBACLC,EAAK,uBACLC,EAAK,uBACLC,EAAK,uBACLC,EAAK,sB,gvBCVT,IAAIlE,EAAK,uBACLC,EAAK,uBACLqB,EAAK,uBACLC,EAAK,uBACLC,EAAK,uBAELsC,EAAK,uBACLC,EAAK,uBACLC,EAAK,uBACLC,EAAK,uBACLC,EAAK,uBACLU,EAAK,uBACLT,EAAK,uBACLC,EAAK,uBAELE,EAAM,uBACNC,EAAM,uBACNC,EAAM,uBACNC,EAAM,uBAENE,EAAM,uBACNE,EAAM,uBACNC,EAAM,uBACNC,EAAM,uBACNI,EAAM,uBACNH,EAAM,uBACNC,EAAM,uBACNC,EAAM,uBACNE,EAAM,uBACNC,EAAM,uBACNC,EAAM,uBACNC,EAAM,uBACNC,EAAM,O","sources":["webpack://artfully-walls/./app/javascript/arts/actions/favorites.js","webpack://artfully-walls/./app/javascript/arts/actions/relatedWorks.js","webpack://artfully-walls/./app/javascript/arts/actions/work.js","webpack://artfully-walls/./app/javascript/arts/components/AddToCart/add_button.js","webpack://artfully-walls/./app/javascript/arts/components/AddToCart/add_with_totals.js","webpack://artfully-walls/./app/javascript/arts/components/shoppable_look_assignment/index.js","webpack://artfully-walls/./app/javascript/arts/components/AddToCart/add_to_cart.js","webpack://artfully-walls/./app/javascript/arts/components/AddToCart/smart_add_to_cart.js","webpack://artfully-walls/./app/javascript/arts/components/ArtistWorks/artist_details.js","webpack://artfully-walls/./app/javascript/arts/components/Collapsible/transition.js","webpack://artfully-walls/./app/javascript/arts/components/Collapsible/styles.module.scss?1648","webpack://artfully-walls/./app/javascript/arts/components/Collapsible/index.js","webpack://artfully-walls/./app/javascript/arts/components/Delimiter/index.js","webpack://artfully-walls/./app/javascript/arts/components/Delimiter/styles.module.scss?af18","webpack://artfully-walls/./app/javascript/arts/components/PapersMenu/mounts.js","webpack://artfully-walls/./app/javascript/arts/components/PapersMenu/warning.js","webpack://artfully-walls/./app/javascript/arts/components/Radio/index.js","webpack://artfully-walls/./app/javascript/arts/components/Radio/styles.module.scss?0458","webpack://artfully-walls/./app/javascript/arts/components/Social/pin_it.js","webpack://artfully-walls/./app/javascript/arts/components/Social/styles.module.scss?b676","webpack://artfully-walls/./app/javascript/arts/components/Viewer/entry.js","webpack://artfully-walls/./app/javascript/arts/components/Viewer/eye.js","webpack://artfully-walls/./app/javascript/arts/components/Viewer/paper_view.js","webpack://artfully-walls/./app/javascript/arts/components/Viewer/preview_modal.js","webpack://artfully-walls/./app/javascript/arts/components/Viewer/scale_icon.js","webpack://artfully-walls/./app/javascript/arts/components/Viewer/utils.js","webpack://artfully-walls/./app/javascript/arts/components/Viewer/zoom.js","webpack://artfully-walls/./app/javascript/arts/components/Viewer/zoomin_icon.js","webpack://artfully-walls/./app/javascript/arts/components/Viewer/zoom_in.js","webpack://artfully-walls/./app/javascript/arts/components/Viewer/zoom_modal.js","webpack://artfully-walls/./app/javascript/arts/components/Work/bread_crumbs.js","webpack://artfully-walls/./app/javascript/arts/actions/artist.js","webpack://artfully-walls/./app/javascript/arts/components/more_artist_works/more_artist_works.js","webpack://artfully-walls/./app/javascript/arts/components/more_artist_works/index.js","webpack://artfully-walls/./app/javascript/arts/components/similar_items/index.js","webpack://artfully-walls/./app/javascript/arts/components/similar_items/styles.module.scss?21cc","webpack://artfully-walls/./app/javascript/arts/components/may_also_like/may_also_like.js","webpack://artfully-walls/./app/javascript/arts/components/may_also_like/styles.module.scss?a64d","webpack://artfully-walls/./app/javascript/arts/components/may_also_like/index.js","webpack://artfully-walls/./app/javascript/arts/components/recently_view/recently_view.js","webpack://artfully-walls/./app/javascript/arts/components/recently_view/index.js","webpack://artfully-walls/./app/javascript/arts/components/Work/more_details.js","webpack://artfully-walls/./app/javascript/arts/actions/selection.js","webpack://artfully-walls/./app/javascript/arts/components/PapersMenu/header.js","webpack://artfully-walls/./app/javascript/arts/components/PapersMenu/frame.js","webpack://artfully-walls/./app/javascript/arts/components/PapersMenu/select_plexi_glass.js","webpack://artfully-walls/./app/javascript/arts/components/PapersMenu/paper.js","webpack://artfully-walls/./app/javascript/arts/components/PapersMenu/papers_menu.js","webpack://artfully-walls/./app/javascript/arts/components/PapersMenu/index.js","webpack://artfully-walls/./app/javascript/arts/components/Viewer/thumbnails.js","webpack://artfully-walls/./app/javascript/arts/components/Viewer/box.js","webpack://artfully-walls/./app/javascript/arts/components/Viewer/image_preview.js","webpack://artfully-walls/./app/javascript/arts/components/Viewer/image_preview_switcher.js","webpack://artfully-walls/./app/javascript/arts/components/Viewer/scale_modal.js","webpack://artfully-walls/./app/javascript/arts/components/Viewer/show_to_scale.js","webpack://artfully-walls/./app/javascript/arts/components/Viewer/viewer.js","webpack://artfully-walls/./app/javascript/arts/components/Viewer/index.js","webpack://artfully-walls/./app/javascript/arts/components/WorkSummary/index.js","webpack://artfully-walls/./app/javascript/arts/components/AddToCart/index.js","webpack://artfully-walls/./app/javascript/arts/components/selection_details/entry.js","webpack://artfully-walls/./app/javascript/arts/components/selection_details/styles.module.scss?2284","webpack://artfully-walls/./app/javascript/arts/components/selection_details/selection_details.js","webpack://artfully-walls/./app/javascript/arts/components/selection_details/index.js","webpack://artfully-walls/./app/javascript/arts/components/additional_info/additional_info.js","webpack://artfully-walls/./app/javascript/arts/components/additional_info/index.js","webpack://artfully-walls/./app/javascript/arts/components/extra_info/extra_info.js","webpack://artfully-walls/./app/javascript/arts/components/extra_info/index.js","webpack://artfully-walls/./app/javascript/arts/components/Work/about_the_art.js","webpack://artfully-walls/./app/javascript/arts/components/Work/work.js","webpack://artfully-walls/./app/javascript/arts/components/Work/index.js","webpack://artfully-walls/./app/javascript/arts/components/bread_crumbs/styles.module.scss?1008","webpack://artfully-walls/./app/javascript/arts/components/bread_crumbs/index.js","webpack://artfully-walls/./app/javascript/arts/components/expandable/expandable.js","webpack://artfully-walls/./app/javascript/arts/components/expandable/styles.module.scss?1483","webpack://artfully-walls/./app/javascript/arts/components/expandable/index.js","webpack://artfully-walls/./app/javascript/arts/actions/expand.js","webpack://artfully-walls/./app/javascript/arts/components/favorite/heart_e.js","webpack://artfully-walls/./app/javascript/arts/components/favorite/heart_f.js","webpack://artfully-walls/./app/javascript/arts/components/favorite/styles.module.scss?53eb","webpack://artfully-walls/./app/javascript/arts/components/favorite/favorite.js","webpack://artfully-walls/./app/javascript/arts/selectors/favorite.js","webpack://artfully-walls/./app/javascript/arts/components/favorite/index.js","webpack://artfully-walls/./app/javascript/arts/components/small_items_carousel/styles.module.scss?bd98","webpack://artfully-walls/./app/javascript/arts/components/small_items_carousel/index.js","webpack://artfully-walls/./app/javascript/arts/actions/wall_store_items.js","webpack://artfully-walls/./app/javascript/arts/components/store_item/store_item.js","webpack://artfully-walls/./app/javascript/arts/components/store_item/styles.module.scss?c165","webpack://artfully-walls/./app/javascript/arts/components/store_item/index.js","webpack://artfully-walls/./app/javascript/arts/actions/work_store_items.js","webpack://artfully-walls/./app/javascript/arts/components/visual_search/use_window_size.js","webpack://artfully-walls/./app/javascript/arts/components/AddToCart/styles.module.scss?b550","webpack://artfully-walls/./app/javascript/arts/components/ArtistWorks/styles.module.scss?2bed","webpack://artfully-walls/./app/javascript/arts/components/PapersMenu/styles.module.scss?49a2","webpack://artfully-walls/./app/javascript/arts/components/Viewer/styles.module.scss?1f94","webpack://artfully-walls/./app/javascript/arts/components/Work/styles.module.scss?d526","webpack://artfully-walls/./app/javascript/arts/components/WorkSummary/styles.module.scss?70d8","webpack://artfully-walls/./app/javascript/arts/components/works/styles.module.scss?84aa"],"sourcesContent":["import Constants from 'arts/config/constants';\nimport {\n addFavoriteApi,\n removeFavoriteApi,\n loadFavoritesApi\n} from 'arts/config/api';\n\nexport const add = (id, type) => (dispatch) => addFavoriteApi(id, type)\n .then(\n (favorite) => dispatch({ type: Constants.Favorites.ADD, favorite })\n ).catch(() => {});\n\nexport const remove = (id, type) => (dispatch) => removeFavoriteApi(id, type)\n .then(\n () => dispatch({ type: Constants.Favorites.REMOVE, favorite: { id, type } })\n ).catch(() => {});\n\nexport const load = () => (dispatch, getState) => {\n if (!window.currentUser) {\n return;\n }\n setTimeout(() => {\n const { favorites: { loaded, loading } } = getState();\n if (!loaded && !loading) {\n dispatch({ type: Constants.Favorites.LOAD });\n loadFavoritesApi().then((favorites) => dispatch({\n type: Constants.Favorites.LOADED,\n favorites\n })).catch(() => {});\n }\n }, 0);\n};\n","import Constants from 'arts/config/constants';\nimport { loadAdditionalWorks, loadRecentWorks } from 'arts/config/api';\n\n// YOU MAY ALSO LIKE\nconst loadAlsoLikeStart = () => ({\n type: Constants.RelatedWorks.LOAD_ALSO_LIKE_START\n});\n\nconst loadAlsoLikeSuccess = (data) => ({\n type: Constants.RelatedWorks.LOAD_ALSO_LIKE_SUCCESS,\n data\n});\n\nconst loadAlsoLikeFailure = (error) => ({\n type: Constants.RelatedWorks.LOAD_ALSO_LIKE_FAILURE,\n error\n});\n\nexport const loadAlsoLike = (sourceId) => (dispatch) => {\n dispatch(loadAlsoLikeStart());\n loadAdditionalWorks(sourceId).then(\n (data) => dispatch(loadAlsoLikeSuccess(data)),\n (error) => dispatch(loadAlsoLikeFailure(error))\n );\n};\n\n// RECENTLY VIEW\nconst loadRecentlyViewStart = () => ({\n type: Constants.RelatedWorks.LOAD_RECENTLY_VIEW_START\n});\n\nconst loadRecentlyViewSuccess = (data) => ({\n type: Constants.RelatedWorks.LOAD_RECENTLY_VIEW_SUCCESS,\n data\n});\n\nconst loadRecentlyViewFailure = (error) => ({\n type: Constants.RelatedWorks.LOAD_RECENTLY_VIEW_FAILURE,\n error\n});\n\nexport const loadRecentlyView = (ids) => (dispatch) => {\n dispatch(loadRecentlyViewStart());\n loadRecentWorks(ids).then(\n (data) => dispatch(loadRecentlyViewSuccess(data)),\n (error) => dispatch(loadRecentlyViewFailure(error))\n );\n};\n\nexport const setRecentWorkIds = (ids) => ({\n type: Constants.RelatedWorks.SET_RECENTLY_VIEWED,\n ids\n});\n","import Constants from 'arts/config/constants';\nimport { loadWork } from 'arts/config/api';\nimport { setRecentWorkIds } from './relatedWorks';\n\nconst fetchWorkStart = (id, detail) => ({\n type: Constants.Work.FETCH,\n id,\n detail\n});\n\nconst fetchWorkSuccess = (data) => ({\n type: Constants.Work.FETCH_SUCCESS,\n data\n});\n\nconst fetchWorkFailure = (error) => ({\n type: Constants.Work.FETCH_FAILURE,\n error\n});\n\nexport const fetchWork = (id, detail = {}) => (dispatch) => {\n dispatch(fetchWorkStart(id, detail));\n\n loadWork(id).then(\n (data) => {\n const { recentWorkIds, ...rest } = data;\n dispatch(fetchWorkSuccess(rest));\n if (recentWorkIds && recentWorkIds.length) {\n dispatch(setRecentWorkIds(recentWorkIds));\n }\n },\n (error) => dispatch(fetchWorkFailure(error))\n );\n};\n","import React from 'react';\nimport classnames from 'classnames';\nimport PropTypes from 'prop-types';\nimport * as Classes from './styles.module.scss';\n\nconst AddButton = ({\n doAddToCart,\n adding,\n added\n}) => {\n const onAddToCart = () => {\n if (adding) { return; }\n doAddToCart();\n };\n\n let text = add to cart;\n\n if (!added && adding) {\n text = (\n
\n
\n
\n
\n
\n );\n } else if (added) {\n text = (\n added\n );\n }\n\n return (\n \n { text }\n \n );\n};\n\nAddButton.propTypes = {\n doAddToCart: PropTypes.func.isRequired,\n adding: PropTypes.bool.isRequired,\n added: PropTypes.bool.isRequired\n};\n\nexport default AddButton;\n","import React, { useState } from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport { MODAL_SELECTOR } from 'arts/config/constants';\nimport AddButton from './add_button';\nimport Modal from '../Modal';\n\nimport * as AppClasses from '../Application/styles.module.scss';\nimport * as CheckoutStyles from '../checkout/styles.module.scss';\nimport * as Classes from './styles.module.scss';\n\nconst AddWithTotals = ({\n hasSelection,\n price,\n currency,\n frameId,\n workId,\n paperId,\n originalArtId,\n addArtToCart,\n addOriginalArtToCart,\n adding,\n added,\n nonGlare,\n allowQnty\n}) => {\n const [qnty, setQnty] = useState(1);\n const [showWarning, setShowWarning] = useState(false);\n const [showEmpty, setShowEmpty] = useState(false);\n\n const limitQnty = (value, force = true) => {\n if (!value && !force) { return value; }\n if (value < 1) { return 1; }\n if (value > window.maxQnty) { return window.maxQnty; }\n return value;\n };\n\n const add = () => setQnty(prev => limitQnty((prev || 0) + 1, true));\n const remove = () => setQnty(prev => limitQnty((prev || 2) - 1, true));\n const hideWarning = () => setShowWarning(false);\n const hideEmpty = () => setShowEmpty(false);\n\n const onQntyChanged = (event) => setQnty(limitQnty(parseInt(event.target.value, 10)));\n\n const doAddToCart = () => {\n if (originalArtId) {\n addOriginalArtToCart({ originalArtId });\n return;\n }\n if (!qnty) {\n setShowEmpty(true);\n return;\n }\n if (qnty > 1) {\n setShowWarning(true);\n return;\n }\n addArtToCart({\n frameId, paperId, workId, qnty, nonGlare\n });\n };\n\n const hideWarningAndAddToCart = () => {\n hideWarning();\n addArtToCart({\n frameId, paperId, workId, qnty, nonGlare\n });\n };\n\n return (\n <>\n {\n showWarning ? (\n \n

\n Please note that you are adding multiple\n
\n versions of this item to your cart.\n

\n
\n \n OK\n \n
\n \n ) : null\n }\n {\n showEmpty ? (\n \n

\n Please select the number of items to add to your cart.\n

\n
\n \n OK\n \n
\n \n\n ) : null\n }\n
\n {\n hasSelection && currency ? (\n <>\n Total: \n { currency }\n { Math.abs(price * (qnty || 1)).toFixed(2) }\n \n ) : ''\n }\n
\n
\n {\n allowQnty ? (\n
\n \n \n \n
\n ) : null\n }\n \n
\n \n );\n};\n\nAddWithTotals.propTypes = {\n price: PropTypes.number,\n currency: PropTypes.string,\n frameId: PropTypes.number,\n workId: PropTypes.number,\n paperId: PropTypes.number,\n originalArtId: PropTypes.number,\n addArtToCart: PropTypes.func.isRequired,\n addOriginalArtToCart: PropTypes.func.isRequired,\n adding: PropTypes.bool.isRequired,\n added: PropTypes.bool.isRequired,\n allowQnty: PropTypes.bool.isRequired,\n nonGlare: PropTypes.bool,\n hasSelection: PropTypes.bool\n};\n\nexport default AddWithTotals;\n","import React, { Suspense } from 'react';\n\nconst ShoppableLookAssignment = React.lazy(() => import('./shoppable_look_assignment'));\n\nexport default (props) => (\n Loading...
}>\n \n \n);\n","/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useEffect } from 'react';\nimport T from 'prop-types';\nimport classnames from 'classnames';\nimport * as Classes from './styles.module.scss';\nimport { WorkStoreItem } from '../store_item';\nimport AddWithTotals from './add_with_totals';\nimport ShoppableLookAssignment from '../shoppable_look_assignment';\n\nexport const currentPriceAndNonGlare = ({ frame, nonGlare }, priceKey) => ({\n [priceKey]: frame ? parseFloat((nonGlare ? frame.nonGlarePrice : frame.price), 10) : null,\n nonGlare: nonGlare || false\n});\n\nexport const AffirmPromo = ({ price, currency, onWall }) => {\n if (window.minAffirmAmount) {\n useEffect(() => {\n if (window.affirm && window.affirm.ui && window.affirm.ui.ready) {\n window.affirm.ui.ready(() => {\n window.affirm.ui.refresh();\n });\n }\n }, [price, currency]);\n }\n\n if (!currency || !window.minAffirmAmount || price < window.minAffirmAmount) {\n return null;\n }\n\n return (\n
\n

\n

\n );\n};\n\nAffirmPromo.propTypes = {\n price: T.number.isRequired,\n onWall: T.bool,\n currency: T.string\n};\n\nconst AddToCart = ({\n price, inStock, selection, frameId, workId,\n paperId, originalArtId, addRemoveFromStore, storeItemId,\n addArtToCart, addOriginalArtToCart,\n currency, adding, added,\n allowQnty, nonGlare\n}) => (\n <>\n
\n
\n {\n inStock ? (\n \n ) : (\n
\n Sold Out\n
\n )\n }\n
\n
\n { selection && inStock ? : null }\n {\n addRemoveFromStore ? (\n
\n \n
\n ) : null\n }\n { window.hasELinks ? (\n \n ) : null }\n \n);\n\nAddToCart.propTypes = {\n price: T.number,\n currency: T.string,\n inStock: T.bool,\n selection: T.bool,\n frameId: T.number,\n workId: T.number,\n paperId: T.number,\n originalArtId: T.number,\n addRemoveFromStore: T.bool,\n storeItemId: T.number,\n addArtToCart: T.func.isRequired,\n addOriginalArtToCart: T.func.isRequired,\n adding: T.bool.isRequired,\n added: T.bool.isRequired,\n allowQnty: T.bool.isRequired,\n nonGlare: T.bool\n};\n\nexport default AddToCart;\n","import { connect } from 'react-redux';\nimport { addArtToCart, addOriginalArtToCart } from 'arts/actions/cart_items';\nimport AddToCart from './add_to_cart';\n\nconst mapStateToProps = ({ cartItems: { adding, added } }) => ({ added, adding });\n\nexport default connect(mapStateToProps, {\n addArtToCart, addOriginalArtToCart\n})(AddToCart);\n","import React from 'react';\nimport classnames from 'classnames';\nimport PropTypes from 'prop-types';\nimport { Link } from 'react-router-dom';\nimport * as Classes from './styles.module.scss';\n\nexport const renderText = (title, text, hasImages = false, renderEmpty = false) => {\n if (!text && !renderEmpty) { return null; }\n return (\n
\n {\n title || renderEmpty ? (\n
\n { title }\n  \n
\n ) : null\n }\n
\n { text }\n
\n
\n );\n};\n\nconst renderArray = (title, texts) => {\n if (!texts || !texts.length) { return null; }\n return (\n
\n
{ title }
\n
{ texts.join('\\n') }
\n
\n );\n};\n\n/* eslint-disable jsx-a11y/anchor-is-valid */\nconst ArtistDetails = ({\n background, exhibitions, statement, styles\n}) => (\n \n);\n/* eslint-enable jsx-a11y/anchor-is-valid */\n\nArtistDetails.propTypes = {\n background: PropTypes.string,\n exhibitions: PropTypes.arrayOf(PropTypes.string),\n statement: PropTypes.string,\n styles: PropTypes.array\n};\n\nexport default ArtistDetails;\n","import React, { PureComponent } from 'react';\nimport T from 'prop-types';\n\nimport * as Classes from './styles.module.scss';\n\nclass Transition extends PureComponent {\n static propTypes = {\n children: T.node,\n collapsed: T.bool\n };\n\n constructor(props) {\n super(props);\n\n const { collapsed } = props;\n\n this.state = {\n initiallyCollapsed: collapsed\n };\n\n this.setRootRef = this.setRootRef.bind(this);\n this.onTransitionEnd = this.onTransitionEnd.bind(this);\n }\n\n componentDidUpdate(prevProps) {\n const { collapsed } = this.props;\n\n if (collapsed && !prevProps.collapsed) {\n this.hide();\n } else if (!collapsed && prevProps.collapsed) {\n this.open();\n }\n }\n\n componentWillUnmount() {\n this.cancelAnimations();\n }\n\n onTransitionEnd() {\n this.rootRef.removeEventListener('transitionend', this.onTransitionEnd);\n this.rootRef.style.maxHeight = 'none';\n this.rootRef.style.overflow = 'visible';\n }\n\n setRootRef(ref) {\n this.rootRef = ref;\n }\n\n hide() {\n this.cancelAnimations();\n this.rootRef.style.maxHeight = `${ this.rootRef.scrollHeight }px`;\n this.rootRef.style.overflow = 'hidden';\n\n this.raf = window.requestAnimationFrame(() => {\n this.raf = window.requestAnimationFrame(() => {\n this.rootRef.style.maxHeight = '0';\n });\n });\n }\n\n open() {\n this.cancelAnimations();\n this.rootRef.addEventListener('transitionend', this.onTransitionEnd);\n this.rootRef.style.maxHeight = `${ this.rootRef.scrollHeight }px`;\n }\n\n cancelAnimations() {\n this.rootRef.removeEventListener('transitionend', this.onTransitionEnd);\n window.cancelAnimationFrame(this.raf);\n }\n\n render() {\n const { children } = this.props;\n const { initiallyCollapsed } = this.state;\n const className = `\n ${ initiallyCollapsed ? Classes.collapsed : '' }\n ${ Classes.transitionRoot }\n `;\n\n return (\n \n { children }\n
\n );\n }\n}\n\nexport default Transition;\n","// extracted by mini-css-extract-plugin\nvar _1 = \"jyMesdPFVESQIC5kYbZy\";\nvar _2 = \"foEnQfOaGdgUVv6Jyw3l\";\nvar _3 = \"jTDgLGJ9rWSeuXoj46Ge\";\nexport { _1 as \"collapsed\", _2 as \"root\", _3 as \"transitionRoot\" }\n","import React from 'react';\nimport T from 'prop-types';\n\nimport Transition from './transition';\nimport * as Classes from './styles.module.scss';\n\nconst Collapsible = ({ children, collapsed }) => (\n
\n \n { children }\n \n
\n);\n\nCollapsible.propTypes = {\n children: T.node,\n collapsed: T.bool\n};\n\nexport default Collapsible;\n","import React from 'react';\nimport T from 'prop-types';\nimport * as Classes from './styles.module.scss';\n\nconst Delimiter = ({ notop }) => (\n
\n);\n\nDelimiter.propTypes = {\n notop: T.bool\n};\n\nexport default Delimiter;\n","// extracted by mini-css-extract-plugin\nvar _1 = \"LGUXzLinhEdt5zdVBA7j\";\nvar _2 = \"DLVqlLDtibgYdm6zMFAR\";\nexport { _1 as \"notop\", _2 as \"root\" }\n","/* eslint-disable jsx-a11y/label-has-for */\nimport React, { PureComponent } from 'react';\nimport T from 'prop-types';\n\nimport Radio from 'arts/components/Radio';\nimport * as Classes from './styles.module.scss';\n\nexport const FULL_BLEED = 'fullBleed';\nexport const MATTE = 'matte';\nexport const FLOAT_DECKLED = 'dckl';\nexport const FLOAT_STRIGHT = 'fltn';\nexport const FLOATING = 'floating';\n\nexport const mat = () => (window.currentLocale.currentLocale === 'en' ? '2.75\"' : '7cm');\n\nconst matte = (caps) => (caps ? 'M' : 'm') + (window.currentLocale.currentLocale === 'en' ? 'atte' : 'ount');\n\nconst mountDetails = () => [\n { kind: MATTE, name: `With ${ matte(true) }`, description: ` - ${ mat() } wide, white matboard, buffered for extended life` },\n { kind: FULL_BLEED, name: `No ${ matte(true) }`, description: ` - no ${ matte(false) } or border, image is flush to frame` },\n {\n kind: FLOATING,\n name: 'Float Mount',\n description: ' - image floated on 1.25\" wide white matte'\n }\n];\n\nconst floatStright = {\n kind: FLOAT_STRIGHT, name: 'Straight Edge', description: ' - straight paper edges'\n};\nconst floatDeckled = {\n kind: FLOAT_DECKLED, name: 'Deckled Edge', description: ' - rough paper edges'\n};\n\nconst VALID_MOUNT_KINDS = [MATTE, FULL_BLEED, FLOAT_STRIGHT, FLOAT_DECKLED];\n\nclass Mounts extends PureComponent {\n static propTypes = {\n onSelect: T.func.isRequired,\n selected: T.oneOf(VALID_MOUNT_KINDS),\n paperId: T.number.isRequired,\n matte: T.bool,\n fillBleed: T.bool,\n dckl: T.bool,\n fltn: T.bool\n };\n\n constructor() {\n super();\n\n this.onChange = this.onChange.bind(this);\n this.availableMounts = this.availableMounts.bind(this);\n this.renderMount = this.renderMount.bind(this);\n }\n\n onChange(e) {\n const { onSelect } = this.props;\n\n const {\n value\n } = e.target;\n\n if (value === FLOATING) {\n onSelect(FLOAT_STRIGHT);\n } else {\n onSelect(value);\n }\n }\n\n availableMounts({ kind }) {\n // eslint-disable-next-line react/destructuring-assignment\n if (kind === FLOATING) {\n return this.props[FLOAT_STRIGHT] || this.props[FLOAT_DECKLED];\n }\n return this.props[kind] === true;\n }\n\n renderMount({ kind, name, description }, overrideName = null) {\n const {\n paperId,\n selected\n } = this.props;\n\n const radioId = `MountRadioControl-${ paperId }-${ kind }`;\n const radioName = `MountRadioControl-${ paperId }-${ overrideName }`;\n\n const isSelected = selected === kind || (\n kind === FLOATING && (selected === FLOAT_STRIGHT || selected === FLOAT_DECKLED)\n );\n\n let extraMounts = null;\n if (kind === FLOATING && isSelected) {\n extraMounts = (\n
\n { this.renderMount(floatStright, 'float') }\n { this.renderMount(floatDeckled, 'float') }\n
\n );\n }\n\n return (\n
\n \n
\n \n\n
\n { name }\n \n { description }\n \n
\n
\n \n { extraMounts }\n
\n );\n }\n\n render() {\n return (\n
\n { mountDetails().filter(this.availableMounts).map(this.renderMount) }\n
\n );\n }\n}\n\nexport default Mounts;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport * as Classes from './styles.module.scss';\n\nconst Warning = ({ warning, flat }) => (\n warning ? (\n
\n { warning }\n
\n ) : null\n);\n\nWarning.propTypes = {\n warning: PropTypes.string,\n flat: PropTypes.bool\n};\n\nexport default Warning;\n","import React from 'react';\nimport T from 'prop-types';\nimport * as Classes from './styles.module.scss';\n\nconst Radio = (props) => (\n
\n \n \n
\n);\nRadio.propTypes = {\n checked: T.bool,\n id: T.oneOfType([T.string, T.number])\n};\nexport default Radio;\n","// extracted by mini-css-extract-plugin\nvar _1 = \"_nayueMnaS3n4G3LaZXg\";\nexport { _1 as \"radio\" }\n","import React from 'react';\nimport T from 'prop-types';\nimport * as Classes from './styles.module.scss';\n\nconst PinIt = ({ href, imageUrl, description }) => {\n if (!window.allowSharing) { return null; }\n\n const onClick = (e) => {\n e.preventDefault();\n if (window.PinUtils) {\n window.PinUtils.pinOne({\n url: href,\n media: imageUrl,\n description\n });\n }\n };\n\n return (\n // eslint-disable-next-line jsx-a11y/anchor-is-valid\n
\n \n \n );\n};\n\nPinIt.propTypes = {\n href: T.string,\n imageUrl: T.string,\n description: T.string\n};\n\nexport default PinIt;\n","// extracted by mini-css-extract-plugin\nvar _1 = \"KEyrofTPyAhIimrsHvwT\";\nvar _2 = \"OcT7WzKypu5O5gCStFrO\";\nexport { _1 as \"letter\", _2 as \"pinClass\" }\n","import React from 'react';\nimport classnames from 'classnames';\nimport T from 'prop-types';\nimport * as Classes from './styles.module.scss';\n\nconst Entry = ({\n url, index, selectedIndex, onClick, className\n}) => {\n const klass = selectedIndex === index ? Classes.selected : '';\n const onSelect = () => onClick(index);\n return (\n \n \"\"\n
\n );\n};\n\nEntry.propTypes = {\n url: T.string.isRequired,\n index: T.number.isRequired,\n selectedIndex: T.number.isRequired,\n onClick: T.func.isRequired,\n className: T.string\n};\n\nexport default Entry;\n","import React from 'react';\n\nconst SvgComponent = (props) => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default SvgComponent;\n","import React from 'react';\nimport T from 'prop-types';\nimport classnames from 'classnames';\n\nimport Zoom from './zoom';\nimport * as Classes from './styles.module.scss';\n\nimport { FLOAT_DECKLED, FLOAT_STRIGHT } from '../PapersMenu/mounts';\n\nconst PaperView = ({\n width, height, borderH, borderW, backgroundImage, unframed,\n frameThicknessH, frameThicknessV, zoomPreviewUrl, imageUrl, title,\n mount, isTapestry\n}) => {\n const styles = { flexBasis: width, height };\n if (backgroundImage) {\n styles.backgroundImage = `url(${ backgroundImage })`;\n }\n const innerStyle = {\n paddingTop: `${ borderH }%`,\n paddingBottom: `${ borderH }%`,\n paddingLeft: `${ borderW }%`,\n paddingRight: `${ borderW }%`\n };\n\n const paperClass = unframed ? Classes.externalShadow : '';\n const frameClass = backgroundImage ? Classes.externalShadow : '';\n\n let frameShadow = null;\n const isFloat = FLOAT_DECKLED === mount || FLOAT_STRIGHT === mount;\n if (frameThicknessH && !isFloat && !isTapestry) {\n const frameShadowPos = {\n top: `${ frameThicknessV }%`,\n right: `${ frameThicknessH }%`,\n bottom: `${ frameThicknessV }%`,\n left: `${ frameThicknessH }%`\n };\n frameShadow =
;\n }\n\n return (\n \n
\n { frameShadow }\n {\n
\n \n );\n};\n\nPaperView.propTypes = {\n width: T.string,\n height: T.string,\n borderH: T.number,\n borderW: T.number,\n imageUrl: T.string,\n backgroundImage: T.string,\n zoomPreviewUrl: T.string,\n title: T.string,\n landscape: T.bool,\n unframed: T.bool.isRequired,\n frameThicknessV: T.number,\n frameThicknessH: T.number,\n mount: T.string,\n isTapestry: T.bool\n};\n\nexport default PaperView;\n","import React from 'react';\nimport T from 'prop-types';\nimport { MODAL_LEVEL2_SELECTOR } from 'arts/config/constants';\nimport Modal from 'arts/components/Modal';\n\nconst PreviewModal = ({\n onHide, children, className, contentOptions\n}) => (\n \n { children }\n \n);\n\nPreviewModal.propTypes = {\n onHide: T.func,\n children: T.node,\n className: T.string,\n contentOptions: T.object\n};\n\nexport default PreviewModal;\n","import React from 'react';\n\nconst ScaleIcon = (props) => (\n \n \n \n);\n\nexport default ScaleIcon;\n","export const calculatePaperProps = ({\n paperHeight,\n paperWidth,\n printHeight,\n printWidth,\n landscape\n}) => {\n let width;\n let height;\n let borderH;\n let borderW;\n const ratio = (100 * paperHeight) / paperWidth;\n const dH = (100 * ((paperHeight - printHeight) / 2)) / paperWidth;\n const dW = (100 * ((paperWidth - printWidth) / 2)) / paperWidth;\n if (landscape) {\n width = '100%';\n height = `${ ratio }%`;\n borderH = dH;\n borderW = dW;\n } else {\n width = `${ ratio }%`;\n height = '100%';\n borderH = dW;\n borderW = dH;\n }\n return {\n width, height, borderH, borderW\n };\n};\n\nexport const calculateFrameThickness = (width, frameThickness) => (\n (frameThickness / width) * 100\n);\n","import React, { useRef, useEffect, useMemo } from 'react';\nimport PropTypes from 'prop-types';\nimport * as Classes from './styles.module.scss';\n\nconst Zoom = ({\n style,\n className,\n zoomPreviewUrl,\n children\n}) => {\n const el = useRef(null);\n const cz = useRef(null);\n\n const zoomProps = useMemo(() => ({\n image: zoomPreviewUrl,\n zoomImage: zoomPreviewUrl,\n zoomPosition: '.zoom-container'\n }), [zoomPreviewUrl]);\n\n const unBindZoom = () => {\n if (cz.current) {\n cz.current.destroy();\n cz.current = null;\n }\n const cb = document.querySelector('.cloudzoom-blank');\n if (cb) {\n cb.parentNode.removeChild(cb);\n }\n };\n\n const bindZoom = () => {\n unBindZoom();\n if (parseInt(Classes.mobilewidth, 10) < window.innerWidth) {\n if (window.jQuery(el.current).CloudZoom) {\n cz.current = window.jQuery(el.current).CloudZoom(zoomProps).data('CloudZoom');\n } else {\n setTimeout(() => {\n if (window.jQuery(el.current).CloudZoom) {\n cz.current = window.jQuery(el.current).CloudZoom(zoomProps).data('CloudZoom');\n }\n }, 1000);\n }\n }\n };\n\n useEffect(() => {\n if (zoomPreviewUrl) {\n bindZoom();\n }\n return () => unBindZoom();\n }, [zoomPreviewUrl]);\n\n return (\n \n { children }\n
\n
\n );\n};\n\nZoom.propTypes = {\n style: PropTypes.object,\n className: PropTypes.string,\n zoomPreviewUrl: PropTypes.string,\n children: PropTypes.node\n};\n\nexport default Zoom;\n","import React from 'react';\n\nconst Zoomin = (props) => (\n \n \n \n \n \n \n \n);\n\nexport default Zoomin;\n","import React, { useState, useMemo } from 'react';\nimport PropTypes from 'prop-types';\nimport * as Classes from './styles.module.scss';\nimport ZoomModal from './zoom_modal';\nimport Zoomin from './zoomin_icon.js';\n\nconst ZoomIn = ({\n zoomPreviewUrl,\n withFrame,\n className\n}) => {\n const [visible, setVisible] = useState(null);\n const hide = () => setVisible(false);\n const show = () => setVisible(true);\n\n const modal = useMemo(() => (\n visible ? (\n \n ) : null\n ), [visible]);\n\n return useMemo(() => {\n if (!zoomPreviewUrl) {\n return null;\n }\n\n return (\n
\n { modal }\n \n
\n );\n }, [zoomPreviewUrl, visible]);\n};\n\nZoomIn.propTypes = {\n zoomPreviewUrl: PropTypes.string,\n withFrame: PropTypes.bool,\n className: PropTypes.string\n};\n\nexport default ZoomIn;\n","import React from 'react';\nimport T from 'prop-types';\nimport PreviewModal from './preview_modal';\nimport * as ModalClasses from '../Modal/styles.module.scss';\n\nconst ZoomModal = ({\n img, onHide\n}) => (\n \n);\n\nZoomModal.propTypes = {\n img: T.string,\n onHide: T.func,\n withFrame: T.bool\n};\n\nexport default ZoomModal;\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport BreadCrumbsGeneric from '../bread_crumbs';\nimport * as Classes from './styles.module.scss';\n\nconst ART_PRINTS = { text: 'Art Prints', to: '/art-prints' };\nconst ORIGINAL_ART = { text: 'Original Art', to: '/original_arts' };\n\nconst BreadCrumbs = ({\n authorName, authorId, authorSlug, originalArt\n}) => {\n const links = [\n originalArt ? ORIGINAL_ART : ART_PRINTS,\n { text: authorName, to : `/artists/${ authorId }/${ authorSlug }` }\n ];\n return (\n \n );\n};\n\nBreadCrumbs.propTypes = {\n authorName: PropTypes.string,\n authorId: PropTypes.number,\n authorSlug: PropTypes.string,\n originalArt: PropTypes.bool\n};\n\nexport default BreadCrumbs;\n","import Constants from 'arts/config/constants';\nimport { getArtist } from 'arts/config/api';\n\nconst fetchArtistStart = () => ({\n type: Constants.Artist.FETCH\n});\n\nconst fetchArtistSuccess = (data) => ({\n type: Constants.Artist.FETCH_SUCCESS,\n data\n});\n\nconst fetchArtistFailure = (error) => ({\n type: Constants.Artist.FETCH_FAILURE,\n error\n});\n\nexport const fetchArtist = (id) => (dispatch) => {\n dispatch(fetchArtistStart());\n\n getArtist(id).then(\n (data) => dispatch(fetchArtistSuccess(data)),\n (error) => dispatch(fetchArtistFailure(error))\n );\n};\n","import React, { useEffect, useMemo } from 'react';\nimport PropTypes from 'prop-types';\nimport { artistShape } from 'arts/reducers/artist';\nimport Delimiter from 'arts/components/Delimiter';\nimport SmallItemsCarousel from '../small_items_carousel';\nimport { renderText } from '../ArtistWorks/artist_details';\n\nconst onMoreOfArtist = () => true;\n\nconst MoreArtistWorks = ({\n artistId,\n skipId,\n artist,\n name,\n about,\n loadMoreWorks\n}) => {\n useEffect(() => {\n if (artistId) { loadMoreWorks(artistId); }\n }, [artistId]);\n\n const { works } = useMemo(() => artist || {}, [artist]);\n const filteredWorks = useMemo(() => (works || []).filter(w => w.id !== skipId), [works, skipId]);\n const title = useMemo(() => (\n name ? (\n <>\n More of \n { name }\n 's work\n \n ) : 'Loading artist details...'\n ), [name]);\n\n return (\n
\n \n
\n \n { renderText('About The Artist', about, false, true) }\n
\n
\n );\n};\n\nMoreArtistWorks.propTypes = {\n artistId: PropTypes.number.isRequired,\n skipId: PropTypes.number.isRequired,\n artist: artistShape,\n name: PropTypes.string.isRequired,\n about: PropTypes.string,\n loadMoreWorks: PropTypes.func.isRequired\n};\n\nexport default MoreArtistWorks;\n","import { connect } from 'react-redux';\nimport {\n fetchArtist as loadMoreWorks\n} from 'arts/actions/artist';\nimport MoreArtistWorks from './more_artist_works';\n\nconst mapStateToProps = ({ artist }) => ({\n artist\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n loadMoreWorks: (id) => { dispatch(loadMoreWorks(id)); }\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(MoreArtistWorks);\n","import React from 'react';\nimport classnames from 'classnames';\nimport PropTypes from 'prop-types';\nimport { Link } from 'react-router-dom';\nimport { trackEvent } from '../../config/analytics';\nimport Eye from '../Viewer/eye';\nimport * as Classes from './styles.module.scss';\n// import SimilarModal from '../similar_modal';\n\nconst SimilarItems = ({\n className, eventSource, children, id\n}) => {\n const onClick = () => trackEvent('more like this', { source: eventSource, 'work id': id });\n\n return (\n
\n \n { children }\n \n \n More Like This\n \n \n
\n );\n};\n\nSimilarItems.propTypes = {\n id: PropTypes.number.isRequired,\n className: PropTypes.string,\n eventSource: PropTypes.string.isRequired,\n children: PropTypes.node\n};\n\nexport default SimilarItems;\n","// extracted by mini-css-extract-plugin\nvar _1 = \"EoBDmSKndybHIxFTqW6p\";\nexport { _1 as \"more\" }\n","import React, { PureComponent } from 'react';\nimport T from 'prop-types';\nimport { mayAlsoLikeShape } from 'arts/reducers/artist';\nimport SmallItemsCarousel, { WorkImage, calculateWith } from '../small_items_carousel';\nimport * as Classes from './styles.module.scss';\nimport SimilarItems from '../similar_items';\n\nconst onMoreLikeThis = () => true;\n\nconst renderImage = ({\n // eslint-disable-next-line react/prop-types\n href, title, imgUrl, id, imageWidth, imageHeight\n}, index) => {\n const width = calculateWith(imageWidth, imageHeight);\n return (\n
\n \n \n
\n );\n};\n\nexport default class MayAlsoLike extends PureComponent {\n static propTypes = {\n sourceId: T.number,\n data: mayAlsoLikeShape.isRequired,\n loadAlsoLike: T.func.isRequired\n };\n\n componentDidMount() {\n const { sourceId, loadAlsoLike } = this.props;\n if (sourceId) {\n loadAlsoLike(sourceId);\n }\n }\n\n componentDidUpdate({ sourceId: sourceIdWas }) {\n const { sourceId, loadAlsoLike } = this.props;\n if (sourceId !== sourceIdWas) {\n loadAlsoLike(sourceId);\n }\n }\n\n render() {\n const { data } = this.props;\n return (\n \n );\n }\n}\n","// extracted by mini-css-extract-plugin\nvar _1 = \"Doskkpp3q_yUk2uEJB4l\";\nvar _2 = \"nUQ0YxP1TKlFcxt3a6Qg\";\nvar _3 = \"AO7YZ6wQ9WNrrSVnBN0Q\";\nvar _4 = \"OeLTnZrjF9I_fUluTdBw\";\nexport { _1 as \"images\", _2 as \"more\", _3 as \"root\", _4 as \"title\" }\n","import { connect } from 'react-redux';\nimport { loadAlsoLike } from 'arts/actions/relatedWorks';\nimport MayAlsoLike from './may_also_like';\n\nconst mapStateToProps = ({ relatedWorks: { alsoLike } }) => ({\n data: alsoLike.data,\n error: alsoLike.error\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n loadAlsoLike: (id) => { dispatch(loadAlsoLike(id)); }\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(MayAlsoLike);\n","import React, { PureComponent } from 'react';\nimport T from 'prop-types';\nimport { mayAlsoLikeShape as recentlyView } from 'arts/reducers/artist';\nimport deepEqual from 'deep-equal';\nimport SmallItemsCarousel from '../small_items_carousel';\n\nexport default class RecentlyView extends PureComponent {\n static propTypes = {\n ids: T.arrayOf(T.number),\n data: recentlyView,\n loadRecentlyView: T.func.isRequired\n };\n\n componentDidMount() {\n const { ids, loadRecentlyView } = this.props;\n if (ids) {\n loadRecentlyView(ids);\n }\n }\n\n componentDidUpdate({ ids: idsWere }) {\n const { ids, loadRecentlyView } = this.props;\n if (!deepEqual(ids, idsWere)) {\n loadRecentlyView(ids);\n }\n }\n\n render() {\n const { data } = this.props;\n return (\n \n );\n }\n}\n","import { connect } from 'react-redux';\nimport { loadRecentlyView } from 'arts/actions/relatedWorks';\nimport RecentlyView from './recently_view';\n\nconst mapStateToProps = ({ relatedWorks: { recentlyView } }) => ({\n data: recentlyView.data,\n error: recentlyView.error,\n ids: recentlyView.ids\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n loadRecentlyView: (id) => { dispatch(loadRecentlyView(id)); }\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(RecentlyView);\n","import React from 'react';\nimport classnames from 'classnames';\nimport PropTypes from 'prop-types';\nimport MoreArtistWorks from '../more_artist_works';\nimport MayAlsoLike from '../may_also_like';\nimport RecentlyView from '../recently_view';\nimport * as Classes from './styles.module.scss';\n\nconst MoreDetails = ({\n artistId, id, name, about\n}) => {\n if (!id) return null;\n\n const moreWorks = artistId ? (\n \n ) : null;\n\n return (\n
\n { moreWorks }\n \n \n
\n );\n};\n\nMoreDetails.propTypes = {\n artistId: PropTypes.number,\n id: PropTypes.number,\n name: PropTypes.string,\n about: PropTypes.string\n};\n\nexport default MoreDetails;\n","import Constants from 'arts/config/constants';\n\nexport const resetOtherImage = () => ({\n type: Constants.Selection.RESET_OTHER\n});\n\nexport const setFrame = (paper, frame) => ({\n type: Constants.Selection.SET_FRAME,\n paper,\n frame\n});\n\nexport const setOtherImage = (url) => ({\n type: Constants.Selection.SET_OTHER,\n url\n});\n\nexport const resetSelection = () => ({\n type: Constants.Selection.RESET\n});\n\nexport const setNonGlare = (nonGlare) => ({\n type: Constants.Selection.SET_NON_GLARE,\n nonGlare\n});\n\nexport const setFramePreview = (paper, frame) => (dispatch) => {\n dispatch(setFrame(paper, frame));\n dispatch(resetOtherImage());\n};\n","import React, { PureComponent } from 'react';\nimport classnames from 'classnames';\nimport T from 'prop-types';\nimport {\n paperShape\n} from 'arts/reducers/work';\nimport { humanSize } from 'arts/config/lib';\nimport Radio from 'arts/components/Radio';\nimport * as Classes from './styles.module.scss';\n\nclass Header extends PureComponent {\n static propTypes = {\n paper: paperShape.isRequired,\n active: T.bool,\n frameless: T.bool,\n selectFrame: T.func.isRequired,\n selectNoFrame: T.func.isRequired,\n currentPrice: T.number,\n currency: T.string,\n landscape: T.bool,\n onClick: T.func.isRequired,\n skipSelectFrame: T.bool\n }\n\n constructor() {\n super();\n\n this.selectFrame = this.selectFrame.bind(this);\n this.onClick = this.onClick.bind(this);\n }\n\n onClick(e) {\n const { onClick } = this.props;\n e.stopPropagation();\n onClick();\n }\n\n selectFrame(e) {\n e.stopPropagation();\n const { frameless, selectFrame, selectNoFrame } = this.props;\n if (frameless) { selectFrame(); } else { selectNoFrame(); }\n }\n\n hasFrames() {\n const { paper } = this.props;\n return !!paper.options.find((f) => f.frameId);\n }\n\n renderAction() {\n const { frameless, skipSelectFrame } = this.props;\n if (skipSelectFrame) { return null; }\n const action = frameless\n ? '+ Add frame'\n : '- Remove frame';\n\n return (\n \n { action }\n \n );\n }\n\n renderActions() {\n const { paper, active } = this.props;\n if (paper.limitations) {\n return (\n
\n { paper.limitations }\n
\n );\n }\n return active && this.hasFrames() ? this.renderAction() : null;\n }\n\n render() {\n const {\n paper: {\n displayPaperWidth,\n displayPaperHeight,\n displayPrintWidth,\n displayPrintHeight,\n options,\n paperId,\n isHidden\n },\n active,\n currentPrice,\n currency,\n landscape\n } = this.props;\n\n const hiddenIcon = isHidden\n ? [ , ]\n : null;\n\n const price = active\n ? currentPrice.toFixed(2) || Math.abs(options[0].price).toFixed(2)\n : Math.abs(options[0].price).toFixed(2);\n\n return (\n
\n \n
\n \n { humanSize(landscape, displayPaperWidth, displayPaperHeight, 'X') }\n \n\n \n { `(image ${ humanSize(landscape, displayPrintWidth, displayPrintHeight, 'x') }${ window.currentLocale.unit })` }\n \n
\n
\n \n { `${ currency }${ price }` }\n { hiddenIcon }\n \n  \n
\n { this.renderActions() }\n
\n );\n }\n}\n\nexport default Header;\n","import React from 'react';\nimport T from 'prop-types';\nimport classnames from 'classnames';\nimport {\n frameShape\n} from 'arts/reducers/work';\n\nimport * as Classes from './styles.module.scss';\n\nconst Frame = ({\n data,\n onSelect,\n handleDragStart,\n selected\n}) => {\n const onClick = (e) => {\n e.preventDefault();\n onSelect(data);\n };\n\n const classname = classnames(\n Classes.frame, {\n [Classes.active]: selected\n }\n );\n\n return (\n \n
\n {\n
\n \n );\n};\n\nFrame.propTypes = {\n data: frameShape.isRequired,\n onSelect: T.func.isRequired,\n handleDragStart: T.func.isRequired,\n selected: T.bool\n};\n\nexport default Frame;\n","/* eslint-disable jsx-a11y/label-has-associated-control */\nimport React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport Radio from 'arts/components/Radio';\nimport * as Classes from './styles.module.scss';\n\nconst SelectPlexiGlass = ({ nonGlare, setNonGlare }) => {\n const onChange = (e) => setNonGlare(e.target.value === 'nonGlare');\n\n return (\n
\n \n \n
\n );\n};\n\nSelectPlexiGlass.propTypes = {\n nonGlare: PropTypes.bool,\n setNonGlare: PropTypes.func.isRequired\n};\n\nexport default SelectPlexiGlass;\n","import React, { PureComponent } from 'react';\nimport T from 'prop-types';\nimport AliceCarousel from 'react-alice-carousel';\nimport classnames from 'classnames';\nimport {\n paperShape,\n frameShape\n} from 'arts/reducers/work';\nimport Collapsible from 'arts/components/Collapsible';\nimport Header from './header';\nimport Frame from './frame';\n// eslint-disable-next-line import/named\nimport Mounts, {\n FULL_BLEED, MATTE, FLOAT_DECKLED, FLOAT_STRIGHT\n} from './mounts';\nimport SelectPlexiGlass from './select_plexi_glass';\nimport { aliceSliderSettins, handleDragStart } from '../slider_arrows';\nimport Warning from './warning';\nimport * as Classes from './styles.module.scss';\n\nconst groupBy = (xs, key) => xs.reduce((rv, x) => {\n // eslint-disable-next-line no-param-reassign\n rv[x[key]] = rv[x[key]] || [];\n rv[x[key]].push(x);\n return rv;\n}, {});\n\nconst generateUniqFrames = (options) => {\n const res = [];\n const groups = groupBy(options, 'frameName');\n const order = [MATTE, FULL_BLEED, FLOAT_DECKLED, FLOAT_STRIGHT];\n Object.keys(groups).forEach((k) => {\n const g = groups[k];\n for (let i = 0, l = order.length; i < l; i += 1) {\n const mount = order[i];\n const frame = g.find(f => f.mount === mount);\n if (frame) {\n res.push(frame);\n return;\n }\n }\n });\n return res;\n};\n\nconst hasMount = (options, mount, frameName) => !!options.find(\n i => i.mount === mount && i.frameName === frameName\n);\n\nclass Paper extends PureComponent {\n static propTypes = {\n data: paperShape.isRequired,\n setFrame: T.func.isRequired,\n setNonGlare: T.func.isRequired,\n selectedPaperId: T.number,\n selectedFrame: frameShape,\n currentPrice: T.number,\n currency: T.string,\n landscape: T.bool,\n updateHeader: T.func.isRequired,\n thumbnails: T.array,\n nonGlare: T.bool\n }\n\n constructor(props) {\n super(props);\n const {\n options\n } = props.data;\n\n this.state = {\n availableFrames: generateUniqFrames(options)\n };\n\n this.selectFrame = this.selectFrame.bind(this);\n this.setFrame = this.setFrame.bind(this);\n this.selectNoFrame = this.selectNoFrame.bind(this);\n this.selectFirstAvailableFrame = this.selectFirstAvailableFrame.bind(this);\n this.selectMount = this.selectMount.bind(this);\n this.renderFrame = this.renderFrame.bind(this);\n this.renderCollapsibleHeader = this.renderCollapsibleHeader.bind(this);\n }\n\n componentDidMount() {\n this.updateHeader();\n }\n\n componentDidUpdate() {\n this.updateHeader();\n }\n\n updateHeader() {\n this.props.updateHeader(this.props.data.paperId, this.renderCollapsibleHeader());\n }\n\n selectFrame(frame) {\n this.props.setFrame(this.props.data, frame);\n }\n\n selectFirstAvailableFrame() {\n this.props.setFrame(this.props.data, this.state.availableFrames[0]);\n this.props.setNonGlare(false);\n }\n\n selectNoFrame() {\n this.props.setFrame(this.props.data, this.props.data.options[0]);\n this.props.setNonGlare(false);\n }\n\n setFrameAndMount(frameName, mount) {\n if (frameName && mount) {\n let frame = this.props.data.options\n .find(i => i.mount === mount && i.frameName === frameName);\n if (frame) {\n this.selectFrame(frame);\n return;\n }\n // any mount\n frame = this.props.data.options.find(i => i.frameName === frameName);\n if (frame) {\n this.selectFrame(frame);\n this.props.setNonGlare(false);\n return;\n }\n this.selectFirstAvailableFrame();\n }\n }\n\n setFrame(frame) {\n const { mount } = this.props.selectedFrame;\n const { frameName } = frame;\n this.setFrameAndMount(frameName, mount);\n }\n\n selectMount(mount) {\n const { frameName } = this.props.selectedFrame;\n this.setFrameAndMount(frameName, mount);\n }\n\n renderCollapsibleHeader() {\n const {\n selectedPaperId,\n selectedFrame,\n landscape,\n data,\n currency\n } = this.props;\n\n const { isTapestry } = selectedFrame || {};\n\n return (\n \n );\n }\n\n renderFrame(frame, index) {\n const { frameName } = this.props.selectedFrame || {};\n return (\n \n );\n }\n\n renderAvailableFrames() {\n const categories = this.state.availableFrames\n .map((f) => f.frameCategory)\n .filter((value, index, self) => self.indexOf(value) === index)\n .sort();\n const res = categories.map((category) => {\n const frames = this.state.availableFrames.filter((f) => f.frameCategory === category);\n let frameDescription = null;\n let renderWarning = null;\n if (this.props.selectedFrame && this.props.selectedFrame.frameCategory === category) {\n const {\n frameName, frameDisplayWidth, frameDisplayDepth, warning, frameLabel, frameCategory\n } = this.props.selectedFrame;\n // this is tapestry\n const label = frameLabel === frameCategory ? '' : 'frame ';\n frameDescription = ` - ${ frameName }, ${ label }width ${ frameDisplayWidth }${ window.currentLocale.unit }, depth ${ frameDisplayDepth }`;\n renderWarning = ;\n }\n return (\n
\n
\n { category }\n { frameDescription }\n
\n { renderWarning }\n
\n { frames.map(this.renderFrame) }\n
\n
\n \n { frames.map(this.renderFrame) }\n \n
\n
\n );\n });\n return res;\n }\n\n render() {\n const {\n data, selectedFrame, thumbnails, nonGlare\n } = this.props;\n const {\n frameName, mount, nonGlarePrice, isTapestry\n } = selectedFrame || {};\n const uid = data.paperId;\n const collapsed = isTapestry ? false : (data.options.indexOf(this.props.selectedFrame) <= 0);\n\n const { url: previewUrl } = (thumbnails || []).find((t) => t.type === 'framed') || {};\n const withMatte = hasMount(data.options, MATTE, frameName) ? 1 : 0;\n const withFullBleed = hasMount(data.options, FULL_BLEED, frameName) ? 1 : 0;\n const withDckl = hasMount(data.options, FLOAT_DECKLED, frameName) ? 1 : 0;\n const withFltn = hasMount(data.options, FLOAT_STRIGHT, frameName) ? 1 : 0;\n\n const hasStep2 = (withMatte + withFullBleed + withDckl + withFltn) > 1;\n const step2 = hasStep2 ? (\n 0 }\n fullBleed={ withFullBleed > 0 }\n dckl={ withDckl > 0 }\n fltn={ withFltn > 0 }\n />\n ) : null;\n\n const step3 = hasStep2 && nonGlarePrice ? (\n
\n
\n Step 3 - \n Select UV Plexiglass\n
\n \n
\n ) : null;\n\n return (\n \n
\n
\n Step 1 - \n Select Moulding\n
\n { this.renderAvailableFrames() }\n
\n\n
\n
\n {\n previewUrl ? (\n \"\"\n ) : null\n }\n
\n
\n
\n Step 2 - \n Select Mount\n
\n { step2 }\n { step3 }\n
\n
\n \n );\n }\n}\n\nexport default Paper;\n","import React, { PureComponent } from 'react';\nimport T from 'prop-types';\nimport classnames from 'classnames';\nimport {\n paperShape\n} from 'arts/reducers/work';\n\nimport {\n selectionShape\n} from 'arts/reducers/selection';\n\nimport Paper from './paper';\nimport * as AppClasses from '../Application/styles.module.scss';\nimport * as Classes from './styles.module.scss';\n\n/* eslint-disable prefer-destructuring */\nconst findPaperAndFrame = (data, paperId, frameId) => {\n if (!data || data.length === 0) {\n return [null, null];\n }\n // // this.props.setFrame(nextProps.data[0], nextProps.data[0].options[0]);\n if (!paperId) {\n return [data[0], data[0].options[0]];\n }\n\n let paper = data.find((p) => p.paperId === paperId);\n if (!paper) {\n paper = data[0];\n }\n\n let frame = null;\n frame = paper.options.find((f) => f.frameId === frameId);\n if (!frame) {\n frame = paper.options[0];\n }\n\n return [paper, frame];\n};\n/* eslint-enable prefer-destructuring */\n\nclass PapersMenu extends PureComponent {\n static propTypes = {\n data: T.arrayOf(paperShape),\n setFrame: T.func.isRequired,\n setNonGlare: T.func.isRequired,\n selection: selectionShape.isRequired,\n resetSelection: T.func.isRequired,\n initialPaperId: T.number,\n initialFrameId: T.number,\n currentPrice: T.number,\n currency: T.string,\n landscape: T.bool.isRequired,\n nonGlare: T.bool,\n thumbnails: T.array\n };\n\n constructor(props) {\n super(props);\n\n this.state = { headers: {} };\n this.renderPaper = this.renderPaper.bind(this);\n this.updateHeader = this.updateHeader.bind(this);\n }\n\n componentDidMount() {\n const [paper, frame] = findPaperAndFrame(\n this.props.data || [],\n this.props.initialPaperId,\n this.props.initialFrameId\n );\n this.props.setFrame(paper, frame);\n }\n\n componentDidUpdate(prevProps) {\n const {\n data, initialPaperId, initialFrameId, setFrame\n } = this.props;\n const { data: dataWas } = prevProps;\n if ((dataWas || []).length === 0 && (data || []).length > 0) {\n const [paper, frame] = findPaperAndFrame(\n data || [],\n initialPaperId,\n initialFrameId\n );\n setFrame(paper, frame);\n }\n }\n\n componentWillUnmount() {\n this.props.resetSelection();\n }\n\n updateHeader(paperId, header) {\n this.setState((state) => {\n const headers = {\n ...state.headers,\n [paperId]: header\n };\n\n return {\n ...state,\n headers\n };\n });\n }\n\n renderPaper(data) {\n const {\n landscape, setFrame, setNonGlare, currentPrice, selection, thumbnails, currency, nonGlare\n } = this.props;\n const { frame, paper } = selection || {};\n const { paperId } = paper || {};\n return (\n \n );\n }\n\n renderHeaders() {\n if (!this.props.data || this.props.data.length === 0) {\n return (\n <>\n
 
\n
 
\n
 
\n \n );\n }\n const paperIds = this.props.data.map((v) => v.paperId);\n const res = [];\n paperIds.forEach((paperId) => {\n if (this.state.headers[paperId]) {\n res.push(this.state.headers[paperId]);\n }\n });\n return res;\n }\n\n render() {\n return (\n <>\n
select size:
\n { this.renderHeaders() }\n { this.props.data && this.props.data.length > 0 && this.props.data.map(this.renderPaper) }\n \n );\n }\n}\n\nexport default PapersMenu;\n","import { connect } from 'react-redux';\nimport {\n setFrame,\n resetSelection,\n setNonGlare\n} from 'arts/actions/selection';\nimport PapersMenu from './papers_menu';\nimport { currentPriceAndNonGlare } from '../AddToCart/add_to_cart';\n\nconst mapStateToProps = ({ selection, work: { thumbnails, data: { currency } } }) => ({\n selection,\n ...currentPriceAndNonGlare(selection, 'currentPrice'),\n thumbnails,\n currency\n});\n\nexport default connect(mapStateToProps, { setFrame, resetSelection, setNonGlare })(PapersMenu);\n","import React, { PureComponent } from 'react';\nimport T from 'prop-types';\nimport {\n thumbnailsShape\n} from 'arts/reducers/work';\nimport Entry from './entry';\n\nconst otherImageChanged = (prevThumbnails, thumbnails, prevSelectedIndex, selectedIndex) => {\n if (\n prevThumbnails[prevSelectedIndex] && thumbnails[selectedIndex]\n && prevThumbnails[prevSelectedIndex].type === thumbnails[selectedIndex].type\n && (\n prevThumbnails[prevSelectedIndex].type === 'second'\n || prevThumbnails[prevSelectedIndex].type === 'frame'\n )\n ) {\n return true;\n }\n return false;\n};\n\nexport default class Thumbnails extends PureComponent {\n static propTypes = {\n thumbnails: thumbnailsShape.isRequired,\n setFramePreview: T.func.isRequired,\n setOtherImage: T.func.isRequired\n };\n\n constructor(props) {\n super(props);\n this.onSelect = this.onSelect.bind(this);\n this.state = { selectedIndex: 0 };\n }\n\n componentDidUpdate(prevProps, prevState) {\n if (otherImageChanged(\n prevProps.thumbnails, this.props.thumbnails,\n prevState.selectedIndex, this.state.selectedIndex\n )\n ) {\n this.props.setOtherImage(this.props.thumbnails[this.state.selectedIndex].url);\n }\n }\n\n onSelect(selectedIndex) {\n this.setState({ selectedIndex });\n if (this.props.thumbnails[selectedIndex].selection) {\n const { paper, frame } = this.props.thumbnails[selectedIndex].selection;\n this.props.setFramePreview(paper, frame);\n } else {\n this.props.setOtherImage(this.props.thumbnails[selectedIndex].url);\n }\n }\n\n render() {\n if (this.props.thumbnails.length < 1) {\n return null;\n }\n\n return (\n <>\n {\n this.props.thumbnails.map((e, index) => (\n \n ))\n }\n \n );\n }\n}\n","import React from 'react';\n\nconst SvgComponent = (props) => (\n \n \n \n \n \n);\n\nexport default SvgComponent;\n","import React from 'react';\nimport { Loader } from 'semantic-ui-react';\nimport PropTypes from 'prop-types';\nimport {\n paperShape,\n frameShape,\n workShape\n} from 'arts/reducers/work';\nimport * as Classes from './styles.module.scss';\nimport PaperView from './paper_view';\nimport { calculatePaperProps, calculateFrameThickness } from './utils';\n\nconst renderFrame = (frame, { imageUrl, title, landscape }) => {\n const {\n frameWidth, frameHeight, frameMat, frameThickness, zoomPreviewUrl, frameLargeImageUrl, mount,\n isTapestry\n } = frame;\n const thicknessV = isTapestry && landscape ? 0 : frameThickness;\n const thicknessH = isTapestry && !landscape ? 0 : frameThickness;\n const { width, borderH, borderW } = calculatePaperProps({\n paperHeight: frameHeight + ((thicknessH + frameMat) * 2),\n paperWidth: frameWidth + ((thicknessV + frameMat) * 2),\n printHeight: frameHeight,\n printWidth: frameWidth,\n landscape\n });\n const ftH = calculateFrameThickness(\n frameWidth + ((thicknessH + frameMat) * 2), 2 * thicknessH\n ) / 2;\n const ftV = calculateFrameThickness(\n frameHeight + ((thicknessV + frameMat) * 2), 2 * thicknessV\n ) / 2;\n const paperProps = {\n width,\n borderH,\n borderW,\n imageUrl,\n title,\n zoomPreviewUrl,\n backgroundImage: frameLargeImageUrl,\n frameThicknessH: ftH,\n frameThicknessV: ftV,\n mount,\n isTapestry\n };\n return (\n \n );\n};\n\nconst renderNoFrame = (paper, zoomPreviewUrl, { imageUrl, title, landscape }) => {\n const {\n paperHeight, paperWidth, printHeight, printWidth\n } = paper;\n const { width, borderH, borderW } = calculatePaperProps({\n paperHeight, paperWidth, printHeight, printWidth, landscape\n });\n const paperProps = {\n width, borderH, borderW, imageUrl, title, zoomPreviewUrl\n };\n return ;\n};\n\nconst ImagePreview = ({\n selectedFrame,\n selectedPaper,\n data,\n otherImageUrl\n}) => {\n const { zoomPreviewUrl: zoomPreviewUrlUsed } = selectedFrame || {};\n let content = null;\n\n if (otherImageUrl) {\n content = (\n
\n \"\"\n
\n );\n } else {\n const paper = selectedPaper || data.firstPaper;\n if (!paper) {\n content = ;\n } else if (!selectedFrame || !selectedFrame.frame) {\n content = renderNoFrame(paper, zoomPreviewUrlUsed, data);\n } else {\n content = renderFrame(selectedFrame, data);\n }\n }\n\n return (\n
\n { content }\n
\n );\n};\n\nImagePreview.propTypes = {\n selectedFrame: frameShape,\n selectedPaper: paperShape,\n data: workShape,\n otherImageUrl: PropTypes.string\n};\n\nexport default ImagePreview;\n","import React, { useMemo } from 'react';\nimport PropTypes from 'prop-types';\nimport AliceCarousel from 'react-alice-carousel';\nimport { useWindowSize } from '../visual_search/use_window_size';\nimport * as Classes from '../works/styles.module.scss';\nimport ImagePreview from './image_preview';\n\nconst { w1 } = Classes;\nconst mobileBreak = parseInt(w1, 10);\n\nconst ImagePreviewSwitcher = ({ secondPreviewUrl, otherImageUrl, ...props }) => {\n const { width } = useWindowSize();\n const showCarousel = useMemo(\n () => secondPreviewUrl && width <= mobileBreak,\n [width, secondPreviewUrl]\n );\n if (showCarousel) {\n return (\n \n \n
\n \"preview\"\n
\n \n );\n }\n return ;\n};\n\nImagePreviewSwitcher.propTypes = {\n secondPreviewUrl: PropTypes.string,\n otherImageUrl: PropTypes.string\n};\n\nexport default ImagePreviewSwitcher;\n","import React from 'react';\nimport T from 'prop-types';\nimport PreviewModal from './preview_modal';\nimport * as Classes from './styles.module.scss';\nimport * as ModalClasses from '../Modal/styles.module.scss';\n\nconst silhouette = require('./silhouette-2.png');\n\nconst sizeX = 234.4;\nconst sizeY = 139.95;\n\nconst calculateStyle = (width, height) => ({\n width: `${ (100 * width / sizeX) }%`,\n height: `${ (100 * height / sizeY) }%`,\n position: 'absolute',\n marginLeft: `-${ (50 * width / sizeX) }%`,\n marginTop: `-${ (50 * height / sizeY) }%`,\n left: '50%',\n top: '50%'\n});\n\nconst ScaleModal = ({\n img, onHide, previewWidth2, previewHeight2\n}) => (\n \n
\n \"\"\n
\n
\n);\n\nScaleModal.propTypes = {\n img: T.string,\n onHide: T.func,\n previewWidth2: T.number,\n previewHeight2: T.number\n};\n\nexport default ScaleModal;\n","import React, { useState, useMemo } from 'react';\nimport PropTypes from 'prop-types';\nimport ScaleIcon from './scale_icon';\nimport ScaleModal from './scale_modal';\n\nconst ShowToScale = ({\n smallPreviewUrl,\n previewWidth2,\n previewHeight2\n}) => {\n const [visible, setVisible] = useState(null);\n const hide = () => setVisible(false);\n\n const show = () => {\n if (smallPreviewUrl && previewWidth2) {\n setVisible(true);\n }\n };\n\n const modal = useMemo(() => (\n visible ? (\n \n ) : null\n ), [visible, smallPreviewUrl, previewWidth2, previewHeight2]);\n\n return (\n <>\n { modal }\n \n \n );\n};\n\nShowToScale.propTypes = {\n smallPreviewUrl: PropTypes.string,\n previewWidth2: PropTypes.number,\n previewHeight2: PropTypes.number\n};\n\nexport default ShowToScale;\n","import React from 'react';\nimport T from 'prop-types';\nimport classnames from 'classnames';\nimport { Link } from 'react-router-dom';\nimport {\n paperShape,\n frameShape,\n workShape,\n thumbnailsShape\n} from 'arts/reducers/work';\n\nimport * as AppClasses from '../Application/styles.module.scss';\nimport * as Classes from './styles.module.scss';\nimport Thumbnails from './thumbnails';\nimport SimilarItems from '../similar_items';\nimport Box from './box';\n// import ImagePreview from './image_preview';\nimport ImagePreviewSwitcher from './image_preview_switcher';\nimport ShowToScale from './show_to_scale';\nimport ZoomIn from './zoom_in';\n\nconst Viewer = ({\n selectedFrame,\n selectedPaper,\n data,\n thumbnails,\n setOtherImage,\n setFramePreview,\n otherImageUrl,\n extraContent\n}) => {\n const {\n previewWidth2,\n previewHeight2,\n zoomPreviewUrl: zoomPreviewUrlUsed,\n imageUrl: smallPreviewUrlUsed\n } = selectedFrame || {};\n\n const {\n id, hasWalls, skipMoreLikeThis, secondPreviewUrl\n } = data;\n\n const rollOver = (\n
\n {\n (id && zoomPreviewUrlUsed && !otherImageUrl) ? 'Roll Over to Zoom' : null\n }\n  \n
\n );\n\n const similarItems = id && !skipMoreLikeThis ? (\n \n ) : null;\n\n const artOnWall = id && hasWalls ? (\n \n \n Walls With This Art\n \n ) : null;\n\n return (\n
\n
\n \n \n { similarItems }\n { artOnWall }\n
\n
\n \n \n \n
\n { rollOver }\n { extraContent }\n
\n
\n );\n};\n\nViewer.propTypes = {\n id: T.number.isRequired,\n selectedFrame: frameShape,\n selectedPaper: paperShape,\n hasSelection: T.bool,\n data: workShape,\n thumbnails: thumbnailsShape,\n setOtherImage: T.func.isRequired,\n setFramePreview: T.func.isRequired,\n otherImageUrl: T.string,\n extraContent: T.node\n};\n\nexport default Viewer;\n","import { connect } from 'react-redux';\nimport {\n setFramePreview,\n setOtherImage\n} from 'arts/actions/selection';\nimport Viewer from './viewer';\n\nconst mapStateToProps = ({ selection, work: { data, thumbnails } }) => ({\n selectedFrame: selection.frame,\n selectedPaper: selection.paper,\n otherImageUrl: selection.otherImageUrl,\n hasSelection: Boolean(selection.frame && selection.paper),\n data,\n thumbnails\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n setFramePreview: (paper, frame) => dispatch(setFramePreview(paper, frame)),\n setOtherImage: (url) => dispatch(setOtherImage(url))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Viewer);\n","import React from 'react';\nimport classnames from 'classnames';\nimport T from 'prop-types';\nimport { Link } from 'react-router-dom';\nimport PinIt from 'arts/components/Social/pin_it';\nimport * as AppClasses from '../Application/styles.module.scss';\nimport * as Classes from './styles.module.scss';\nimport Favorite from '../favorite';\n\nexport const author = (authorId, authorSlug, authorName, isMobile) => {\n if (!authorName || !authorId) {\n return (\n \n  \n

\n );\n }\n return (\n

\n By \n \n { authorName }\n \n

\n );\n};\n\nconst adminLink = (id) => (window.hasELinks ? (\n <>\n Admin\n
\n \n) : null);\n\nexport const renderTitle = (isHidden, title, id) => {\n const hiddenIcon = isHidden ? [\n ,\n  \n ] : null;\n return (\n

\n { hiddenIcon }\n { title }\n  \n { adminLink(id) }\n

\n );\n};\n\nconst renderPrintedOn = (printedOn, limitedEdition) => (\n

\n Printed on \n { printedOn || '...'}\n { limitedEdition ? '' : (printedOn && ' (Open Edition)') }\n

\n);\n\nconst WorkSummary = ({\n title,\n authorName,\n authorId,\n authorSlug,\n description,\n printedOn,\n limitedEdition,\n isHidden,\n id,\n frameId,\n paperId,\n href,\n isMobile\n}) => {\n const theTitle = (\n
\n { renderTitle(isHidden, title, id) }\n
\n {\n href ? (\n \n ) : null\n }\n { id ? () : null }\n
\n
\n );\n\n const s1 = isMobile ? (\n
\n { theTitle }\n { author(authorId, authorSlug, authorName, true) }\n
\n ) : null;\n\n const s2 = isMobile ? null : (\n <>\n
\n { theTitle }\n { author(authorId, authorSlug, authorName, false) }\n
\n
\n

\n { description }\n  \n

\n { renderPrintedOn(printedOn, limitedEdition) }\n
\n \n );\n\n return (\n <>\n { s1 }\n { s2 }\n \n );\n};\n\nWorkSummary.propTypes = {\n id: T.number,\n frameId: T.number,\n paperId: T.number,\n title: T.string,\n authorName: T.string,\n authorId: T.number,\n authorSlug: T.string,\n description: T.string,\n printedOn: T.string,\n limitedEdition: T.bool,\n isHidden: T.bool,\n href: T.string,\n isMobile: T.bool\n};\n\nexport default WorkSummary;\n","import { connect } from 'react-redux';\nimport AddToCart from './smart_add_to_cart';\nimport { currentPriceAndNonGlare } from './add_to_cart';\n\nconst mapStateToProps = ({ selection, work }) => ({\n ...currentPriceAndNonGlare(selection, 'price'),\n inStock: work && work.data ? work.data.inStock : null,\n selection: !!selection.frame,\n frameId: selection && selection.frame && selection.frame.frameId,\n workId: work && work.data && work.data.id,\n paperId: selection && selection.paper && selection.paper.paperId,\n currency: work.data.currency\n});\n\nconst mapDispatchToProps = () => ({});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AddToCart);\n","import React from 'react';\nimport T from 'prop-types';\nimport * as Classes from './styles.module.scss';\n\nconst Entry = ({ label, value }) => (\n
\n
\n { label }\n :\n
\n
\n { value }\n
\n
\n);\n\nEntry.propTypes = {\n label: T.string,\n value: T.string\n};\n\nexport default Entry;\n","// extracted by mini-css-extract-plugin\nvar _1 = \"csGzcl2tkRzYoCzC4PxS\";\nvar _2 = \"R2BOgqLAdpOWbNvET40w\";\nvar _3 = \"_4qkYw9o6IFbGG0vbKNwn\";\nexport { _1 as \"entry\", _2 as \"label\", _3 as \"value\" }\n","import React from 'react';\nimport T from 'prop-types';\nimport {\n frameShape,\n paperShape\n} from 'arts/reducers/work';\nimport Constants, { TAPESTRY } from 'arts/config/constants';\nimport { humanSize } from 'arts/config/lib';\nimport Entry from './entry';\nimport Expandable from '../expandable';\n\nconst PRODUCT_DETAILS = 'Product Details and Dimensions';\n\nconst title = (frame, paper) => {\n if (paper.paperMaterial === 'Canvas') {\n return `Canvas ${ PRODUCT_DETAILS }`;\n }\n\n if (frame.frameId) {\n if (paper.paperMaterial !== TAPESTRY) {\n return `Framed ${ PRODUCT_DETAILS }`;\n }\n }\n\n return PRODUCT_DETAILS;\n};\n\nexport const renderDetailEtries = (frame, paper, landscape) => {\n const entries = [];\n let sizes = null;\n if (frame.frameId && frame.frameMat === 0) {\n sizes = `${ humanSize(landscape, paper.displayPrintWidthNoMat, paper.displayPrintHeightNoMat, 'x') }${ window.currentLocale.unit }`;\n } else {\n sizes = `${ humanSize(landscape, paper.displayPrintWidth, paper.displayPrintHeight, 'x') }${ window.currentLocale.unit }`;\n }\n entries.push();\n if (frame.frameId) {\n entries.push();\n entries.push();\n if (paper.paperMaterial !== TAPESTRY) {\n entries.push();\n }\n const finalSize = paper.paperMaterial === TAPESTRY ? 'Final Size' : 'Final Framed Size';\n entries.push();\n } else if (paper.paperMaterial === 'Canvas') {\n entries.push();\n } else {\n entries.push();\n }\n return entries;\n};\n\nconst SelectionDetails = ({\n frame, paper, hasSelection, landscape\n}) => {\n if (!hasSelection) { return null; }\n\n return (\n \n { renderDetailEtries(frame, paper, landscape) }\n \n );\n};\n\nSelectionDetails.propTypes = {\n paper: paperShape,\n frame: frameShape,\n hasSelection: T.bool,\n landscape: T.bool\n};\n\nexport default SelectionDetails;\n","import { connect } from 'react-redux';\nimport SelectionDetails from './selection_details';\n\nconst mapStateToProps = ({ selection, work }) => {\n const { landscape } = ((work || {}).data || {}) || {};\n return {\n ...selection,\n hasSelection: !!selection.frame,\n landscape\n };\n};\n\nconst mapDispatchToProps = () => ({});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(SelectionDetails);\n","import React from 'react';\nimport T from 'prop-types';\nimport Expandable from 'arts/components/expandable';\nimport Constants, { CANVAS /* , TAPESTRY */ } from 'arts/config/constants';\n\nconst AdditionalInfo = ({\n aboutPaper, paperMaterial, withFrame\n}) => {\n const lines = aboutPaper || [];\n if (paperMaterial === CANVAS && withFrame) {\n lines.push('A space 1/8\" wide between the canvas and the moulding');\n }\n\n return (\n \n
\n {\n lines.map((l, i) => (\n
\n -\n {' '}\n {l}\n
\n ))\n }\n \n As our prints and frames are custom made to order according to your\n specifications, all of our products are final sale and non-returnable.\n \n
\n
\n );\n};\n\nAdditionalInfo.propTypes = {\n withFrame: T.bool,\n paperMaterial: T.string,\n aboutPaper: T.arrayOf(T.string)\n};\n\nexport default AdditionalInfo;\n","import { connect } from 'react-redux';\nimport AdditionalInfo from './additional_info';\n\nconst mapStateToProps = ({ selection, work }) => ({\n withFrame: !!(selection.frame || {}).frameId,\n paperMaterial: (\n work.data\n && work.data.workSizes\n && work.data.workSizes[0]\n && work.data.workSizes[0].paperMaterial\n ),\n aboutPaper: work.data && work.data.aboutPaper\n});\n\nconst mapDispatchToProps = () => ({});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(AdditionalInfo);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport Expandable from 'arts/components/expandable';\nimport Constants from 'arts/config/constants';\nimport { shippingDetailsItems } from 'arts/components/extra_info/shipping_details';\nimport { mat } from 'arts/components/PapersMenu/mounts';\nimport { CANVAS, TAPESTRY } from '../../config/constants';\n\nconst ExtraInfo = ({ aboutPrints, selection }) => {\n // if (!selection || !selection.paper) return null;\n\n const { currentLocale } = window.currentLocale;\n const isUK = currentLocale === 'uk';\n\n let frameDetails = null;\n\n switch (selection && selection.paper && selection.paper.paperMaterial) {\n case TAPESTRY:\n frameDetails = (\n \n

\n Our tapestries are anchored with a hanging rod on the top and one on the bottom.\n All of our hanging rods are made from wood.\n

\n
\n );\n break;\n case CANVAS:\n frameDetails = (\n \n {\n isUK ? (\n

\n Canvas prints do not require a hanging wire and can be hung\n directly on a screw or nail.\n

\n ) : (\n

\n Our canvas prints are professionally framed with a woodgrain frame,\n designed specifically for framing canvas. The frame has a stepped inner\n edge to add subtle depth, and comes ready to hang with a hanging wire.\n

\n )\n }\n
\n );\n break;\n default: {\n const plexiGlass = isUK ? 'plexi-glass' : 'an archival UV plexi-glass';\n frameDetails = (\n \n

\n Our fine art paper prints and photographs are professionally framed\n with \n { plexiGlass }\n , and come ready to hang on your wall\n with a hanging wire. Prints can be framed with a \n { mat() }\n  white mat,\n or without.\n

\n
\n );\n break;\n }\n }\n\n return (\n
\n \n {\n (aboutPrints || []).map((v, i) => (\n

{ v }

\n ))\n }\n
\n { frameDetails }\n \n { shippingDetailsItems() }\n \n
\n );\n};\n\nExtraInfo.propTypes = {\n selection: PropTypes.object,\n aboutPrints: PropTypes.arrayOf(PropTypes.string)\n};\n\nexport default ExtraInfo;\n","import { connect } from 'react-redux';\nimport ExtraInfo from './extra_info';\n\nconst mapStateToProps = ({ selection, work }) => ({\n selection,\n aboutPrints: work.data && work.data.aboutPrints\n});\n\nconst mapDispatchToProps = () => ({});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(ExtraInfo);\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport Constants from 'arts/config/constants';\nimport Expandable from '../expandable';\nimport * as Classes from './styles.module.scss';\n\nconst AboutTheArt = ({\n description, printedOn, limitedEdition\n}) => (\n \n
\n

{ description }

\n

\n Printed on \n { printedOn }\n { limitedEdition ? '' : ' (Open Edition)' }\n

\n
\n \n);\n\nAboutTheArt.propTypes = {\n description: PropTypes.string,\n printedOn: PropTypes.string,\n limitedEdition: PropTypes.bool\n};\n\nexport default AboutTheArt;\n","import React, { useEffect } from 'react';\nimport T from 'prop-types';\nimport classnames from 'classnames';\nimport { Link } from 'react-router-dom';\nimport { frameShape, workShape } from 'arts/reducers/work';\nimport { toCamelCase } from 'arts/config/convertCase';\nimport { linkTo } from 'arts/config/lib';\nimport { trackEvent } from 'arts/config/analytics';\nimport MoreDetails from './more_details';\nimport PapersMenu from '../PapersMenu';\nimport Viewer from '../Viewer';\nimport WorkSummary from '../WorkSummary';\nimport AddToCart from '../AddToCart';\nimport SelectionDetails from '../selection_details';\nimport AdditionalInfo from '../additional_info';\nimport ExtraInfo from '../extra_info';\nimport BreadCrumbs from './bread_crumbs';\nimport AboutTheArt from './about_the_art';\nimport GTMPageView, { GtmDetails } from '../Application/data_layer';\n\nimport * as AppClasses from '../Application/styles.module.scss';\nimport * as Classes from './styles.module.scss';\n\nconst Work = ({\n id,\n detail,\n fetchWork,\n data,\n modal,\n paperId,\n frameId,\n selectedFrame,\n selectedPaper\n}) => {\n useEffect(() => {\n const details = detail || (window.arts && toCamelCase(window.arts[id])) || {};\n fetchWork(id, details);\n }, [id]);\n\n let papers = null;\n const {\n title, authorName, authorId, authorSlug, description, aboutPaper,\n limitedEdition, isHidden, href,\n notAvailable, allowStores, storeItemId, aboutTheAuthor,\n workSizes, landscape\n } = data;\n\n useEffect(() => {\n if (id && title && authorId) {\n trackEvent('art page', {\n 'work id': id,\n 'author id': authorId,\n name: title,\n 'author name': authorName,\n display: (modal ? 'modal' : 'page')\n });\n }\n }, [id, title, authorId]);\n\n if (notAvailable && !isHidden) {\n papers = (\n
This art is no longer available
\n );\n } else {\n papers = (\n \n );\n }\n\n const breadCrumbs = modal\n ? null\n : (\n \n );\n\n const {\n price: retailPrice, gtmVariant, frameId: selectedFrameId\n } = selectedFrame || {};\n\n const { paperId: selectedPaperId } = selectedPaper || {};\n\n const summaryProps = {\n title,\n authorName,\n authorId,\n authorSlug,\n description,\n printedOn: aboutPaper ? aboutPaper[0] : '',\n limitedEdition,\n isHidden,\n id,\n href,\n frameId: selectedFrameId,\n paperId: selectedPaperId\n };\n\n const aboutProps = { ...summaryProps, description };\n\n const addRemoveFromStore = allowStores && !notAvailable;\n\n let fullDetails = null;\n let moreDetails = {\n name: authorName,\n about: aboutTheAuthor\n };\n\n if (authorId) {\n if (!modal && id) {\n moreDetails = {\n ...moreDetails,\n artistId: authorId,\n id\n };\n }\n fullDetails = modal ? (\n View Full Details\n ) : null;\n }\n\n const gtmDetailsData = {\n id, title, firstPaper: { retailPrice, gtmVariant }, authorName\n };\n\n return (\n
\n { id ? : null }\n { retailPrice && title ? : null }\n { breadCrumbs }\n
\n \n \n \n
\n \n
\n );\n};\n\nWork.propTypes = {\n id: T.number.isRequired,\n detail: T.shape({}),\n fetchWork: T.func.isRequired,\n data: workShape,\n modal: T.bool,\n paperId: T.number,\n frameId: T.number,\n selectedFrame: frameShape,\n selectedPaper: T.shape({})\n};\n\nexport default Work;\n","import { connect } from 'react-redux';\nimport { fetchWork } from 'arts/actions/work';\nimport Work from './work';\n\nconst findWorkDetails = (works, id, detail) => (\n detail || ((works || {}).collection || []).find(w => w.id === id)\n);\n\nconst mapStateToProps = ({ selection, works, work: { data, error, loading } }, { id, detail }) => ({\n data,\n error,\n loading,\n selectedFrame: (selection || {}).frame,\n selectedPaper: (selection || {}).paper,\n otherImageUrl: (selection || {}).otherImageUrl,\n detail: findWorkDetails(works, id, detail)\n});\n\nconst mapDispatchToProps = (dispatch) => ({\n fetchWork: (id, detail) => { dispatch(fetchWork(id, detail)); }\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Work);\n","// extracted by mini-css-extract-plugin\nvar _1 = \"mmhr4PYiH1kAgbPb3Zw7\";\nvar _2 = \"wmyG9E90WXyuLmgpgBPn\";\nexport { _1 as \"links\", _2 as \"root\" }\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport { Link } from 'react-router-dom';\nimport classnames from 'classnames';\nimport * as Classes from './styles.module.scss';\n\nconst renderLink = (text, to, index, isLast) => (\n isLast ? (\n \n { text }\n \n ) : [\n (\n \n { text }\n \n ),\n (\n /\n )\n ]\n);\n\nexport const BreadCrumbsSkeleton = () => (\n
\n
\n  \n
\n
\n);\n\nconst BreadCrumbs = ({\n links, className, rootClassName, children\n}) => (\n
\n
\n {\n links.map(\n ({ text, to }, index) => renderLink(text, to, index, index === links.length - 1)\n )\n }\n
\n { children }\n
\n);\n\nBreadCrumbs.propTypes = {\n links: PropTypes.arrayOf(PropTypes.shape({\n text: PropTypes.string,\n to: PropTypes.string.isRequired\n })).isRequired,\n children: PropTypes.node,\n className: PropTypes.string,\n rootClassName: PropTypes.string\n};\n\nexport default BreadCrumbs;\n","import React, { PureComponent } from 'react';\nimport classnames from 'classnames';\nimport T from 'prop-types';\nimport Collapsible from 'arts/components/Collapsible';\nimport * as Classes from './styles.module.scss';\n\nexport default class Expandable extends PureComponent {\n static propTypes = {\n title: T.string.isRequired,\n children: T.node.isRequired,\n eKey: T.string.isRequired,\n open: T.bool.isRequired,\n expand: T.func.isRequired,\n className: T.string\n };\n\n toggle = (e) => {\n const { eKey, expand } = this.props;\n e.preventDefault();\n expand(eKey);\n }\n\n render() {\n const {\n className, open, title, children\n } = this.props;\n return (\n
\n \n \n { title }\n \n \n
\n { children }\n
\n
\n
\n );\n }\n}\n","// extracted by mini-css-extract-plugin\nvar _1 = \"BCL2ds2XnYdF3lJ5DJD7\";\nvar _2 = \"kHNVWMauXQAJVKfooo4c\";\nvar _3 = \"SmztE1_oVRHMyb1os4BA\";\nvar _4 = \"RGznuVimqTJ3ln2AhELi\";\nexport { _1 as \"content\", _2 as \"expandable\", _3 as \"open\", _4 as \"triangle\" }\n","import { connect } from 'react-redux';\nimport { expand } from 'arts/actions/expand';\nimport Expandable from './expandable';\n\nconst mapStateToProps = ({ expandable }, { eKey }) => ({\n open: !!expandable[eKey]\n});\n\nconst mapDispatchToProps = (dispatch, { eKey }) => ({\n expand: () => dispatch(expand(eKey))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Expandable);\n","import Constants from 'arts/config/constants';\n\nexport const expand = (key) => ({\n type: Constants.Expandable.ACTIONS.expand,\n key\n});\n","import React from 'react';\n\nexport default (props) => (\n \n \n \n);\n","import React from 'react';\n\nexport default (props) => (\n \n \n \n);\n","// extracted by mini-css-extract-plugin\nvar _1 = \"aFSN3O2Qhh4FqjePRYT3\";\nvar _2 = \"aaRM_DpYs_hBjAzZpxKT\";\nvar _3 = \"qOQrvfHpzEjJUcg06NLp\";\nexport { _1 as \"button\", _2 as \"off\", _3 as \"on\" }\n","import React, { useEffect } from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport HeartE from './heart_e';\nimport HeartF from './heart_f';\nimport * as classes from './styles.module.scss';\n\nconst Favorite = ({\n id,\n type,\n isAdded,\n add,\n remove,\n load,\n loading,\n loaded,\n className\n}) => {\n useEffect(() => {\n if (!loaded && !loading) {\n load();\n }\n }, []);\n\n if (!window.currentUser) {\n const onSignIn = () => {\n const event = new CustomEvent('LoginRequiredFavroutes');\n document.dispatchEvent(event);\n };\n\n return (\n \n );\n }\n\n if (!loaded) {\n return null;\n }\n\n const onClick = () => {\n if (isAdded) {\n remove(id, type);\n } else {\n add(id, type);\n }\n };\n\n const icon = isAdded ? : ;\n\n return (\n \n { icon }\n \n );\n};\n\nFavorite.propTypes = {\n id: PropTypes.number.isRequired,\n type: PropTypes.string.isRequired,\n\n isAdded: PropTypes.bool,\n\n add: PropTypes.func.isRequired,\n remove: PropTypes.func.isRequired,\n load: PropTypes.func.isRequired,\n\n loading: PropTypes.bool.isRequired,\n loaded: PropTypes.bool.isRequired,\n\n className: PropTypes.string\n};\n\nexport default Favorite;\n","import { createSelector } from 'reselect';\n\nconst getFavories = ({ favorites }) => favorites;\n\nconst getProps = (_, { id, type }) => ({ type, id });\n\nexport const fetchFavorites = createSelector(\n [getFavories, getProps],\n (favorites, { id, type }) => {\n const { loaded, loading, ...rest } = favorites;\n const res = {\n loaded,\n loading\n };\n const favorite = (rest[type] || {})[id];\n if (favorite) {\n res.isAdded = true;\n }\n return res;\n }\n);\n","import { connect } from 'react-redux';\nimport Favorite from './favorite';\nimport { add, remove, load } from '../../actions/favorites';\nimport { fetchFavorites } from '../../selectors/favorite';\n\nconst mapStateToProps = (state, props) => fetchFavorites(state, props);\n\nexport default connect(mapStateToProps, { add, remove, load })(Favorite);\n","// extracted by mini-css-extract-plugin\nvar _1 = \"n7_DcyVfnVhTplui9ECo\";\nvar _2 = \"170px\";\nvar _3 = \"2px\";\nvar _4 = \"aTjoUMRu2oXLVIg7ATCa\";\nvar _5 = \"WOaOyxff3ZvZRuDOqOql\";\nexport { _1 as \"extended\", _2 as \"imageheight\", _3 as \"imagepadding\", _4 as \"images\", _5 as \"item\" }\n","import React, { useRef } from 'react';\nimport PropTypes from 'prop-types';\nimport AliceCarousel from 'react-alice-carousel';\nimport classnames from 'classnames';\nimport { Link } from 'react-router-dom';\nimport { linkTo } from 'arts/config/lib';\nimport { aliceSliderSettins, handleDragStart } from 'arts/components/slider_arrows';\nimport * as Classes from './styles.module.scss';\nimport { onWorkItems, onWorkClick } from '../../config/analytics';\nimport { renderText } from '../ArtistWorks/artist_details';\n\n// see imageheight, imagepadding in styles\nconst { imagepadding, imageheight } = Classes;\n\nexport const calculateWith = (imageWidth, imageHeight) => (\n imageWidth * (parseInt(imageheight, 10) / imageHeight) + 2 * parseInt(imagepadding, 10)\n);\n\nexport const WorkImage = ({\n imgUrl,\n imageHeight,\n imageWidth,\n title,\n href,\n onClick,\n index\n}) => {\n const width = calculateWith(imageWidth, imageHeight);\n const style = { width };\n const onItemClick = () => onClick(index);\n return (\n \n {\n \n );\n};\n\nWorkImage.propTypes = {\n imgUrl: PropTypes.string,\n imageHeight: PropTypes.number,\n imageWidth: PropTypes.number,\n href: PropTypes.string,\n title: PropTypes.string,\n onClick: PropTypes.func,\n index: PropTypes.number.isRequired\n};\n\nconst SmallItemsCarousel = ({\n items, title, onClick, renderItem, gtmListName, extended\n}) => {\n const ref = useRef(null);\n\n const className = classnames(Classes.images, { [Classes.extended]: extended });\n\n if (!renderItem && (!items || !items.length)) {\n return renderText(title,
, true);\n }\n\n const onItemClick = (position) => {\n onWorkClick(items[position], 'product', gtmListName, position);\n if (onClick) { onClick(); }\n };\n\n const content = renderItem ? items.map(renderItem) : items.map((i, index) => (\n \n ));\n\n const findVisible = () => {\n const visibleIndexes = [];\n if (ref.current) {\n const parent = ref.current.getElementsByClassName('alice-carousel')[0];\n if (!parent) { return []; }\n const { left: parentLeft, right: parentRight } = parent.getBoundingClientRect();\n const elements = ref.current.getElementsByClassName('alice-carousel__stage-item');\n for (let i = 0, l = elements.length; i < l; i += 1) {\n const { left, right } = elements[i].getBoundingClientRect();\n const isVisible = left >= parentLeft && right <= parentRight;\n if (isVisible) {\n visibleIndexes.push(i);\n }\n }\n }\n return visibleIndexes;\n };\n\n const reportVisible = () => {\n const works = findVisible().map(i => items[i]);\n if (works.length) {\n onWorkItems({ items: works, listName: gtmListName, pageType: 'product' });\n }\n };\n\n const images = (\n
\n \n
\n );\n\n return renderText(title, images, true);\n};\n\nSmallItemsCarousel.propTypes = {\n items: PropTypes.arrayOf(PropTypes.shape({\n imgUrl: PropTypes.string,\n imageHeight: PropTypes.number,\n imageWidth: PropTypes.number,\n href: PropTypes.string,\n title: PropTypes.string\n })),\n title: PropTypes.oneOfType([PropTypes.node, PropTypes.string]),\n onClick: PropTypes.func,\n renderItem: PropTypes.func,\n gtmListName: PropTypes.string,\n extended: PropTypes.bool\n};\n\nexport default SmallItemsCarousel;\n","import Constants from 'arts/config/constants';\nimport { addToStoreItemsApi, removeFromStoreItemsApi } from 'arts/config/api';\n\nexport const updateUI = (totalItems) => {\n document.querySelector('.my-store-status strong').innerHTML = totalItems;\n};\n\nexport const add = (opts) => (dispatch) => {\n addToStoreItemsApi(opts)\n .then(\n (data) => {\n if (!data) { return; }\n const { id, storableId, totalItems } = data;\n dispatch({\n storeItemId: id,\n wallId: storableId,\n type: Constants.WallStoreItems.ADDED\n });\n updateUI(totalItems);\n }\n ).catch(() => { });\n};\n\nexport const remove = (wallId, storeItemId) => (dispatch) => {\n removeFromStoreItemsApi(storeItemId)\n .then(\n (data) => {\n if (!data) { return; }\n const { totalItems } = data;\n dispatch({\n wallId,\n type: Constants.WallStoreItems.REMOVED\n });\n updateUI(totalItems);\n }\n ).catch(() => { });\n};\n","import React from 'react';\nimport PropTypes from 'prop-types';\nimport classnames from 'classnames';\nimport * as Classes from './styles.module.scss';\n\nconst StoreItem = ({\n wallId,\n workId,\n storeItemId,\n add,\n remove,\n className,\n paperId,\n frameId\n}) => {\n const onAction = (e) => {\n e.preventDefault();\n if (storeItemId) {\n const id = wallId || workId;\n remove(id, storeItemId);\n return;\n }\n const props = { frameId, paperId };\n if (wallId) {\n props.wallId = wallId;\n } else {\n props.workId = workId;\n }\n add(props);\n };\n\n const action = storeItemId ? 'Remove from Store' : 'Add To Store';\n return (\n \n { action }\n \n );\n};\n\nStoreItem.propTypes = {\n wallId: PropTypes.number,\n workId: PropTypes.number,\n storeItemId: PropTypes.number,\n add: PropTypes.func.isRequired,\n remove: PropTypes.func.isRequired,\n className: PropTypes.string,\n paperId: PropTypes.number,\n frameId: PropTypes.number\n};\n\nexport default StoreItem;\n","// extracted by mini-css-extract-plugin\nvar _1 = \"N1a80zUk46tLadiSkk5b\";\nexport { _1 as \"storeItem\" }\n","import { connect } from 'react-redux';\nimport { add as addWork, remove as removeWork } from 'arts/actions/work_store_items';\nimport { add as addWall, remove as removeWall } from 'arts/actions/wall_store_items';\nimport StoreItem from './store_item';\n\nexport const WorkStoreItem = connect(null, {\n add: addWork,\n remove: removeWork\n})(StoreItem);\n\nexport const WallStoreItem = connect(null, {\n add: addWall,\n remove: removeWall\n})(StoreItem);\n","import Constants from 'arts/config/constants';\nimport { addToStoreItemsApi, removeFromStoreItemsApi } from 'arts/config/api';\nimport { updateUI } from './wall_store_items';\n\nexport const add = (opts) => (dispatch) => {\n addToStoreItemsApi(opts)\n .then(\n (data) => {\n if (!data) { return; }\n const { id, storableId, totalItems } = data;\n dispatch({\n storeItemId: id,\n workId: storableId,\n type: Constants.WorkStoreItems.ADDED\n });\n updateUI(totalItems);\n }\n ).catch(() => {});\n};\n\nexport const remove = (workId, storeItemId) => (dispatch) => {\n removeFromStoreItemsApi(storeItemId)\n .then(\n (data) => {\n if (!data) { return; }\n const { totalItems } = data;\n dispatch({\n workId,\n type: Constants.WorkStoreItems.REMOVED\n });\n updateUI(totalItems);\n }\n ).catch(() => {});\n};\n","import { useState, useEffect } from 'react';\n\nexport const useWindowSize = () => {\n const [windowSize, setWindowSize] = useState({\n width: window.innerWidth,\n height: window.innerHeight\n });\n\n useEffect(() => {\n const onResize = () => window.requestAnimationFrame(\n () => setWindowSize({ width: window.innerWidth, height: window.innerHeight })\n );\n window.addEventListener('resize', onResize);\n return () => window.removeEventListener('resize', onResize);\n }, []);\n\n return windowSize;\n};\n","// extracted by mini-css-extract-plugin\nvar _1 = \"avsyRtL_QWOVm9u5yIPj\";\nvar _2 = \"p9jywNHGIHPS_YWuzOlz\";\nvar _3 = \"BZqeW901UmGynDP5eJ15\";\nvar _4 = \"ejg1F5mwhhwb3Ul60gtB\";\nvar _5 = \"mtffQ5bHNIIVMwaeK4HT\";\nvar _6 = \"w6lfJ85uUnz1cC5L6Aeg\";\nvar _7 = \"agEAVdHmEKUl9HerXhtW\";\nvar _8 = \"udx41kEiYvSeuV2G6kns\";\nvar _9 = \"x4FhH5ItL5vRIq24GhDl\";\nvar _a = \"WhpkQy5GDhkIHyR2vHU0\";\nvar _b = \"uLAM5xT05_SUK3BthddZ\";\nvar _c = \"jyudmO3SZHDGInYLHzTd\";\nvar _d = \"LO9zaZZbCZrmx1nDsjnF\";\nvar _e = \"aLTBtc_Rd9aJGP8dsrgV\";\nvar _f = \"kPjO4x6gnIi96z8J92sL\";\nvar _10 = \"I0l9OnkFyPKfzXvXK0qh\";\nvar _11 = \"PmX51IS7KO5BIVtSGKgg\";\nvar _12 = \"QSarxn7UNzrzJVuYF9N1\";\nvar _13 = \"ca_XbOx3Zfy9KzInKiAx\";\nvar _14 = \"rmyhPIQLfEXKWpTWjmiA\";\nvar _15 = \"fux6fbzbvel5gOLMGKBU\";\nexport { _1 as \"adding\", _2 as \"affirmPromo\", _3 as \"b1\", _4 as \"b2\", _5 as \"b3\", _6 as \"bar\", _7 as \"barHolder\", _8 as \"bl\", _9 as \"button\", _a as \"buttonContainer\", _b as \"buttonHolder\", _c as \"grow\", _d as \"onWall\", _e as \"qnty\", _f as \"qntyButton\", _10 as \"qntyInput\", _11 as \"shipping\", _12 as \"soldOut\", _13 as \"storeItem\", _14 as \"total\", _15 as \"warning\" }\n","// extracted by mini-css-extract-plugin\nvar _1 = \"JHy6KcQW0hYPsxDF7zLI\";\nvar _2 = \"s_NTys4RXRaBxrj9JC_X\";\nvar _3 = \"k60l5WX8aXbfyLOvWNRj\";\nvar _4 = \"awsYEwfhBIjiV7ILimHL\";\nvar _5 = \"WfeI1x7aCtF9di3p_iMz\";\nvar _6 = \"NtllDbU4RmYshDgHbtsl\";\nvar _7 = \"d7MzskdQkRBBCuBOVUSh\";\nvar _8 = \"m3ov7ZpdBssoQCeYzgng\";\nvar _9 = \"QQ_R1PN65oad6x7NE2VD\";\nvar _a = \"ejlbgwXfojncHQGule2V\";\nvar _b = \"ZA6PDqRg01DtXtBN53KA\";\nvar _c = \"UlbJSbLSb2WrcsxW7bDv\";\nvar _d = \"_1m4shkDlTi6tG2ILgjyp\";\nvar _e = \"ox2FN0C1DC9nrcKzNGqh\";\nvar _f = \"m5zqcoQCLlt7RwbLVuG9\";\nexport { _1 as \"artistName\", _2 as \"author\", _3 as \"column\", _4 as \"content\", _5 as \"details\", _6 as \"favorite\", _7 as \"like\", _8 as \"middle\", _9 as \"profile\", _a as \"right\", _b as \"section\", _c as \"share\", _d as \"styles\", _e as \"title\", _f as \"withImages\" }\n","// extracted by mini-css-extract-plugin\nvar _1 = \"LkiGpUNb7zxyQMLPDCPT\";\nvar _2 = \"LGmdgNRNNoXz34NUwRPU\";\nvar _3 = \"yp7cSjNHLvexsM6AnGeB\";\nvar _4 = \"yR2A4pdRw2CHXvC7gpxw\";\nvar _5 = \"T2QzTyrMxiaW9tGbpLh1\";\nvar _6 = \"YvU3E3SVnWEve4DtKkwI\";\nvar _7 = \"DKgtbr1kmwUAViz2CoWp\";\nvar _8 = \"PcaggSywK3Vdx1BDr6OU\";\nvar _9 = \"V0lYXcNRH4d3RNBPiFEL\";\nvar _a = \"Ol4TeDEEkO7iCr9Kk2uS\";\nvar _b = \"lztilp1xS9zUrMwmoaRA\";\nvar _c = \"dm0NZR6McuaCzhfqp2yG\";\nvar _d = \"_ckrDz98IzlKJAu1t9iG\";\nvar _e = \"o2sUrjULaA6ngDKZPcxL\";\nvar _f = \"LCo5NzkCvB6XeXQtsIgX\";\nvar _10 = \"ubHyV6DfaGUqJI_0tcBw\";\nvar _11 = \"jP5nKQKxkD4xcLNFw7RE\";\nvar _12 = \"Krw4OtG5bVYVG4T5DPIO\";\nvar _13 = \"YM2Wdu5slJCk1zYNc3Av\";\nvar _14 = \"Hpf82A6ab3vBeIIOkIGi\";\nvar _15 = \"DS1OgjfG2xa4Ty3qqB43\";\nvar _16 = \"HZgbLJ1V5Itk7FkI36SM\";\nvar _17 = \"uvl3h3rBRg4uS1nDrmqQ\";\nvar _18 = \"ExoQaQZuacwrgfD2vk9a\";\nvar _19 = \"WNhyrBt9O4XZsKwYMkdc\";\nvar _1a = \"RUOT7ENMorPwaTDws1lK\";\nvar _1b = \"BaACJSVIlrqSBul8uLIv\";\nvar _1c = \"BvZJHuacvnR9_oMXxTVY\";\nexport { _1 as \"active\", _2 as \"category\", _3 as \"flatWarning\", _4 as \"floatForm\", _5 as \"frame\", _6 as \"frameAddRemove\", _7 as \"frameHolder\", _8 as \"frames\", _9 as \"framesRoot\", _a as \"header\", _b as \"heading\", _c as \"hidden\", _d as \"label\", _e as \"mobileFrames\", _f as \"mouldingSection\", _10 as \"mount\", _11 as \"mountOption\", _12 as \"mounts\", _13 as \"options\", _14 as \"plexi\", _15 as \"previewImage\", _16 as \"price\", _17 as \"printSize\", _18 as \"printSizeUk\", _19 as \"root\", _1a as \"sectionTitle\", _1b as \"step3\", _1c as \"warning\" }\n","// extracted by mini-css-extract-plugin\nvar _1 = \"Jn1Jp96O0tf_GxqL2CFe\";\nvar _2 = \"Z2BasOWxqPkQMTk9gEw6\";\nvar _3 = \"aiaJKkynO5T6TxqJR8Nf\";\nvar _4 = \"zKEIgIlV6h2BgG9iprbK\";\nvar _5 = \"iHj30B026UWF6svuRa9B\";\nvar _6 = \"fj53HpK5X3fbZ3iqg7NQ\";\nvar _7 = \"RmwTKbbs2F7q4FQRUFHJ\";\nvar _8 = \"NfO9pnhQjVnIV26Gz8Zg\";\nvar _9 = \"942px\";\nvar _a = \"lCMwTJqSx30BcmgSsunL\";\nvar _b = \"ViLwaAX8Ns_dfyRhPVCQ\";\nvar _c = \"aLziA41IdCdQIatj0y1U\";\nvar _d = \"x0W2WbWnMxeICUldpG5w\";\nvar _e = \"vNEoYDYXtq3v493fUtCw\";\nvar _f = \"p3LEWts6829dHvjlaJ6T\";\nvar _10 = \"WdJc7oJDj8onNCEdQqpK\";\nvar _11 = \"pujLW_6iVoW1Wpghp8x6\";\nvar _12 = \"MyWlpnuwihkHJh0EIIxj\";\nvar _13 = \"fiU1KT1729mLRZAAVReu\";\nvar _14 = \"VMaovsl7p5XTYg7mqaKe\";\nvar _15 = \"qQysKk9MYNW3lBxf2bgY\";\nvar _16 = \"AN71j3Q6u3u4xhCIZmO_\";\nvar _17 = \"JJpwRRM7sICHN7rOYJXU\";\nexport { _1 as \"cKeeper\", _2 as \"carousel\", _3 as \"entry\", _4 as \"externalShadow\", _5 as \"favorite\", _6 as \"frameShadow\", _7 as \"holder\", _8 as \"innerImage\", _9 as \"mobilewidth\", _a as \"moreLikeThis\", _b as \"otherImage\", _c as \"paper\", _d as \"previews\", _e as \"ratio\", _f as \"rollOver\", _10 as \"selected\", _11 as \"silhouette\", _12 as \"thisArt\", _13 as \"thumbsMenu\", _14 as \"viewer\", _15 as \"zoomContainer\", _16 as \"zoomIcon\", _17 as \"zoomImage\" }\n","// extracted by mini-css-extract-plugin\nvar _1 = \"TJ0JnxU4glGx1okekydZ\";\nvar _2 = \"F2HVhrXNDXYLq86EwTGq\";\nvar _3 = \"bHFcmlzsFGFwGIUREyr5\";\nvar _4 = \"Hd2QMMwNuPb70vn_QIHu\";\nvar _5 = \"rF2A7KosNBxyLFFyNk4v\";\nvar _6 = \"AZyVwZbXTvdYQO2lyHGY\";\nvar _7 = \"Hdf7VM0pQi_18mmgGDek\";\nvar _8 = \"Xu0sPO8wOx2SrqLMwFEW\";\nvar _9 = \"tlMlgMIf1jqvQeh0WFNQ\";\nexport { _1 as \"aboutTheArt\", _2 as \"bc\", _3 as \"dmenu\", _4 as \"fullDetails\", _5 as \"modalRoot\", _6 as \"moreDetails\", _7 as \"notAvailable\", _8 as \"sizeSelection\", _9 as \"work\" }\n","// extracted by mini-css-extract-plugin\nvar _1 = \"VbyH1KTNnjCl290uX86L\";\nvar _2 = \"yYDtCmoFNpQbvXuqp_7c\";\nvar _3 = \"rOP8iojvWLR3Q0ixage4\";\nvar _4 = \"iG_hvID1uM2Jq5qVijrR\";\nvar _5 = \"vm9VBZgBVQ1_NIjn2qjN\";\nvar _6 = \"ERkc8je7S9iBCvE5Ou47\";\nvar _7 = \"dP5pxJZwX06KN2ryKXts\";\nvar _8 = \"yirZVMsLSO5CQoqwpTTh\";\nvar _9 = \"nufSboZRxs0962Ouw5Wl\";\nvar _a = \"Wu2TtpNwezbEf1gBlB_M\";\nvar _b = \"Fh6R74hRj8XOA9QgW3sk\";\nexport { _1 as \"admin\", _2 as \"author\", _3 as \"controls\", _4 as \"heading\", _5 as \"mobile\", _6 as \"mobileHeader\", _7 as \"mobileHidden\", _8 as \"mobileVisible\", _9 as \"name\", _a as \"text\", _b as \"title\" }\n","// extracted by mini-css-extract-plugin\nvar _1 = \"MrND0lZsH275o5AXUc8t\";\nvar _2 = \"fyotDpr5uOD3SBtwawFH\";\nvar _3 = \"kFLQhuANnDs2sDqBWKMg\";\nvar _4 = \"TTItBWeiNfdAMel1lVmW\";\nvar _5 = \"kfWIZ8y9fZPR0uJ8PcKY\";\nvar _6 = \"H5ej9_vWDSiXY4kCzk7o\";\nvar _7 = \"gCmZYYfz9jqHPWL7knlA\";\nvar _8 = \"s55hvewR6SbGfl4ZLToo\";\nvar _9 = \"GoXpIDZI7f7gwVIllV4k\";\nvar _a = \"RbFSmcMTDf41yrJndnZQ\";\nvar _b = \"mobXOTmymVQY_SP7iLbH\";\nvar _c = \"RrFK4wDLRJr74EVp0GTR\";\nvar _d = \"R3OpNT51n9rG5O7kq9V1\";\nvar _e = \"lpex6hvMwwWbAk6VpMPX\";\nvar _f = \"E_acWMOJnFkhu5NsiluN\";\nvar _10 = \"OYdhvIQMv7jA0lzPkAvS\";\nvar _11 = \"tY1xQfA26LroWXdU_w2X\";\nvar _12 = \"QjLZJaz7MQZctUdP_Svh\";\nvar _13 = \"pJ0O9a4w9qTWpDM6Ac1e\";\nvar _14 = \"RJRdZBN1BLQLK8QmTUZg\";\nvar _15 = \"VZtsw4XlevAKHBrXpAi7\";\nvar _16 = \"pFSgULYEo_p9bB6B5Cgd\";\nvar _17 = \"P_foBdpkWwI0tF1za2RX\";\nvar _18 = \"Lab7eNy57ko9zy2S5GbA\";\nvar _19 = \"BMyNVY1DiBl6MBJwp9g1\";\nvar _1a = \"RrVbRH0Q7aM3m0FrAIEy\";\nvar _1b = \"dSRjwlG7a2AMiSuu71ov\";\nvar _1c = \"jVmKGJ_SvXmB_qBUn9eA\";\nvar _1d = \"e0bPB2lnjZsy8tHQNr8J\";\nvar _1e = \"SI1uINNs7VK96QYoZc6O\";\nvar _1f = \"J63s8OeaSk9cTQEfUFPR\";\nvar _20 = \"Io6fSZbmkOFNdm_I7Qcw\";\nvar _21 = \"942px\";\nexport { _1 as \"active\", _2 as \"awColor\", _3 as \"byColor\", _4 as \"clearAll\", _5 as \"colorLine\", _6 as \"colorOption\", _7 as \"expanded\", _8 as \"filter\", _9 as \"filterByCountry\", _a as \"filterDropDown\", _b as \"filterHolder\", _c as \"filterLists\", _d as \"l\", _e as \"left\", _f as \"link\", _10 as \"list\", _11 as \"main\", _12 as \"menuWrapper\", _13 as \"mobileFilter\", _14 as \"noResults\", _15 as \"pHolder\", _16 as \"pagination\", _17 as \"remove\", _18 as \"right\", _19 as \"root\", _1a as \"searchBy\", _1b as \"secondPreview\", _1c as \"sign\", _1d as \"singleColor\", _1e as \"small\", _1f as \"text\", _20 as \"values\", _21 as \"w1\" }\n"],"names":["add","id","type","dispatch","addFavoriteApi","then","favorite","Constants","Favorites","ADD","catch","remove","removeFavoriteApi","REMOVE","load","getState","window","currentUser","setTimeout","favorites","loaded","loading","LOAD","loadFavoritesApi","LOADED","loadAlsoLike","sourceId","RelatedWorks","LOAD_ALSO_LIKE_START","loadAdditionalWorks","data","LOAD_ALSO_LIKE_SUCCESS","loadAlsoLikeSuccess","error","LOAD_ALSO_LIKE_FAILURE","loadAlsoLikeFailure","loadRecentlyView","ids","LOAD_RECENTLY_VIEW_START","loadRecentWorks","LOAD_RECENTLY_VIEW_SUCCESS","loadRecentlyViewSuccess","LOAD_RECENTLY_VIEW_FAILURE","loadRecentlyViewFailure","setRecentWorkIds","SET_RECENTLY_VIEWED","fetchWork","detail","fetchWorkStart","Work","FETCH","loadWork","recentWorkIds","rest","FETCH_SUCCESS","fetchWorkSuccess","length","FETCH_FAILURE","fetchWorkFailure","AddButton","doAddToCart","adding","added","text","React","className","Classes","classnames","onClick","onAddToCart","AddWithTotals","hasSelection","price","currency","frameId","workId","paperId","originalArtId","addArtToCart","addOriginalArtToCart","nonGlare","allowQnty","qnty","setQnty","useState","showWarning","setShowWarning","showEmpty","setShowEmpty","limitQnty","value","force","maxQnty","hideEmpty","hideWarningAndAddToCart","Modal","selector","MODAL_SELECTOR","onCancel","AppClasses","CheckoutStyles","Math","abs","toFixed","prev","onChange","event","parseInt","target","ShoppableLookAssignment","props","Suspense","fallback","currentPriceAndNonGlare","frame","priceKey","parseFloat","nonGlarePrice","AffirmPromo","onWall","minAffirmAmount","useEffect","affirm","ui","ready","refresh","AddToCart","inStock","selection","addRemoveFromStore","storeItemId","WorkStoreItem","hasELinks","connect","mapStateToProps","cartItems","renderText","title","hasImages","renderEmpty","ArtistDetails","background","exhibitions","statement","styles","name","key","map","path","index","Link","to","texts","join","renderArray","Transition","PureComponent","constructor","super","collapsed","this","state","initiallyCollapsed","setRootRef","bind","onTransitionEnd","componentDidUpdate","prevProps","hide","open","componentWillUnmount","cancelAnimations","rootRef","removeEventListener","style","maxHeight","overflow","ref","scrollHeight","raf","requestAnimationFrame","addEventListener","cancelAnimationFrame","render","children","Collapsible","Delimiter","notop","FULL_BLEED","MATTE","FLOAT_DECKLED","FLOAT_STRIGHT","FLOATING","mat","currentLocale","matte","caps","floatStright","kind","description","floatDeckled","Mounts","availableMounts","renderMount","e","onSelect","overrideName","selected","radioId","radioName","isSelected","extraMounts","htmlFor","Radio","checked","filter","Warning","warning","flat","Object","assign","PinIt","href","imageUrl","allowSharing","preventDefault","PinUtils","pinOne","url","media","src","alt","width","height","Entry","selectedIndex","klass","viewBox","clipPath","fill","fillOpacity","d","PaperView","borderH","borderW","backgroundImage","unframed","frameThicknessH","frameThicknessV","zoomPreviewUrl","mount","isTapestry","flexBasis","innerStyle","paddingTop","paddingBottom","paddingLeft","paddingRight","paperClass","frameClass","frameShadow","isFloat","frameShadowPos","top","right","bottom","left","Zoom","PreviewModal","onHide","contentOptions","MODAL_LEVEL2_SELECTOR","xmlns","fillRule","clipRule","calculatePaperProps","paperHeight","paperWidth","printHeight","printWidth","landscape","ratio","dH","dW","calculateFrameThickness","frameThickness","el","useRef","cz","zoomProps","useMemo","image","zoomImage","zoomPosition","unBindZoom","current","destroy","cb","document","querySelector","parentNode","removeChild","innerWidth","jQuery","CloudZoom","opacity","stroke","strokeLinecap","strokeLinejoin","strokeWidth","strokeOpacity","ZoomIn","withFrame","visible","setVisible","show","modal","ZoomModal","img","Zoomin","ModalClasses","ART_PRINTS","ORIGINAL_ART","BreadCrumbs","authorName","authorId","authorSlug","originalArt","links","BreadCrumbsGeneric","rootClassName","fetchArtist","Artist","getArtist","fetchArtistSuccess","fetchArtistFailure","onMoreOfArtist","MoreArtistWorks","artistId","skipId","artist","about","loadMoreWorks","works","filteredWorks","w","SmallItemsCarousel","items","gtmListName","SimilarItems","eventSource","trackEvent","source","Eye","onMoreLikeThis","renderImage","imgUrl","imageWidth","imageHeight","calculateWith","WorkImage","MayAlsoLike","componentDidMount","sourceIdWas","renderItem","extended","relatedWorks","alsoLike","RecentlyView","idsWere","deepEqual","recentlyView","MoreDetails","moreWorks","setFrame","paper","Selection","SET_FRAME","setFramePreview","RESET_OTHER","Header","selectFrame","stopPropagation","frameless","selectNoFrame","hasFrames","options","find","f","renderAction","skipSelectFrame","action","renderActions","active","limitations","displayPaperWidth","displayPaperHeight","displayPrintWidth","displayPrintHeight","isHidden","currentPrice","hiddenIcon","readOnly","humanSize","unit","Frame","handleDragStart","classname","role","frameName","onDragStart","onDragEnd","frameThumbUrl","SelectPlexiGlass","setNonGlare","generateUniqFrames","res","groups","reduce","rv","x","push","groupBy","order","keys","forEach","k","g","i","l","hasMount","Paper","availableFrames","selectFirstAvailableFrame","selectMount","renderFrame","renderCollapsibleHeader","updateHeader","setFrameAndMount","selectedFrame","selectedPaperId","renderAvailableFrames","frameCategory","self","indexOf","sort","category","frames","frameDescription","renderWarning","frameDisplayWidth","frameDisplayDepth","frameLabel","AliceCarousel","aliceSliderSettins","thumbnails","uid","previewUrl","t","withMatte","withFullBleed","withDckl","withFltn","hasStep2","step2","fullBleed","dckl","fltn","step3","findPaperAndFrame","p","PapersMenu","headers","renderPaper","initialPaperId","initialFrameId","dataWas","resetSelection","header","setState","renderHeaders","paperIds","v","work","RESET","SET_NON_GLARE","Thumbnails","prevState","otherImageChanged","prevThumbnails","prevSelectedIndex","setOtherImage","ImagePreview","selectedPaper","otherImageUrl","zoomPreviewUrlUsed","content","firstPaper","frameWidth","frameHeight","frameMat","frameLargeImageUrl","thicknessV","thicknessH","paperProps","renderNoFrame","Loader","inline","w1","mobileBreak","ImagePreviewSwitcher","secondPreviewUrl","useWindowSize","autoPlay","disableSlideInfo","infinite","mouseTracking","mouseDragEnabled","disableButtonsControls","silhouette","require","sizeY","ScaleModal","previewWidth2","previewHeight2","position","marginLeft","marginTop","calculateStyle","ShowToScale","smallPreviewUrl","ScaleIcon","Viewer","extraContent","smallPreviewUrlUsed","hasWalls","skipMoreLikeThis","rollOver","similarItems","artOnWall","Box","Boolean","SET_OTHER","author","isMobile","renderTitle","adminLink","WorkSummary","printedOn","limitedEdition","theTitle","location","protocol","host","Favorite","s1","s2","renderPrintedOn","mapDispatchToProps","label","PRODUCT_DETAILS","paperMaterial","TAPESTRY","SelectionDetails","Expandable","eKey","KEYS","selectionDetails","renderDetailEtries","entries","sizes","displayPrintWidthNoMat","displayPrintHeightNoMat","finalSize","frameFinalFramedSize","AdditionalInfo","aboutPaper","lines","CANVAS","additionalInfo","workSizes","ExtraInfo","aboutPrints","isUK","frameDetails","plexiGlass","prints","shipping","shippingDetailsItems","AboutTheArt","details","arts","toCamelCase","papers","notAvailable","allowStores","aboutTheAuthor","display","breadCrumbs","retailPrice","gtmVariant","selectedFrameId","summaryProps","aboutProps","fullDetails","moreDetails","linkTo","gtmDetailsData","GTMPageView","pageType","section","GtmDetails","findWorkDetails","collection","_1","_2","BreadCrumbsSkeleton","renderLink","isLast","toggle","expand","expandable","ACTIONS","isAdded","onSignIn","CustomEvent","dispatchEvent","classes","HeartE","icon","HeartF","fetchFavorites","createSelector","getFavories","getProps","_","_3","_4","_5","imagepadding","imageheight","onItemClick","onWorkClick","reportVisible","findVisible","visibleIndexes","parent","getElementsByClassName","parentLeft","parentRight","getBoundingClientRect","elements","onWorkItems","listName","images","onInitialized","onSlideChanged","updateUI","totalItems","innerHTML","StoreItem","wallId","opts","addToStoreItemsApi","storableId","WorkStoreItems","ADDED","removeFromStoreItemsApi","REMOVED","WallStoreItem","WallStoreItems","windowSize","setWindowSize","innerHeight","onResize","_6","_7","_8","_9","_a","_b","_d","_e","_f","_10","_11","_12","_13","_14","_15","_c","_16","_17","_18","_1a","_1b","_1c","_19","_1d","_1e","_1f","_20","_21"],"sourceRoot":""}