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DjG,G,wDCpajD0G,EAAyBC,EAAQ,OAIrCC,EAAQ,OAAU,EAClB,IAAIC,EAAiBH,EAAuBC,EAAQ,QAChDG,EAAcH,EAAQ,OACXC,EAAQ,GAAU,EAAIC,EAAeE,UAAuB,EAAID,EAAYE,KAAK,OAAQ,CACtGC,EAAG,8GACD,O,sBCTAP,EAAyBC,EAAQ,OAIrCC,EAAQ,OAAU,EAClB,IAAIC,EAAiBH,EAAuBC,EAAQ,QAChDG,EAAcH,EAAQ,OACXC,EAAQ,GAAU,EAAIC,EAAeE,UAAuB,EAAID,EAAYE,KAAK,OAAQ,CACtGC,EAAG,4OACD,Q","sources":["components/generics/flyers/Flier.js","components/product/form/ProductFormVariantRow.js","components/product/form/ProductFormVariants.js","components/product/form/ProductForm.js","../node_modules/@mui/icons-material/Mail.js","../node_modules/@mui/icons-material/Phone.js"],"sourcesContent":["import React, {useEffect} from 'react'\n/** @jsxImportSource @emotion/react */\nimport {css} from '@emotion/react'\n\nimport {useWindowSize} from '../../../hooks'\n\nimport Image from '../Image'\n\nimport QRCode from 'react-qr-code'\n\nimport Button from '@mui/material/Button'\nimport PrintIcon from '@mui/icons-material/Print'\n\nimport {AspectImage, CkordLogo} from '../../generics'\n\n\n\n\nconst styles = {\n root: css`\n display: flex;\n justify-content: flex-start;\n align-items: center;\n flex-flow: column;\n position: relative;\n overflow: hidden;\n\n @media print {\n width: 100%;\n height: 100%;\n position: fixed;\n top: 0;\n left: 0;\n z-index: 100;\n margin: 0;\n -webkit-print-color-adjust: exact;\n\n @page {\n margin: 0; \n }\n }\n `,\n letterAspectRatioBox: css`\n width: 900px;\n height: 0;\n padding-top: calc(900px * 11 / 8.5);\n position: relative;\n margin: 0;\n background-color: black;\n transform-origin: center center;\n\n @media print {\n width: 100%;\n height: 100%;\n padding-top: 0;\n transform: scale(1) !important;\n }\n `,\n letterAspectRatioBoxInside: css`\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n background-color: #fff;\n border-radius: 4px;\n overflow: hidden;\n display: flex;\n flex-direction: column;\n background-color: black;\n `,\n outsideImageContainer: css`\n width: 100%;\n display: flex;\n justify-content: center;\n `,\n insideImageContainer: css`\n position: relative;\n width: 100%;\n padding: 30px;\n `,\n gradient: css`\n position: absolute;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n width: 100%;\n height: 100%;\n z-index: 10;\n background-image: linear-gradient(to bottom, transparent, transparent, transparent, rgba(0, 0, 0, 0.4), #000);\n `,\n logoContainer: css`\n display: flex;\n width: 100%;\n justify-content: flex-start;\n `,\n body: css`\n position: absolute;\n bottom: 0;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: flex-end;\n padding-left: 50px;\n padding-right: 50px;\n padding-bottom: 130px;\n gap: 30px;\n flex: 1 0;\n z-index: 20;\n `,\n nameContainer: css`\n display: flex;\n flex-grow: 1;\n container-type: inline-size;\n `,\n name: css`\n text-transform: uppercase;\n font-size: 18cqw;\n z-index: 10;\n margin: 0;\n color: #fff;\n line-height: 0.9;\n margin-bottom: -15px;\n font-family: Gravity, Avenir Next, Arial Black, sans-serif;\n `,\n qrcode: css`\n width: 165px;\n height: 165px;\n min-width: 165px;\n padding: 15px;\n background-color: #fff;\n `,\n controlsContainer: css`\n margin-top: 15px;\n background-color: transparent;\n width: 100%;\n display: flex;\n justify-content: flex-end;\n\n @media print {\n display: none;\n }\n `,\n button: css`\n height: 50px;\n width: 140px;\n border-radius: 25px;\n border: 1px solid #fff;\n padding-right: 20px;\n padding-left: 20px; \n `\n}\n\n\n\n\nconst Flier = props => {\n\n const {id, type, image, name} = props\n\n const url = process.env.REACT_APP_API_URL + `/${type}s/` + id + '?utm_source=affiliate&utm_medium=qrcode&utm_campaign=code_scan'\n\n\n const size = useWindowSize()\n\n\n\n useEffect(() => {\n const wrapper = document.getElementById('flier')\n const container = document.getElementById('printable-flier')\n\n\n const scale = Math.min(\n 1,\n wrapper.offsetWidth / container.offsetWidth, \n wrapper.offsetHeight / container.offsetHeight, \n )\n\n\n container.style.transform = `scale(${scale})`\n }, [size])\n\n\n\n\n useEffect(() => {\n window.addEventListener('beforeprint', handlePrint)\n window.addEventListener('afterprint', handlePrintComplete)\n\n\n function handlePrint(e) {\n const root = document.getElementById('app')\n root?.classList.add('hide-from-print')\n }\n\n\n function handlePrintComplete(e) {\n const root = document.getElementById('app')\n root?.classList.remove('hide-from-print')\n }\n\n\n return () => {\n window.removeEventListener('beforeprint', handlePrint)\n window.removeEventListener('afterprint', handlePrintComplete)\n }\n }, [])\n\n\n\n\n function print() {\n window.print()\n }\n\n\n\n\n\n return (\n
\n
\n
\n
\n
\n
\n\n
\n \n
\n\n \n
\n
\n\n\n
\n
\n

\n {name}\n

\n
\n\n
\n \n
\n
\n
\n
\n\n
\n \n
\n
\n )\n}\n\n\nexport default Flier\n\n\n","import React from 'react'\n/** @jsxImportSource @emotion/react */\nimport { css } from '@emotion/react'\nimport { omitBy } from 'lodash'\nimport { sentenceCase } from '../../../utils'\nimport Typography from '@mui/material/Typography'\nimport ProductColorOptions from '../variants/ProductColorOptions'\nimport ProductVariantSelect from '../variants/ProductVariantSelect'\n\n\n\nconst cssStyles = props => ({\n root: css`\n width: 100%;\n margin-top: 15px;\n margin-bottom: 15px;\n `,\n variantContainer: css`\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n width: 100%;\n margin-bottom: 30px;\n `,\n sectionHeaderContainer: css`\n display: flex;\n justify-content: space-between;\n align-items: flex-start;\n margin-bottom: 5px;\n `, \n variant: css`\n font-size: 0.875rem;\n font-weight: 600;\n text-transform: uppercase;\n margin-bottom: 10px;\n `,\n optionsContainer: css`\n display: flex;\n flex-direction: row;\n gap: 10px;\n `,\n deleteButton: css`\n color: red;\n cursor: pointer;\n `\n})\n\n\n\n\nconst ProductFormVariantRow = props => {\n \n const styles = cssStyles()\n \n const { variant, variants, options, setFieldValue } = props\n\n const lowercaseVariant = variant.toLowerCase()\n\n\n\n function deleteVariant() {\n setFieldValue('variants', omitBy(variants, (value, key) => key === variant))\n }\n\n\n\n return (\n
\n
\n
\n \n { variant }\n \n\n \n Delete\n \n
\n\n
\n { \n (() => {\n if (lowercaseVariant.startsWith('color')) {\n return \n } else {\n return (\n \n )\n }\n })()\n }\n
\n
\n
\n )\n}\n\n\n\nexport default ProductFormVariantRow\n\n","import React, { useRef, useState } from 'react'\n/** @jsxImportSource @emotion/react */\nimport { css } from '@emotion/react'\nimport Typography from '@mui/material/Typography'\nimport TextField from '@mui/material/TextField'\nimport Button from '@mui/material/Button'\nimport ProductFormVariantRow from './ProductFormVariantRow'\n\n\n\nconst cssStyles = props => ({\n root: css`\n width: 100%;\n position: relative;\n `,\n sectionHeader: css`\n display: flex;\n justify-content: space-between;\n `,\n headerTitle: css`\n font-size: 18px;\n font-weight: 500;\n `,\n headerButton: css`\n color: blue;\n cursor: pointer;\n `,\n variantFields: css`\n width: 100%;\n display: flex;\n flex-direction: column;\n gap: 20px;\n margin-top: 20px;\n margin-bottom: 10px;\n `,\n buttonContainer: css`\n display: flex;\n gap: 10px;\n `,\n button: css`\n background-color: #000;\n color: #fff;\n margin-top: 5px;\n margin-bottom: 15px;\n font-size: 12px;\n height: 40px;\n width: 75px;\n \n &:hover {\n background-color: #000;\n }\n `,\n variantsSection: css`\n width: 100%;\n margin-top: 35px;\n margin-bottom: 15px;\n `\n})\n\n\n\n\nconst ProductFormVariants = props => {\n\n const styles = cssStyles()\n\n const variantRef = useRef()\n const optionsRef = useRef()\n\n const [showFields, setShowFields] = useState(false)\n \n const [variantError, setVariantError] = useState(false)\n const [optionsError, setOptionsError] = useState(false)\n\n const { variants, setFieldValue } = props\n\n\n\n function createVariant() {\n const variant = variantRef.current.value\n const options = optionsRef.current.value\n\n if (!variant || variant === '') {\n setVariantError('Field can\\'t be blank')\n return\n }\n\n\n if (!options || options === '') {\n setOptionsError('Field can\\'t be blank')\n return\n }\n\n\n const optionsArray = options.split(',').map(option => option.trim()) \n\n setFieldValue('variants', { ...variants, [variant]: optionsArray })\n\n variantRef.current.value = ''\n optionsRef.current.value = ''\n\n setOptionsError(false)\n setVariantError(false)\n }\n\n\n\n function handleClick() {\n setShowFields(true)\n }\n\n\n\n function cancel() {\n setShowFields(false)\n } \n\n\n\n function handleVariantChange(e) {\n if (!variantError) return\n\n const variant = e.target.value\n\n if (!variant || variant === '') {\n setVariantError('Field can\\'t be blank')\n } else {\n setVariantError(false)\n }\n }\n\n\n\n function handleOptionsChange(e) {\n if (!optionsError) return\n\n const options = e.target.value\n\n if (!options || options === '') {\n setOptionsError('Field can\\'t be blank')\n } else {\n setOptionsError(false)\n }\n }\n\n\n\n return (\n
\n
\n
\n \n Variants\n \n\n \n + Create New Variant\n \n
\n\n\n { showFields && \n
\n \n\n\n \n\n\n
\n \n\n \n
\n
\n }\n
\n\n\n
\n { Object.keys(variants).map((variant, index) => (\n \n ))}\n
\n
\n )\n}\n\n\nexport default ProductFormVariants\n\n\n","import React, { useEffect } from 'react'\n/** @jsxImportSource @emotion/react */\nimport { css } from '@emotion/react'\nimport { connect } from 'react-redux'\nimport { withFormik, Form, Field } from 'formik'\nimport * as Yup from 'yup'\nimport useMediaQuery from '@mui/material/useMediaQuery'\nimport { useIsMounted } from '../../../hooks'\nimport { formatError } from '../../../utils'\nimport { makeGetProductById } from '../../../selectors'\nimport InputAdornment from '@mui/material/InputAdornment'\nimport ProductFormVariants from './ProductFormVariants'\nimport { \n create, \n update, \n showAlert,\n addProductsToArtist,\n formSubmittedSuccessfully,\n formSubmittedWithErrors,\n resetFormState\n} from '../../../actions'\nimport { \n FormButton,\n Errors,\n FormikTextField,\n ThreeDotProgress,\n FormTitle,\n CloseButton,\n MoneyField\n} from '../../generics'\n\n\n\n\nconst cssStyles = props => ({\n root: css`\n margin: 0;\n width: 100%;\n overflow: hidden;\n position: relative;\n display: flex;\n justify-content: center;\n align-content: flex-start;\n padding: props.isSmallScreen ? '0px 40px 0px 40px' : 0;\n ` ,\n form: props.isSmallScreen \n ? css`\n width: 400px;\n overflow-x: hidden;\n display: flex;\n flex-direction: column;\n gap: 30px;\n padding: 40px;\n ` \n : css`\n width: 100%;\n display: flex;\n justify-content: center;\n flex-direction: row;\n flex-wrap: nowrap;\n gap: 80px;\n `\n ,\n outerImagesSection: css`\n flex: 1 1 50%;\n padding: 80px 20px;\n display: flex;\n justify-content: flex-end;\n overflow-y: scroll;\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n scrollbar-width: none;\n &::-webkit-scrollbar {\n display: none;\n }\n `,\n innerImagesSection: css`\n max-width: 490px;\n flex-grow: 1;\n `,\n outerFieldsSection: css`\n flex: 1 1 50%;\n padding: 80px 20px;\n overflow-y: scroll;\n -ms-overflow-style: none; /* Internet Explorer 10+ */\n scrollbar-width: none;\n &::-webkit-scrollbar {\n display: none;\n }\n `,\n innerFieldSection: css`\n max-width: 400px;\n display: flex;\n flex-direction: column;\n gap: 25px;\n `\n})\n\n\n\n\nconst ProductForm = props => {\n\n const isMounted = useIsMounted()\n\n const isSmallScreen = useMediaQuery(theme => theme.breakpoints.down('md'))\n\n const styles = cssStyles({ isSmallScreen })\n \n\n const {\n product,\n setFieldValue,\n errors,\n values,\n isSubmitting,\n setOpen,\n formStatus,\n formErrors,\n resetFormState,\n setSubmitting,\n setErrors,\n handleBlur\n } = props\n\n\n\n const unlistedErrors = (errors && errors.unlisted) ? errors.unlisted : []\n\n\n useEffect(() => {\n if (isMounted.current) {\n if (formStatus === 'success') setOpen(false)\n\n if (formStatus === 'error') {\n setSubmitting(false)\n setErrors(formErrors)\n }\n }\n\n return () => resetFormState()\n }, [\n isMounted, \n formStatus, \n formErrors,\n setErrors, \n setOpen, \n setSubmitting,\n resetFormState\n ])\n\n\n\n\n function trimValue(e, value, field) {\n handleBlur(e)\n\n if (typeof value === 'string' || value instanceof String) {\n const trimmed = value.trim()\n\n if (trimmed !== value && values[field]) {\n setFieldValue(field, trimmed)\n }\n }\n }\n\n\n\n\n return (\n
\n\n setOpen(false) } />\n\n
\n
\n
\n
\n
\n\n\n
\n
\n \n\n\n { Boolean(unlistedErrors.length) && }\n\n\n trimValue(e, values.name, 'name') }\n />\n\n\n trimValue(e, values.name, 'caption') }\n />\n\n\n trimValue(e, values.description, 'description') }\n />\n\n\n $\n }\n />\n\n\n \n\n\n \n { isSubmitting \n ? \n : product ? 'Update' : 'Submit'\n }\n \n
\n
\n
\n
\n )\n}\n\n\nconst EnhancedProductForm = withFormik({\n mapPropsToValues: ({ product }) => {\n const { \n name, \n caption,\n description, \n price,\n variants\n } = product ? product.attributes : {}\n\n\n return {\n name: name || '',\n caption: caption || '',\n description: description || '',\n price: price || '',\n variants: variants || {}\n }\n },\n\n\n validationSchema: Yup.object().shape({\n name: Yup.string().required('required').max(50),\n price: Yup.string().required('required'),\n caption: Yup.string().max(50),\n description: Yup.string().max(3500)\n }),\n\n\n handleSubmit: (values, { props }) => {\n const { \n product, \n create, \n update, \n showAlert,\n formSubmittedSuccessfully,\n formSubmittedWithErrors,\n merchantType,\n merchantId,\n addProductsToArtist\n } = props\n\n \n if (product) {\n // If the product exists then update the record with the new values\n const form = new FormData()\n\n // Main image\n if (values.image0) form.append('image', values.image0)\n\n // Other images\n if (values.image1) form.append('images[]', values.image1)\n if (values.image2) form.append('images[]', values.image2)\n if (values.image3) form.append('images[]', values.image3)\n if (values.image4) form.append('images[]', values.image4)\n if (values.image5) form.append('images[]', values.image5)\n if (values.image6) form.append('images[]', values.image6)\n if (values.image7) form.append('images[]', values.image7)\n if (values.image8) form.append('images[]', values.image8)\n\n\n form.append('name', values.name)\n form.append('price', values.price)\n form.append('caption', values.caption)\n form.append('description', values.description)\n form.append('variants', JSON.stringify(values.variants))\n\n\n\n update('/products/' + product.id, 'PRODUCT', form).then(response => {\n formSubmittedSuccessfully()\n showAlert('Information updated', 'success')\n })\n .catch(error => {\n error = formatError(error)\n formSubmittedWithErrors(error.messages, values)\n })\n\n } else { \n // If the product does not exist create a new record with the form values\n const url = '/' + merchantType + 's/' + merchantId + '/products'\n\n const form = new FormData()\n\n // Main image\n if (values.image0) form.append('image', values.image0)\n\n // Other images\n if (values.image1) form.append('images[]', values.image1)\n if (values.image2) form.append('images[]', values.image2)\n if (values.image3) form.append('images[]', values.image3)\n if (values.image4) form.append('images[]', values.image4)\n if (values.image5) form.append('images[]', values.image5)\n if (values.image6) form.append('images[]', values.image6)\n if (values.image7) form.append('images[]', values.image7)\n if (values.image8) form.append('images[]', values.image8)\n\n\n form.append('name', values.name)\n form.append('price', values.price)\n form.append('caption', values.caption)\n form.append('description', values.description)\n form.append('variants', JSON.stringify(values.variants))\n\n\n create(url, 'PRODUCT', form).then(response => {\n formSubmittedSuccessfully()\n\n switch (merchantType) {\n case 'artist':\n addProductsToArtist(merchantId, response.data)\n break\n case 'venue':\n break\n case 'band':\n break\n default:\n break\n }\n\n showAlert('Product created', 'success')\n })\n .catch(error => {\n error = formatError(error)\n formSubmittedWithErrors(error.messages, values)\n })\n }\n }\n})(ProductForm)\n\n\nconst makeMapStateToProps = () => {\n const getProductById = makeGetProductById()\n\n const mapStateToProps = (state, props) => {\n const id = props.productId\n\n return {\n product: id ? getProductById(state, id) : null,\n formStatus: state.form.status,\n formErrors: state.form.errors\n }\n }\n\n return mapStateToProps\n}\n\n\nconst actions = {\n create,\n update, \n showAlert,\n addProductsToArtist,\n formSubmittedSuccessfully,\n formSubmittedWithErrors,\n resetFormState\n}\n\nexport default connect(makeMapStateToProps, actions)(EnhancedProductForm)\n\n\n\n\n","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2m0 4-8 5-8-5V6l8 5 8-5z\"\n}), 'Mail');","\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = exports.default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02z\"\n}), 'Phone');"],"names":["styles","root","css","_templateObject","_taggedTemplateLiteral","letterAspectRatioBox","_templateObject2","letterAspectRatioBoxInside","_templateObject3","outsideImageContainer","_templateObject4","insideImageContainer","_templateObject5","gradient","_templateObject6","logoContainer","_templateObject7","body","_templateObject8","nameContainer","_templateObject9","name","_templateObject10","qrcode","_templateObject11","controlsContainer","_templateObject12","button","_templateObject13","props","id","type","image","url","process","concat","size","useWindowSize","useEffect","wrapper","document","getElementById","container","scale","Math","min","offsetWidth","offsetHeight","style","transform","handlePrint","e","classList","add","handlePrintComplete","remove","window","addEventListener","removeEventListener","_jsxs","children","_jsx","CkordLogo","color","fontSize","marginBottom","AspectImage","src","borderRadius","alt","QRCode","value","height","maxWidth","width","Button","onClick","print","endIcon","PrintIcon","variantContainer","sectionHeaderContainer","variant","optionsContainer","deleteButton","variants","options","setFieldValue","lowercaseVariant","toLowerCase","Typography","omitBy","key","startsWith","ProductColorOptions","colors","ProductVariantSelect","placeholder","sentenceCase","sectionHeader","headerTitle","headerButton","variantFields","buttonContainer","variantsSection","variantRef","useRef","optionsRef","showFields","setShowFields","useState","variantError","setVariantError","optionsError","setOptionsError","TextField","inputRef","label","fullWidth","error","Boolean","helperText","onChange","target","current","optionsArray","split","map","option","trim","_objectSpread","Object","keys","index","ProductFormVariantRow","EnhancedProductForm","withFormik","mapPropsToValues","_ref","product","caption","description","price","attributes","validationSchema","Yup","shape","required","max","handleSubmit","values","_ref2","create","update","showAlert","formSubmittedSuccessfully","formSubmittedWithErrors","merchantType","merchantId","addProductsToArtist","form","FormData","image0","append","image1","image2","image3","image4","image5","image6","image7","image8","JSON","stringify","then","response","catch","formatError","messages","data","isMounted","useIsMounted","isSmallScreen","outerImagesSection","innerImagesSection","outerFieldsSection","innerFieldSection","cssStyles","useMediaQuery","theme","breakpoints","down","errors","isSubmitting","setOpen","formStatus","formErrors","resetFormState","setSubmitting","setErrors","handleBlur","unlistedErrors","unlisted","trimValue","field","String","trimmed","CloseButton","Form","autoComplete","FormTitle","title","boldText","text","length","Errors","Field","component","FormikTextField","onBlur","toString","multiline","rows","MoneyField","startAdornment","InputAdornment","position","ProductFormVariants","FormButton","disabled","ThreeDotProgress","radius","actions","connect","makeMapStateToProps","getProductById","makeGetProductById","mapStateToProps","state","productId","status","_interopRequireDefault","require","exports","_createSvgIcon","_jsxRuntime","default","jsx","d"],"sourceRoot":""}