{"version":3,"sources":["webpack:///./node_modules/quasar/src/composables/private/use-ratio.js","webpack:///./node_modules/quasar/src/components/img/QImg.js","webpack:///./node_modules/core-js/modules/es.array.reduce.js","webpack:///./node_modules/quasar/src/components/item/QList.js","webpack:///./node_modules/quasar/src/utils/private/position-engine.js","webpack:///./node_modules/quasar/src/components/item/QItemSection.js","webpack:///./node_modules/quasar/src/components/menu/QMenu.js","webpack:///./src/components/contents/VendorPayments/pay/preview.vue?5a7f","webpack:///./node_modules/quasar/src/composables/private/use-scroll-target.js","webpack:///./node_modules/quasar/src/composables/private/use-anchor.js","webpack:///./node_modules/quasar/src/components/item/QItem.js","webpack:///./node_modules/quasar/src/utils/private/click-outside.js","webpack:///./node_modules/core-js/modules/es.iterator.reduce.js","webpack:///./src/helpers/utils.js","webpack:///./node_modules/core-js/internals/array-method-is-strict.js","webpack:///./node_modules/core-js/internals/array-reduce.js","webpack:///./src/assets/overdraft-repay-info.svg","webpack:///./node_modules/quasar/src/utils/private/selection.js","webpack:///./src/views/VendorPayments/pay/preview.vue","webpack:///./src/components/contents/VendorPayments/pay/preview.vue","webpack:///./src/components/contents/VendorPayments/pay/preview.vue?3a95","webpack:///./src/views/VendorPayments/pay/preview.vue?c851"],"names":["useRatioProps","ratio","String","Number","props","naturalRatio","computed","value","isNaN","paddingBottom","crossoriginValues","loadingValues","fitValues","defaultRatio","defineComponent","name","src","srcset","sizes","alt","crossorigin","type","validator","val","includes","draggable","Boolean","loading","default","width","height","initialRatio","placeholderSrc","fit","position","imgClass","imgStyle","Object","noSpinner","noNativeMenu","noTransition","spinnerColor","spinnerSize","emits","setup","slots","attrs","emit","ref","ratioStyle","useRatio","loadTimer","images","isLoading","hasError","classes","style","objectFit","objectPosition","getCurrentSrc","addImage","imgProps","clearTimeout","onLoad","target","naturalHeight","naturalWidth","waitForCompleteness","count","complete","onReady","setTimeout","img","currentSrc","onError","err","getContainer","key","child","h","class","getImage","index","data","assign","getContent","hSlot","QSpinner","color","size","watch","onBeforeUnmount","content","push","Transition","role","$","$reduce","left","arrayMethodIsStrict","CHROME_VERSION","IS_NODE","CHROME_BUG","FORCED","proto","forced","reduce","callbackfn","length","arguments","this","undefined","useDarkProps","bordered","dense","separator","padding","vm","getCurrentInstance","isDark","useDark","proxy","$q","vpLeft","vpTop","validatePosition","pos","parts","split","validateOffset","horizontalPos","parsePosition","rtl","vertical","horizontal","getAnchorProps","el","offset","top","right","bottom","getBoundingClientRect","middle","center","getTargetProps","offsetHeight","offsetWidth","setPosition","cfg","client","is","ios","window","visualViewport","document","body","offsetLeft","offsetTop","setProperty","anchorProps","scrollLeft","scrollTop","absoluteOffset","anchorEl","cover","anchorTop","anchorLeft","elStyle","maxHeight","maxWidth","visibility","minWidth","minHeight","targetProps","anchorOrigin","selfOrigin","applyBoundaries","currentHeight","currentWidth","margin","getScrollbarWidth","innerHeight","innerWidth","clientWidth","Math","max","min","anchorY","anchorX","forEach","avatar","thumbnail","side","noWrap","inheritAttrs","useAnchorProps","useModelToggleProps","useTransitionProps","persistent","autoClose","separateClosePopup","noRouteDismiss","noRefocus","noFocus","square","anchor","self","Array","scrollTarget","touchPosition","useModelToggleEmits","unwatchPosition","avoidAutoClose","refocusTarget","innerRef","showing","hideOnRouteChange","registerTick","removeTick","prepareTick","useTick","registerTimeout","removeTimeout","useTimeout","transition","transitionStyle","useTransition","localScrollTarget","changeScrollEvent","unconfigureScrollTarget","useScrollTarget","configureScrollTarget","canShow","useAnchor","hide","useModelToggle","handleShow","handleHide","processOnMount","showPortal","hidePortal","renderPortal","usePortal","renderPortalContent","clickOutsideProps","getEl","$el","onClickOutside","e","classList","contains","stopAndPrevent","lang","menuClass","onEvents","onClick","onAutoClose","handlesFocus","focus","addFocusFn","node","activeElement","querySelector","evt","addFocusout","onFocusout","contextMenu","screen","updatePosition","blur","platform","click","transitionDuration","anchorCleanup","qClickOutside","hiding","removeFocusout","removeClickOutside","removeEscapeKey","onEscapeKey","getScrollTarget","closePortalMenus","childHasFocus","appear","tabindex","addEscapeKey","addClickOutside","scrollFn","fn","fnProp","fnHandler","listenOpts","passive","noParentEventWatcher","noParentEvent","avoidEmit","configureAnchorEl","touchTimer","touches","anchorEvents","unconfigureAnchorEl","cleanEvt","setAnchorEl","parentNode","pickAnchorEl","toggle","toggleKey","isKeyCode","contextClick","nextTick","show","prevent","mobilePrevent","mobileTouch","mobileCleanup","add","addEvt","remove","clearSelection","context","evts","mobile","onMounted","modelValue","useRouterLinkProps","tag","active","clickable","insetLevel","focused","manualFocus","hasLink","linkProps","linkClass","linkTag","navigateToLink","useRouterLink","rootRef","blurTargetRef","isActionable","isClickable","disable","activeClass","dir","qKeyEvent","onKeyup","MouseEvent","dispatchEvent","hUniqueSlot","unshift","timer","notPassiveCapture","registeredList","hasModalsAbove","nextElementSibling","globalHandler","nodeType","i","state","addEventListener","findIndex","splice","removeEventListener","iterate","aCallable","anObject","getIteratorDirect","$TypeError","TypeError","real","reducer","record","noInitial","accumulator","counter","IS_RECORD","groupBy","xs","rv","x","snakeCaseToTitle","str","replace","map","word","toUpperCase","slice","toLowerCase","join","purposeCase","capitalizeFirstLetter","string","charAt","formatDate","_date","format","date","subtotal","items","total","item","quantity","price","calculateDiscount","discount_selected","discount","_subtotal","parseInt","grandTotal","details","shipping_fee","vat","discountAmount","truncateLengthyText","text","maxLength","substring","fails","module","exports","METHOD_NAME","argument","method","call","toObject","IndexedObject","lengthOfArrayLike","REDUCE_EMPTY","createMethod","IS_RIGHT","that","argumentsLength","memo","O","getSelection","selection","empty","removeAllRanges","Platform","addRange","createRange","_createElementBlock","_createVNode","_component_Preview","_createBlock","_component_q_page","id","_this$business","_this$business2","_this$business3","_this$business4","_this$invoice","_this$invoice2","_this$invoice3","_$data$invoice3","_$data$invoice4","_this$invoice4","_this$invoice5","_$data$invoice5","_$data$invoice6","_$data$invoice7","_this$invoice6","_this$invoice7","_$data$invoice8","_$data$invoice9","_$data$invoice10","_$data$invoice11","_$data$invoices_","_component_GoBack","_createElementVNode","_hoisted_1","_hoisted_2","_component_AppButton","textColor","_$data$invoice","_$data$invoice2","_hoisted_3","_toDisplayString","$options","$data","invoice","title","upload","filename","_component_q_menu","auto-close","_component_q_list","_Fragment","_renderList","invoices","_component_q_item","$event","invoiceIndex","_component_q_item_section","_invoice$upload","_hoisted_4","_hoisted_5","_normalizeClass","_ctx","_imports_0","_hoisted_6","_hoisted_7","_hoisted_8","business","_hoisted_9","email","_hoisted_10","phoneNumber","adjust","_component_q_img","imageUrl","_component_q_separator","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","bankName","_hoisted_15","accountNumber","adjustTwo","_hoisted_16","_hoisted_17","Date","issuedDate","toDateString","_hoisted_18","_hoisted_19","dueDate","resizes","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","formatMoney","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","shippingFee","_hoisted_29","_hoisted_30","discountType","discountValue","_hoisted_31","_hoisted_32","valueAddedTax","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","fee","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_imports_1","_hoisted_41","fileurl","_hoisted_42","getExtensionFromUrl","_hoisted_43","filesize","href","invoiceUrl","_hoisted_44","_hoisted_45","_hoisted_46","label","_cache","showConfirmModal","_component_ConfirmModal","showModal","showVendorsCount","vendorToBePaid","invoices_","amount","totalInvoices","totalInvoicesFee","totalAmount","showListOfMembers","teamMembers","dispayPin","btnLabel","btnText","onCloseCard","onSubmitted","pin","confirmPayment","_component_SuccessModal","showSuccessModal","successModalTitle","closeOrBackToHome","onBackToHomeButton","components","GoBack","AppButton","ConfirmModal","SuccessModal","vendorPaymentsService","discount_type","action","created","VendorPaymentsService","$api2","mounted","_this$invoices","JSON","parse","stringify","$store","commit","$router","getters","invoiceReferences","_subTotal","_this$invoices_","_this$invoices_2","methods","chunk","_res$data4","res","completeVendorPayment","transactionPin","references","success","payments","_invoice$discountType","_invoice$items","each","bankDetails","parseFloat","invoiceNo","subTotal","vendorDetails","businessName","address","phoneNo","note","_res$data","_res$data2","createVendorPayment","vendorPaymentData","vendorPaymentInvoiceReferences","isRequiredAuthorization","authorizationMode","_res$data3","approvals","error","_error$response","errMsg","response","showMessage","scrollTo","__exports__","QPage","QMenu","QList","QItem","QItemSection","QImg","QSeparator","Preview","render"],"mappings":"wJAEO,MAAMA,EAAgB,CAC3BC,MAAO,CAAEC,OAAQC,SAGJ,eAAUC,EAAOC,GAE9B,OAAOC,sBAAS,KACd,MAAML,EAAQE,OACZC,EAAMH,aAA2B,IAAjBI,EAA0BA,EAAaE,WAAQ,IAGjE,OAAwB,IAAjBC,MAAMP,IAAmBA,EAAQ,EACpC,CAAEQ,cAAmB,IAAMR,EAAV,KACjB,Q,sBCRR,MAAMS,EAAoB,CAAE,YAAa,mBACnCC,EAAgB,CAAE,QAAS,QAC3BC,EAAY,CAAE,QAAS,OAAQ,UAAW,OAAQ,cAClDC,EAAe,GAAK,EAEXC,oCAAgB,CAC7BC,KAAM,OAENX,MAAO,IACFJ,EAEHgB,IAAKd,OACLe,OAAQf,OACRgB,MAAOhB,OAEPiB,IAAKjB,OACLkB,YAAa,CACXC,KAAMnB,OACNoB,UAAWC,GAAOb,EAAkBc,SAASD,IAE/CE,UAAWC,QAEXC,QAAS,CACPN,KAAMnB,OACN0B,QAAS,OACTN,UAAWC,GAAOZ,EAAca,SAASD,IAE3CM,MAAO3B,OACP4B,OAAQ5B,OACR6B,aAAc,CACZV,KAAM,CAAElB,OAAQD,QAChB0B,QAASf,GAGXmB,eAAgB9B,OAEhB+B,IAAK,CACHZ,KAAMnB,OACN0B,QAAS,QACTN,UAAWC,GAAOX,EAAUY,SAASD,IAEvCW,SAAU,CACRb,KAAMnB,OACN0B,QAAS,WAGXO,SAAUjC,OACVkC,SAAUC,OAEVC,UAAWZ,QACXa,aAAcb,QACdc,aAAcd,QAEde,aAAcvC,OACdwC,YAAaxC,QAGfyC,MAAO,CAAE,OAAQ,SAEjBC,MAAOxC,GAAO,MAA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Bzd,KAAK2e,QAAS,OACT3e,KAAKwd,WAAY,aAElBxd,KAAKye,sBAAsBuB,sBAAsB,CACrDE,WAAYlgB,KAAKwf,oBAEnBxf,KAAKie,kBAAoB,wBACzBje,KAAK4c,kBAAmB,EACxB5c,KAAKge,kBAAmB,EAE1Bhe,KAAKnF,SAAU,GAejB,MAAO6mB,GAAO,IAAAC,EACd3hB,KAAKnF,SAAU,EACf,MAAM+mB,GACU,QAAdD,EAAAD,EAAMG,gBAAQ,IAAAF,GAAM,QAANA,EAAdA,EAAgBtjB,YAAI,IAAAsjB,OAAA,EAApBA,EAAsBD,QACtB,oDACF1hB,KAAK8hB,YAAY,QAASF,KAG9B1D,oBACEle,KAAKsf,QAAQvgB,KAAK,CAAE9E,KAAM,oBAC1ByI,OAAOqf,SAAS,EAAG,M,uJClfzB,MAAMC,GAA2B,KAAgB,GAAQ,CAAC,CAAC,SAAS,IAAQ,CAAC,YAAY,qBAE1E,UASf,KAAS,GAAQ,aAAc,CAACC,SAAA,KAAMC,SAAA,KAAMC,SAAA,KAAMC,SAAA,KAAMC,gBAAA,KAAaC,QAAA,KAAKC,cAAA,OFV3D,QACbnE,WAAY,CACVoE,aGLJ,MAAM,GAA2B,KAAgB,GAAQ,CAAC,CAAC,SAASC,KAErD","file":"js/chunk-61572cbb.1d4ec0d7.js","sourcesContent":["import { computed } from 'vue'\n\nexport const useRatioProps = {\n ratio: [ String, Number ]\n}\n\nexport default function (props, naturalRatio) {\n // return ratioStyle\n return computed(() => {\n const ratio = Number(\n props.ratio || (naturalRatio !== void 0 ? naturalRatio.value : void 0)\n )\n\n return isNaN(ratio) !== true && ratio > 0\n ? { paddingBottom: `${ 100 / ratio }%` }\n : null\n })\n}\n","import { h, defineComponent, ref, computed, watch, onMounted, onBeforeUnmount, Transition } from 'vue'\n\nimport QSpinner from '../spinner/QSpinner.js'\nimport useRatio, { useRatioProps } from '../../composables/private/use-ratio.js'\nimport { hSlot } from '../../utils/private/render.js'\nimport { isRuntimeSsrPreHydration } from '../../plugins/Platform.js'\n\nconst crossoriginValues = [ 'anonymous', 'use-credentials' ]\nconst loadingValues = [ 'eager', 'lazy' ]\nconst fitValues = [ 'cover', 'fill', 'contain', 'none', 'scale-down' ]\nconst defaultRatio = 16 / 9\n\nexport default defineComponent({\n name: 'QImg',\n\n props: {\n ...useRatioProps,\n\n src: String,\n srcset: String,\n sizes: String,\n\n alt: String,\n crossorigin: {\n type: String,\n validator: val => crossoriginValues.includes(val)\n },\n draggable: Boolean,\n\n loading: {\n type: String,\n default: 'lazy',\n validator: val => loadingValues.includes(val)\n },\n width: String,\n height: String,\n initialRatio: {\n type: [ Number, String ],\n default: defaultRatio\n },\n\n placeholderSrc: String,\n\n fit: {\n type: String,\n default: 'cover',\n validator: val => fitValues.includes(val)\n },\n position: {\n type: String,\n default: '50% 50%'\n },\n\n imgClass: String,\n imgStyle: Object,\n\n noSpinner: Boolean,\n noNativeMenu: Boolean,\n noTransition: Boolean,\n\n spinnerColor: String,\n spinnerSize: String\n },\n\n emits: [ 'load', 'error' ],\n\n setup (props, { slots, attrs, emit }) {\n const naturalRatio = ref(props.initialRatio)\n const ratioStyle = useRatio(props, naturalRatio)\n\n let loadTimer\n\n const images = [\n ref(null),\n ref(props.placeholderSrc !== void 0 ? { src: props.placeholderSrc } : null)\n ]\n\n const position = ref(0)\n\n const isLoading = ref(false)\n const hasError = ref(false)\n\n const classes = computed(() =>\n `q-img q-img--${ props.noNativeMenu === true ? 'no-' : '' }menu`\n )\n\n const style = computed(() => ({\n width: props.width,\n height: props.height\n }))\n\n const imgClass = computed(() =>\n `q-img__image ${ props.imgClass !== void 0 ? props.imgClass + ' ' : '' }`\n + `q-img__image--with${ props.noTransition === true ? 'out' : '' }-transition`\n )\n\n const imgStyle = computed(() => ({\n ...props.imgStyle,\n objectFit: props.fit,\n objectPosition: props.position\n }))\n\n watch(() => getCurrentSrc(), addImage)\n\n function getCurrentSrc () {\n return props.src || props.srcset || props.sizes\n ? {\n src: props.src,\n srcset: props.srcset,\n sizes: props.sizes\n }\n : null\n }\n\n function addImage (imgProps) {\n clearTimeout(loadTimer)\n hasError.value = false\n\n if (imgProps === null) {\n isLoading.value = false\n images[ 0 ].value = null\n images[ 1 ].value = null\n return\n }\n\n isLoading.value = true\n images[ position.value ].value = imgProps\n }\n\n function onLoad ({ target }) {\n // if component has been already destroyed\n if (loadTimer === null) { return }\n\n clearTimeout(loadTimer)\n\n naturalRatio.value = target.naturalHeight === 0\n ? 0.5\n : target.naturalWidth / target.naturalHeight\n\n waitForCompleteness(target, 1)\n }\n\n function waitForCompleteness (target, count) {\n // protect against running forever\n if (loadTimer === null || count === 1000) { return }\n\n if (target.complete === true) {\n onReady(target)\n }\n else {\n loadTimer = setTimeout(() => {\n waitForCompleteness(target, count + 1)\n }, 50)\n }\n }\n\n function onReady (img) {\n // if component has been already destroyed\n if (loadTimer === null) { return }\n\n position.value = position.value === 1 ? 0 : 1\n images[ position.value ].value = null\n isLoading.value = false\n hasError.value = false\n emit('load', img.currentSrc || img.src)\n }\n\n function onError (err) {\n clearTimeout(loadTimer)\n isLoading.value = false\n hasError.value = true\n images[ 0 ].value = null\n images[ 1 ].value = null\n emit('error', err)\n }\n\n function getContainer (key, child) {\n return h(\n 'div',\n { class: 'q-img__container absolute-full', key },\n child\n )\n }\n\n function getImage (index) {\n const img = images[ index ].value\n\n const data = {\n key: 'img_' + index,\n ...attrs,\n class: imgClass.value,\n style: imgStyle.value,\n crossorigin: props.crossorigin,\n height: props.height,\n width: props.width,\n loading: props.loading,\n 'aria-hidden': 'true',\n draggable: props.draggable,\n ...img\n }\n\n if (position.value === index) {\n data.class += ' q-img__image--waiting'\n Object.assign(data, { onLoad, onError })\n }\n else {\n data.class += ' q-img__image--loaded'\n }\n\n return getContainer('img' + index, h('img', data))\n }\n\n function getContent () {\n if (isLoading.value !== true) {\n return h('div', {\n key: 'content',\n class: 'q-img__content absolute-full q-anchor--skip'\n }, hSlot(slots[ hasError.value === true ? 'error' : 'default' ]))\n }\n\n return h('div', {\n key: 'loading',\n class: 'q-img__loading absolute-full flex flex-center'\n }, (\n slots.loading !== void 0\n ? slots.loading()\n : (\n props.noSpinner === true\n ? void 0\n : [\n h(QSpinner, {\n color: props.spinnerColor,\n size: props.spinnerSize\n })\n ]\n )\n ))\n }\n\n if (__QUASAR_SSR_SERVER__ !== true) {\n if (__QUASAR_SSR_CLIENT__ && isRuntimeSsrPreHydration.value === true) {\n onMounted(() => {\n addImage(getCurrentSrc())\n })\n }\n else {\n addImage(getCurrentSrc())\n }\n\n onBeforeUnmount(() => {\n clearTimeout(loadTimer)\n loadTimer = null\n })\n }\n\n return () => {\n const content = []\n\n if (ratioStyle.value !== null) {\n content.push(\n h('div', { key: 'filler', style: ratioStyle.value })\n )\n }\n\n if (hasError.value !== true) {\n if (images[ 0 ].value !== null) {\n content.push(getImage(0))\n }\n\n if (images[ 1 ].value !== null) {\n content.push(getImage(1))\n }\n }\n\n content.push(\n h(Transition, { name: 'q-transition--fade' }, getContent)\n )\n\n return h('div', {\n class: classes.value,\n style: style.value,\n role: 'img',\n 'aria-label': props.alt\n }, content)\n }\n }\n})\n","'use strict';\nvar $ = require('../internals/export');\nvar $reduce = require('../internals/array-reduce').left;\nvar arrayMethodIsStrict = require('../internals/array-method-is-strict');\nvar CHROME_VERSION = require('../internals/environment-v8-version');\nvar IS_NODE = require('../internals/environment-is-node');\n\n// Chrome 80-82 has a critical bug\n// https://bugs.chromium.org/p/chromium/issues/detail?id=1049982\nvar CHROME_BUG = !IS_NODE && CHROME_VERSION > 79 && CHROME_VERSION < 83;\nvar FORCED = CHROME_BUG || !arrayMethodIsStrict('reduce');\n\n// `Array.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-array.prototype.reduce\n$({ target: 'Array', proto: true, forced: FORCED }, {\n reduce: function reduce(callbackfn /* , initialValue */) {\n var length = arguments.length;\n return $reduce(this, callbackfn, length, length > 1 ? arguments[1] : undefined);\n }\n});\n","import { h, defineComponent, computed, getCurrentInstance } from 'vue'\n\nimport useDark, { useDarkProps } from '../../composables/private/use-dark.js'\n\nimport { hSlot } from '../../utils/private/render.js'\n\nexport default defineComponent({\n name: 'QList',\n\n props: {\n ...useDarkProps,\n\n bordered: Boolean,\n dense: Boolean,\n separator: Boolean,\n padding: Boolean\n },\n\n setup (props, { slots }) {\n const vm = getCurrentInstance()\n const isDark = useDark(props, vm.proxy.$q)\n\n const classes = computed(() =>\n 'q-list'\n + (props.bordered === true ? ' q-list--bordered' : '')\n + (props.dense === true ? ' q-list--dense' : '')\n + (props.separator === true ? ' q-list--separator' : '')\n + (isDark.value === true ? ' q-list--dark' : '')\n + (props.padding === true ? ' q-list--padding' : '')\n )\n\n return () => h('div', { class: classes.value }, hSlot(slots.default))\n }\n})\n","import { getScrollbarWidth } from '../scroll.js'\nimport { client } from '../../plugins/Platform.js'\n\nlet vpLeft, vpTop\n\nexport function validatePosition (pos) {\n const parts = pos.split(' ')\n if (parts.length !== 2) {\n return false\n }\n if ([ 'top', 'center', 'bottom' ].includes(parts[ 0 ]) !== true) {\n console.error('Anchor/Self position must start with one of top/center/bottom')\n return false\n }\n if ([ 'left', 'middle', 'right', 'start', 'end' ].includes(parts[ 1 ]) !== true) {\n console.error('Anchor/Self position must end with one of left/middle/right/start/end')\n return false\n }\n return true\n}\n\nexport function validateOffset (val) {\n if (!val) { return true }\n if (val.length !== 2) { return false }\n if (typeof val[ 0 ] !== 'number' || typeof val[ 1 ] !== 'number') {\n return false\n }\n return true\n}\n\nconst horizontalPos = {\n 'start#ltr': 'left',\n 'start#rtl': 'right',\n 'end#ltr': 'right',\n 'end#rtl': 'left'\n}\n\n;[ 'left', 'middle', 'right' ].forEach(pos => {\n horizontalPos[ `${ pos }#ltr` ] = pos\n horizontalPos[ `${ pos }#rtl` ] = pos\n})\n\nexport function parsePosition (pos, rtl) {\n const parts = pos.split(' ')\n return {\n vertical: parts[ 0 ],\n horizontal: horizontalPos[ `${ parts[ 1 ] }#${ rtl === true ? 'rtl' : 'ltr' }` ]\n }\n}\n\nexport function validateCover (val) {\n if (val === true || val === false) { return true }\n return validatePosition(val)\n}\n\nexport function getAnchorProps (el, offset) {\n let { top, left, right, bottom, width, height } = el.getBoundingClientRect()\n\n if (offset !== void 0) {\n top -= offset[ 1 ]\n left -= offset[ 0 ]\n bottom += offset[ 1 ]\n right += offset[ 0 ]\n\n width += offset[ 0 ]\n height += offset[ 1 ]\n }\n\n return {\n top,\n left,\n right,\n bottom,\n width,\n height,\n middle: left + (right - left) / 2,\n center: top + (bottom - top) / 2\n }\n}\n\nexport function getTargetProps (el) {\n return {\n top: 0,\n center: el.offsetHeight / 2,\n bottom: el.offsetHeight,\n left: 0,\n middle: el.offsetWidth / 2,\n right: el.offsetWidth\n }\n}\n\n// cfg: { el, anchorEl, anchorOrigin, selfOrigin, offset, absoluteOffset, cover, fit, maxHeight, maxWidth }\nexport function setPosition (cfg) {\n if (client.is.ios === true && window.visualViewport !== void 0) {\n // uses the q-position-engine CSS class\n\n const el = document.body.style\n const { offsetLeft: left, offsetTop: top } = window.visualViewport\n\n if (left !== vpLeft) {\n el.setProperty('--q-pe-left', left + 'px')\n vpLeft = left\n }\n if (top !== vpTop) {\n el.setProperty('--q-pe-top', top + 'px')\n vpTop = top\n }\n }\n\n let anchorProps\n\n // scroll position might change\n // if max-height/-width changes, so we\n // need to restore it after we calculate\n // the new positioning\n const { scrollLeft, scrollTop } = cfg.el\n\n if (cfg.absoluteOffset === void 0) {\n anchorProps = getAnchorProps(cfg.anchorEl, cfg.cover === true ? [ 0, 0 ] : cfg.offset)\n }\n else {\n const\n { top: anchorTop, left: anchorLeft } = cfg.anchorEl.getBoundingClientRect(),\n top = anchorTop + cfg.absoluteOffset.top,\n left = anchorLeft + cfg.absoluteOffset.left\n\n anchorProps = { top, left, width: 1, height: 1, right: left + 1, center: top, middle: left, bottom: top + 1 }\n }\n\n let elStyle = {\n maxHeight: cfg.maxHeight,\n maxWidth: cfg.maxWidth,\n visibility: 'visible'\n }\n\n if (cfg.fit === true || cfg.cover === true) {\n elStyle.minWidth = anchorProps.width + 'px'\n if (cfg.cover === true) {\n elStyle.minHeight = anchorProps.height + 'px'\n }\n }\n\n Object.assign(cfg.el.style, elStyle)\n\n const\n targetProps = getTargetProps(cfg.el),\n props = {\n top: anchorProps[ cfg.anchorOrigin.vertical ] - targetProps[ cfg.selfOrigin.vertical ],\n left: anchorProps[ cfg.anchorOrigin.horizontal ] - targetProps[ cfg.selfOrigin.horizontal ]\n }\n\n applyBoundaries(props, anchorProps, targetProps, cfg.anchorOrigin, cfg.selfOrigin)\n\n elStyle = {\n top: props.top + 'px',\n left: props.left + 'px'\n }\n\n if (props.maxHeight !== void 0) {\n elStyle.maxHeight = props.maxHeight + 'px'\n\n if (anchorProps.height > props.maxHeight) {\n elStyle.minHeight = elStyle.maxHeight\n }\n }\n if (props.maxWidth !== void 0) {\n elStyle.maxWidth = props.maxWidth + 'px'\n\n if (anchorProps.width > props.maxWidth) {\n elStyle.minWidth = elStyle.maxWidth\n }\n }\n\n Object.assign(cfg.el.style, elStyle)\n\n // restore scroll position\n if (cfg.el.scrollTop !== scrollTop) {\n cfg.el.scrollTop = scrollTop\n }\n if (cfg.el.scrollLeft !== scrollLeft) {\n cfg.el.scrollLeft = scrollLeft\n }\n}\n\nfunction applyBoundaries (props, anchorProps, targetProps, anchorOrigin, selfOrigin) {\n const\n currentHeight = targetProps.bottom,\n currentWidth = targetProps.right,\n margin = getScrollbarWidth(),\n innerHeight = window.innerHeight - margin,\n innerWidth = document.body.clientWidth\n\n if (props.top < 0 || props.top + currentHeight > innerHeight) {\n if (selfOrigin.vertical === 'center') {\n props.top = anchorProps[ anchorOrigin.vertical ] > innerHeight / 2\n ? Math.max(0, innerHeight - currentHeight)\n : 0\n props.maxHeight = Math.min(currentHeight, innerHeight)\n }\n else if (anchorProps[ anchorOrigin.vertical ] > innerHeight / 2) {\n const anchorY = Math.min(\n innerHeight,\n anchorOrigin.vertical === 'center'\n ? anchorProps.center\n : (anchorOrigin.vertical === selfOrigin.vertical ? anchorProps.bottom : anchorProps.top)\n )\n props.maxHeight = Math.min(currentHeight, anchorY)\n props.top = Math.max(0, anchorY - currentHeight)\n }\n else {\n props.top = Math.max(0, anchorOrigin.vertical === 'center'\n ? anchorProps.center\n : (anchorOrigin.vertical === selfOrigin.vertical ? anchorProps.top : anchorProps.bottom)\n )\n props.maxHeight = Math.min(currentHeight, innerHeight - props.top)\n }\n }\n\n if (props.left < 0 || props.left + currentWidth > innerWidth) {\n props.maxWidth = Math.min(currentWidth, innerWidth)\n if (selfOrigin.horizontal === 'middle') {\n props.left = anchorProps[ anchorOrigin.horizontal ] > innerWidth / 2\n ? Math.max(0, innerWidth - currentWidth)\n : 0\n }\n else if (anchorProps[ anchorOrigin.horizontal ] > innerWidth / 2) {\n const anchorX = Math.min(\n innerWidth,\n anchorOrigin.horizontal === 'middle'\n ? anchorProps.middle\n : (anchorOrigin.horizontal === selfOrigin.horizontal ? anchorProps.right : anchorProps.left)\n )\n props.maxWidth = Math.min(currentWidth, anchorX)\n props.left = Math.max(0, anchorX - props.maxWidth)\n }\n else {\n props.left = Math.max(0, anchorOrigin.horizontal === 'middle'\n ? anchorProps.middle\n : (anchorOrigin.horizontal === selfOrigin.horizontal ? anchorProps.left : anchorProps.right)\n )\n props.maxWidth = Math.min(currentWidth, innerWidth - props.left)\n }\n }\n}\n","import { h, defineComponent, computed } from 'vue'\n\nimport { hSlot } from '../../utils/private/render.js'\n\nexport default defineComponent({\n name: 'QItemSection',\n\n props: {\n avatar: Boolean,\n thumbnail: Boolean,\n side: Boolean,\n top: Boolean,\n noWrap: Boolean\n },\n\n setup (props, { slots }) {\n const classes = computed(() =>\n 'q-item__section column'\n + ` q-item__section--${ props.avatar === true || props.side === true || props.thumbnail === true ? 'side' : 'main' }`\n + (props.top === true ? ' q-item__section--top justify-start' : ' justify-center')\n + (props.avatar === true ? ' q-item__section--avatar' : '')\n + (props.thumbnail === true ? ' q-item__section--thumbnail' : '')\n + (props.noWrap === true ? ' q-item__section--nowrap' : '')\n )\n\n return () => h('div', { class: classes.value }, hSlot(slots.default))\n }\n})\n","import { h, defineComponent, ref, computed, watch, Transition, onBeforeUnmount, getCurrentInstance } from 'vue'\n\nimport useAnchor, { useAnchorProps } from '../../composables/private/use-anchor.js'\nimport useScrollTarget from '../../composables/private/use-scroll-target.js'\nimport useModelToggle, { useModelToggleProps, useModelToggleEmits } from '../../composables/private/use-model-toggle.js'\nimport useDark, { useDarkProps } from '../../composables/private/use-dark.js'\nimport usePortal from '../../composables/private/use-portal.js'\nimport useTransition, { useTransitionProps } from '../../composables/private/use-transition.js'\nimport useTick from '../../composables/private/use-tick.js'\nimport useTimeout from '../../composables/private/use-timeout.js'\n\nimport { closePortalMenus } from '../../utils/private/portal.js'\nimport { getScrollTarget } from '../../utils/scroll.js'\nimport { position, stopAndPrevent } from '../../utils/event.js'\nimport { hSlot } from '../../utils/private/render.js'\nimport { addEscapeKey, removeEscapeKey } from '../../utils/private/escape-key.js'\nimport { addFocusout, removeFocusout } from '../../utils/private/focusout.js'\nimport { childHasFocus } from '../../utils/dom.js'\nimport { addClickOutside, removeClickOutside } from '../../utils/private/click-outside.js'\n\nimport {\n validatePosition, validateOffset, setPosition, parsePosition\n} from '../../utils/private/position-engine.js'\nimport { addFocusFn } from '../../utils/private/focus-manager.js'\n\nexport default defineComponent({\n name: 'QMenu',\n\n inheritAttrs: false,\n\n props: {\n ...useAnchorProps,\n ...useModelToggleProps,\n ...useDarkProps,\n ...useTransitionProps,\n\n persistent: Boolean,\n autoClose: Boolean,\n separateClosePopup: Boolean,\n\n noRouteDismiss: Boolean,\n noRefocus: Boolean,\n noFocus: Boolean,\n\n fit: Boolean,\n cover: Boolean,\n\n square: Boolean,\n\n anchor: {\n type: String,\n validator: validatePosition\n },\n self: {\n type: String,\n validator: validatePosition\n },\n offset: {\n type: Array,\n validator: validateOffset\n },\n\n scrollTarget: {\n default: void 0\n },\n\n touchPosition: Boolean,\n\n maxHeight: {\n type: String,\n default: null\n },\n maxWidth: {\n type: String,\n default: null\n }\n },\n\n emits: [\n ...useModelToggleEmits,\n 'click', 'escape-key'\n ],\n\n setup (props, { slots, emit, attrs }) {\n let refocusTarget = null, absoluteOffset, unwatchPosition, avoidAutoClose\n\n const vm = getCurrentInstance()\n const { proxy } = vm\n const { $q } = proxy\n\n const innerRef = ref(null)\n const showing = ref(false)\n\n const hideOnRouteChange = computed(() =>\n props.persistent !== true\n && props.noRouteDismiss !== true\n )\n\n const isDark = useDark(props, $q)\n const { registerTick, removeTick, prepareTick } = useTick()\n const { registerTimeout, removeTimeout } = useTimeout()\n const { transition, transitionStyle } = useTransition(props, showing)\n const { localScrollTarget, changeScrollEvent, unconfigureScrollTarget } = useScrollTarget(props, configureScrollTarget)\n\n const { anchorEl, canShow } = useAnchor({ showing })\n\n const { hide } = useModelToggle({\n showing, canShow, handleShow, handleHide,\n hideOnRouteChange,\n processOnMount: true\n })\n\n const { showPortal, hidePortal, renderPortal } = usePortal(vm, innerRef, renderPortalContent)\n\n const clickOutsideProps = {\n anchorEl,\n innerRef,\n getEl: () => proxy.$el,\n onClickOutside (e) {\n if (props.persistent !== true && showing.value === true) {\n hide(e)\n\n if (\n // always prevent touch event\n e.type === 'touchstart'\n // prevent click if it's on a dialog backdrop\n || e.target.classList.contains('q-dialog__backdrop')\n ) {\n stopAndPrevent(e)\n }\n\n return true\n }\n }\n }\n\n const anchorOrigin = computed(() =>\n parsePosition(\n props.anchor || (\n props.cover === true ? 'center middle' : 'bottom start'\n ),\n $q.lang.rtl\n )\n )\n\n const selfOrigin = computed(() => (\n props.cover === true\n ? anchorOrigin.value\n : parsePosition(props.self || 'top start', $q.lang.rtl)\n ))\n\n const menuClass = computed(() =>\n (props.square === true ? ' q-menu--square' : '')\n + (isDark.value === true ? ' q-menu--dark q-dark' : '')\n )\n\n const onEvents = computed(() => (\n props.autoClose === true\n ? { onClick: onAutoClose }\n : {}\n ))\n\n const handlesFocus = computed(() =>\n showing.value === true && props.persistent !== true\n )\n\n watch(handlesFocus, val => {\n if (val === true) {\n addEscapeKey(onEscapeKey)\n addClickOutside(clickOutsideProps)\n }\n else {\n removeEscapeKey(onEscapeKey)\n removeClickOutside(clickOutsideProps)\n }\n })\n\n function focus () {\n addFocusFn(() => {\n let node = innerRef.value\n\n if (node && node.contains(document.activeElement) !== true) {\n node = node.querySelector('[autofocus], [data-autofocus]') || node\n node.focus()\n }\n })\n }\n\n function handleShow (evt) {\n removeTick()\n removeTimeout()\n\n refocusTarget = props.noRefocus === false\n ? document.activeElement\n : null\n\n addFocusout(onFocusout)\n\n showPortal()\n configureScrollTarget()\n\n absoluteOffset = void 0\n\n if (evt !== void 0 && (props.touchPosition || props.contextMenu)) {\n const pos = position(evt)\n\n if (pos.left !== void 0) {\n const { top, left } = anchorEl.value.getBoundingClientRect()\n absoluteOffset = { left: pos.left - left, top: pos.top - top }\n }\n }\n\n if (unwatchPosition === void 0) {\n unwatchPosition = watch(\n () => $q.screen.width + '|' + $q.screen.height + '|' + props.self + '|' + props.anchor + '|' + $q.lang.rtl,\n updatePosition\n )\n }\n\n if (props.noFocus !== true) {\n document.activeElement.blur()\n }\n\n registerTick(() => {\n updatePosition()\n props.noFocus !== true && focus()\n })\n prepareTick()\n\n registerTimeout(() => {\n // required in order to avoid the \"double-tap needed\" issue\n if ($q.platform.is.ios === true) {\n // if auto-close, then this click should\n // not close the menu\n avoidAutoClose = props.autoClose\n innerRef.value.click()\n }\n\n updatePosition()\n showPortal(true) // done showing portal\n emit('show', evt)\n }, props.transitionDuration)\n }\n\n function handleHide (evt) {\n removeTick()\n removeTimeout()\n\n anchorCleanup(true)\n\n if (\n refocusTarget !== null\n && (\n // menu was hidden from code or ESC plugin\n evt === void 0\n // menu was not closed from a mouse or touch clickOutside\n || evt.qClickOutside !== true\n )\n ) {\n refocusTarget.focus()\n }\n\n registerTimeout(() => {\n hidePortal()\n emit('hide', evt)\n }, props.transitionDuration)\n }\n\n function anchorCleanup (hiding) {\n absoluteOffset = void 0\n\n if (unwatchPosition !== void 0) {\n unwatchPosition()\n unwatchPosition = void 0\n }\n\n if (hiding === true || showing.value === true) {\n removeFocusout(onFocusout)\n unconfigureScrollTarget()\n removeClickOutside(clickOutsideProps)\n removeEscapeKey(onEscapeKey)\n }\n }\n\n function configureScrollTarget () {\n if (anchorEl.value !== null || props.scrollTarget !== void 0) {\n localScrollTarget.value = getScrollTarget(anchorEl.value, props.scrollTarget)\n changeScrollEvent(localScrollTarget.value, updatePosition)\n }\n }\n\n function onAutoClose (e) {\n // if auto-close, then the ios double-tap fix which\n // issues a click should not close the menu\n if (avoidAutoClose !== true) {\n closePortalMenus(proxy, e)\n emit('click', e)\n }\n else {\n avoidAutoClose = false\n }\n }\n\n function onFocusout (evt) {\n // the focus is not in a vue child component\n if (\n handlesFocus.value === true\n && childHasFocus(innerRef.value, evt.target) !== true\n ) {\n focus()\n }\n }\n\n function onEscapeKey (evt) {\n emit('escape-key')\n hide(evt)\n }\n\n function updatePosition () {\n const el = innerRef.value\n\n if (el === null || anchorEl.value === null) {\n return\n }\n\n setPosition({\n el,\n offset: props.offset,\n anchorEl: anchorEl.value,\n anchorOrigin: anchorOrigin.value,\n selfOrigin: selfOrigin.value,\n absoluteOffset,\n fit: props.fit,\n cover: props.cover,\n maxHeight: props.maxHeight,\n maxWidth: props.maxWidth\n })\n }\n\n function renderPortalContent () {\n return h(\n Transition,\n { name: transition.value, appear: true },\n () => (\n showing.value === true\n ? h('div', {\n ...attrs,\n ref: innerRef,\n tabindex: -1,\n class: [\n 'q-menu q-position-engine scroll' + menuClass.value,\n attrs.class\n ],\n style: [ attrs.style, transitionStyle.value ],\n ...onEvents.value\n }, hSlot(slots.default))\n : null\n )\n )\n }\n\n onBeforeUnmount(anchorCleanup)\n\n // expose public methods\n Object.assign(proxy, { focus, updatePosition })\n\n return renderPortal\n }\n})\n","export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../../node_modules/vue-cli-plugin-quasar/lib/loader.vue.auto-import-quasar.js??ref--1-0!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-1!../../../../../node_modules/vue-loader-v16/dist/index.js??ref--1-2!./preview.vue?vue&type=style&index=0&id=4296404a&lang=scss&scoped=true\"","import { ref, watch, onBeforeUnmount } from 'vue'\n\nimport { listenOpts } from '../../utils/event.js'\n\nexport default function (\n props,\n configureScrollTarget\n) {\n const localScrollTarget = ref(null)\n let scrollFn\n\n function changeScrollEvent (scrollTarget, fn) {\n const fnProp = `${ fn !== void 0 ? 'add' : 'remove' }EventListener`\n const fnHandler = fn !== void 0 ? fn : scrollFn\n\n if (scrollTarget !== window) {\n scrollTarget[ fnProp ]('scroll', fnHandler, listenOpts.passive)\n }\n\n window[ fnProp ]('scroll', fnHandler, listenOpts.passive)\n\n scrollFn = fn\n }\n\n function unconfigureScrollTarget () {\n if (localScrollTarget.value !== null) {\n changeScrollEvent(localScrollTarget.value)\n localScrollTarget.value = null\n }\n }\n\n const noParentEventWatcher = watch(() => props.noParentEvent, () => {\n if (localScrollTarget.value !== null) {\n unconfigureScrollTarget()\n configureScrollTarget()\n }\n })\n\n onBeforeUnmount(noParentEventWatcher)\n\n return {\n localScrollTarget,\n unconfigureScrollTarget,\n changeScrollEvent\n }\n}\n","import { ref, watch, onMounted, onBeforeUnmount, nextTick, getCurrentInstance } from 'vue'\n\nimport { clearSelection } from '../../utils/private/selection.js'\nimport { addEvt, cleanEvt, prevent } from '../../utils/event.js'\nimport { isKeyCode } from '../../utils/private/key-composition.js'\n\nexport const useAnchorProps = {\n target: {\n default: true\n },\n noParentEvent: Boolean,\n contextMenu: Boolean\n}\n\nexport default function ({\n showing,\n avoidEmit, // required for QPopupProxy (true)\n configureAnchorEl // optional\n}) {\n const { props, proxy, emit } = getCurrentInstance()\n\n const anchorEl = ref(null)\n\n let touchTimer\n\n function canShow (evt) {\n // abort with no parent configured or on multi-touch\n return anchorEl.value === null\n ? false\n : (evt === void 0 || evt.touches === void 0 || evt.touches.length <= 1)\n }\n\n const anchorEvents = {}\n\n if (configureAnchorEl === void 0) {\n // default configureAnchorEl is designed for\n // QMenu & QPopupProxy (which is why it's handled here)\n\n Object.assign(anchorEvents, {\n hide (evt) {\n proxy.hide(evt)\n },\n\n toggle (evt) {\n proxy.toggle(evt)\n },\n\n toggleKey (evt) {\n isKeyCode(evt, 13) === true && proxy.toggle(evt)\n },\n\n contextClick (evt) {\n proxy.hide(evt)\n nextTick(() => { proxy.show(evt) })\n prevent(evt)\n },\n\n mobilePrevent: prevent,\n\n mobileTouch (evt) {\n anchorEvents.mobileCleanup(evt)\n\n if (canShow(evt) !== true) {\n return\n }\n\n proxy.hide(evt)\n anchorEl.value.classList.add('non-selectable')\n\n const target = evt.target\n addEvt(anchorEvents, 'anchor', [\n [ target, 'touchmove', 'mobileCleanup', 'passive' ],\n [ target, 'touchend', 'mobileCleanup', 'passive' ],\n [ target, 'touchcancel', 'mobileCleanup', 'passive' ],\n [ anchorEl.value, 'contextmenu', 'mobilePrevent', 'notPassive' ]\n ])\n\n touchTimer = setTimeout(() => {\n proxy.show(evt)\n }, 300)\n },\n\n mobileCleanup (evt) {\n anchorEl.value.classList.remove('non-selectable')\n clearTimeout(touchTimer)\n\n if (showing.value === true && evt !== void 0) {\n clearSelection()\n }\n }\n })\n\n configureAnchorEl = function (context = props.contextMenu) {\n if (props.noParentEvent === true || anchorEl.value === null) { return }\n\n let evts\n\n if (context === true) {\n if (proxy.$q.platform.is.mobile === true) {\n evts = [\n [ anchorEl.value, 'touchstart', 'mobileTouch', 'passive' ]\n ]\n }\n else {\n evts = [\n [ anchorEl.value, 'click', 'hide', 'passive' ],\n [ anchorEl.value, 'contextmenu', 'contextClick', 'notPassive' ]\n ]\n }\n }\n else {\n evts = [\n [ anchorEl.value, 'click', 'toggle', 'passive' ],\n [ anchorEl.value, 'keyup', 'toggleKey', 'passive' ]\n ]\n }\n\n addEvt(anchorEvents, 'anchor', evts)\n }\n }\n\n function unconfigureAnchorEl () {\n cleanEvt(anchorEvents, 'anchor')\n }\n\n function setAnchorEl (el) {\n anchorEl.value = el\n while (anchorEl.value.classList.contains('q-anchor--skip')) {\n anchorEl.value = anchorEl.value.parentNode\n }\n configureAnchorEl()\n }\n\n function pickAnchorEl () {\n if (props.target === false || props.target === '') {\n anchorEl.value = null\n }\n else if (props.target === true) {\n setAnchorEl(proxy.$el.parentNode)\n }\n else {\n let el = props.target\n\n if (typeof props.target === 'string') {\n try {\n el = document.querySelector(props.target)\n }\n catch (err) {\n el = void 0\n }\n }\n\n if (el !== void 0 && el !== null) {\n anchorEl.value = el.$el || el\n configureAnchorEl()\n }\n else {\n anchorEl.value = null\n console.error(`Anchor: target \"${ props.target }\" not found`)\n }\n }\n }\n\n watch(() => props.contextMenu, val => {\n if (anchorEl.value !== null) {\n unconfigureAnchorEl()\n configureAnchorEl(val)\n }\n })\n\n watch(() => props.target, () => {\n if (anchorEl.value !== null) {\n unconfigureAnchorEl()\n }\n\n pickAnchorEl()\n })\n\n watch(() => props.noParentEvent, val => {\n if (anchorEl.value !== null) {\n if (val === true) {\n unconfigureAnchorEl()\n }\n else {\n configureAnchorEl()\n }\n }\n })\n\n onMounted(() => {\n pickAnchorEl()\n\n if (avoidEmit !== true && props.modelValue === true && anchorEl.value === null) {\n emit('update:modelValue', false)\n }\n })\n\n onBeforeUnmount(() => {\n clearTimeout(touchTimer)\n unconfigureAnchorEl()\n })\n\n return {\n anchorEl,\n canShow,\n anchorEvents\n }\n}\n","import { h, defineComponent, ref, computed, getCurrentInstance } from 'vue'\n\nimport useDark, { useDarkProps } from '../../composables/private/use-dark.js'\nimport useRouterLink, { useRouterLinkProps } from '../../composables/private/use-router-link.js'\n\nimport { hUniqueSlot } from '../../utils/private/render.js'\nimport { stopAndPrevent } from '../../utils/event.js'\nimport { isKeyCode } from '../../utils/private/key-composition.js'\n\nexport default defineComponent({\n name: 'QItem',\n\n props: {\n ...useDarkProps,\n ...useRouterLinkProps,\n\n tag: {\n type: String,\n default: 'div'\n },\n\n active: Boolean,\n\n clickable: Boolean,\n dense: Boolean,\n insetLevel: Number,\n\n tabindex: [ String, Number ],\n\n focused: Boolean,\n manualFocus: Boolean\n },\n\n emits: [ 'click', 'keyup' ],\n\n setup (props, { slots, emit }) {\n const { proxy: { $q } } = getCurrentInstance()\n\n const isDark = useDark(props, $q)\n const { hasLink, linkProps, linkClass, linkTag, navigateToLink } = useRouterLink()\n\n const rootRef = ref(null)\n const blurTargetRef = ref(null)\n\n const isActionable = computed(() =>\n props.clickable === true\n || hasLink.value === true\n || props.tag === 'a'\n || props.tag === 'label'\n )\n\n const isClickable = computed(() =>\n props.disable !== true && isActionable.value === true\n )\n\n const classes = computed(() =>\n 'q-item q-item-type row no-wrap'\n + (props.dense === true ? ' q-item--dense' : '')\n + (isDark.value === true ? ' q-item--dark' : '')\n + (\n hasLink.value === true\n ? linkClass.value\n : (\n props.active === true\n ? `${ props.activeClass !== void 0 ? ` ${ props.activeClass }` : '' } q-item--active`\n : ''\n )\n )\n + (props.disable === true ? ' disabled' : '')\n + (\n isClickable.value === true\n ? ' q-item--clickable q-link cursor-pointer '\n + (props.manualFocus === true ? 'q-manual-focusable' : 'q-focusable q-hoverable')\n + (props.focused === true ? ' q-manual-focusable--focused' : '')\n : ''\n )\n )\n\n const style = computed(() => {\n if (props.insetLevel === void 0) {\n return null\n }\n\n const dir = $q.lang.rtl === true ? 'Right' : 'Left'\n return {\n [ 'padding' + dir ]: (16 + props.insetLevel * 56) + 'px'\n }\n })\n\n function onClick (e) {\n if (isClickable.value === true) {\n if (blurTargetRef.value !== null) {\n if (e.qKeyEvent !== true && document.activeElement === rootRef.value) {\n blurTargetRef.value.focus()\n }\n else if (document.activeElement === blurTargetRef.value) {\n rootRef.value.focus()\n }\n }\n\n hasLink.value === true && navigateToLink(e)\n emit('click', e)\n }\n }\n\n function onKeyup (e) {\n if (isClickable.value === true && isKeyCode(e, 13) === true) {\n stopAndPrevent(e)\n\n // for ripple\n e.qKeyEvent = true\n\n // for click trigger\n const evt = new MouseEvent('click', e)\n evt.qKeyEvent = true\n rootRef.value.dispatchEvent(evt)\n }\n\n emit('keyup', e)\n }\n\n function getContent () {\n const child = hUniqueSlot(slots.default, [])\n\n isClickable.value === true && child.unshift(\n h('div', { class: 'q-focus-helper', tabindex: -1, ref: blurTargetRef })\n )\n\n return child\n }\n\n return () => {\n const data = {\n ref: rootRef,\n class: classes.value,\n style: style.value,\n onClick,\n onKeyup\n }\n\n if (isClickable.value === true) {\n data.tabindex = props.tabindex || '0'\n Object.assign(data, linkProps.value)\n }\n else if (isActionable.value === true) {\n data[ 'aria-disabled' ] = 'true'\n }\n\n return h(\n linkTag.value,\n data,\n getContent()\n )\n }\n }\n})\n","import { listenOpts } from '../event.js'\n\nlet timer\n\nconst\n { notPassiveCapture } = listenOpts,\n registeredList = []\n\nfunction hasModalsAbove (node) {\n while ((node = node.nextElementSibling) !== null) {\n if (node.classList.contains('q-dialog--modal')) {\n return true\n }\n }\n\n return false\n}\n\nfunction globalHandler (evt) {\n clearTimeout(timer)\n\n const target = evt.target\n\n if (\n target === void 0\n || target.nodeType === 8\n || target.classList.contains('no-pointer-events') === true\n ) {\n return\n }\n\n for (let i = registeredList.length - 1; i >= 0; i--) {\n const state = registeredList[ i ]\n if (\n (\n state.anchorEl.value === null\n || state.anchorEl.value.contains(target) === false\n )\n && (\n target === document.body\n || (state.innerRef.value !== null && state.innerRef.value.contains(target) === false)\n )\n && (\n state.getEl !== void 0\n ? hasModalsAbove(state.getEl()) !== true\n : true\n )\n ) {\n // mark the event as being processed by clickOutside\n // used to prevent refocus after menu close\n evt.qClickOutside = true\n state.onClickOutside(evt)\n }\n else {\n return\n }\n }\n}\n\nexport function addClickOutside (clickOutsideProps) {\n registeredList.push(clickOutsideProps)\n\n if (registeredList.length === 1) {\n document.addEventListener('mousedown', globalHandler, notPassiveCapture)\n document.addEventListener('touchstart', globalHandler, notPassiveCapture)\n }\n}\n\nexport function removeClickOutside (clickOutsideProps) {\n const index = registeredList.findIndex(h => h === clickOutsideProps)\n\n if (index > -1) {\n registeredList.splice(index, 1)\n\n if (registeredList.length === 0) {\n clearTimeout(timer)\n document.removeEventListener('mousedown', globalHandler, notPassiveCapture)\n document.removeEventListener('touchstart', globalHandler, notPassiveCapture)\n }\n }\n}\n","'use strict';\nvar $ = require('../internals/export');\nvar iterate = require('../internals/iterate');\nvar aCallable = require('../internals/a-callable');\nvar anObject = require('../internals/an-object');\nvar getIteratorDirect = require('../internals/get-iterator-direct');\n\nvar $TypeError = TypeError;\n\n// `Iterator.prototype.reduce` method\n// https://tc39.es/ecma262/#sec-iterator.prototype.reduce\n$({ target: 'Iterator', proto: true, real: true }, {\n reduce: function reduce(reducer /* , initialValue */) {\n anObject(this);\n aCallable(reducer);\n var record = getIteratorDirect(this);\n var noInitial = arguments.length < 2;\n var accumulator = noInitial ? undefined : arguments[1];\n var counter = 0;\n iterate(record, function (value) {\n if (noInitial) {\n noInitial = false;\n accumulator = value;\n } else {\n accumulator = reducer(accumulator, value, counter);\n }\n counter++;\n }, { IS_RECORD: true });\n if (noInitial) throw new $TypeError('Reduce of empty iterator with no initial value');\n return accumulator;\n }\n});\n","import date from 'quasar/src/utils/date.js';;\n/**\n * @param {Array} xs\n * @param {number | string} key\n * @returns any\n */\nexport const groupBy = function (xs, key) {\n return xs.reduce(function (rv, x) {\n (rv[x[key]] = rv[x[key]] || []).push(x);\n return rv;\n }, {});\n};\n\n/**\n * @param {String} str\n * @returns String\n */\nexport const snakeCaseToTitle = function (str) {\n return str\n .replace(\"_\", \" \")\n .split(\" \")\n .map((word) => word[0].toUpperCase() + word.slice(1).toLowerCase())\n .join(\" \");\n};\n\nexport const purposeCase = (value) => {\n switch (value) {\n case \"bank_transfer\":\n return \"Bank_transfer_outward\";\n case \"bill_payment\":\n return \"Bill_payment\";\n case \"card_funding\":\n return \"Card_funding\";\n case \"commission_feecase\":\n return \"Commission_fee\";\n case \"delivery_fee\":\n return \"Delivery_fee\";\n case \"item_purchase\":\n return \"Item_purchase\";\n case \"Lien_Credit\":\n return \"Lien_credit\";\n case \"payment_link\":\n return \"Payment_link\";\n case \"pos_funding\":\n return \"POS_terminal\";\n case \"product_sale\":\n return \"Product_sale\";\n case \"qr_code\":\n return \"QR_payment\";\n case \"reserved_bank_account_funding\":\n return \"Bank_transfer_inward\";\n case \"reversal\":\n return \"Reversal\";\n case \"stamp_duty_fee\":\n return \"Stamp_duty\";\n case \"transaction_fee\":\n return \"Transaction_fee\";\n case \"transaction_fee_bank_transfer\":\n return \"Transaction_fee_bank_transfer\";\n case \"transaction_fee_checkout\":\n return \"Transaction_fee_checkout\";\n case \"transaction_fee_payment_link\":\n return \"Transaction_fee_payment_link\";\n case \"transaction_fee_pos_funding\":\n return \"Transaction_fee_POS_terminal\";\n case \"transaction_fee_qr_code\":\n return \"Transaction_fee_QR_payment\";\n case \"transaction_fee_reserved_account\":\n return \"Transaction_fee_bank_transfer_inward\";\n case \"wallet_transfer\":\n return \"Wallet_transfer\";\n case \"Cash_offline\":\n return \"Cash_offline\";\n\n default:\n return value.replace(\"_\", \" \");\n }\n};\n\n/**\n *\n * @param {string} string\n * @returns string\n */\nexport const capitalizeFirstLetter = (string) => {\n return string.charAt(0).toUpperCase() + string.slice(1);\n};\n\n/**\n *\n * @param {*} _date\n * @returns string\n */\nexport const formatDate = (_date, format = \"MMM DD, YYYY hh:mm A\") => {\n return date.formatDate(_date, format);\n};\n\n/**\n *\n * @param {string} string\n * @returns string\n */\nexport const createHash = async (string) => {\n const utf8 = new TextEncoder().encode(string);\n const hashBuffer = await crypto.subtle.digest(\"SHA-256\", utf8);\n const hashArray = Array.from(new Uint8Array(hashBuffer));\n const hashHex = hashArray\n .map((bytes) => bytes.toString(16).padStart(2, \"0\"))\n .join(\"\");\n return hashHex;\n};\n\n/**\n * @param {Array} items\n * @returns string || Number\n */\nexport const subtotal = (items) => {\n let total = 0;\n items.forEach((item) => {\n total += item.quantity * item.price;\n });\n\n return total;\n};\n\n/**\n * calculate discount\n * @param {Object} data\n * @return {Number}\n */\n\nexport const calculateDiscount = (data) => {\n const { discount_selected, discount, _subtotal } = data;\n let subtotal = _subtotal;\n return discount_selected === \"Fixed\"\n ? parseInt(discount)\n : parseInt(subtotal) * (parseInt(discount) / 100);\n};\n\n/**\n * @param {Object} details\n * @returns string || Number\n */\nexport const grandTotal = (details) => {\n const { shipping_fee, vat, discount, discount_selected, items } = details;\n let _subtotal = subtotal(items);\n let discountAmount = calculateDiscount({\n discount_selected: discount_selected,\n discount: discount,\n _subtotal: _subtotal,\n });\n return _subtotal + parseInt(shipping_fee) + parseInt(vat) - discountAmount;\n};\n\n/**\n * Truncate lenghty text.\n *\n * @param {string} text The text\n * @param {number} business_name The max length\n * @returns {string}\n */\nexport const truncateLengthyText = (text, maxLength) => {\n if (text?.length > maxLength) {\n return `${text?.substring(0, maxLength)}...`;\n } else return text;\n};\n","'use strict';\nvar fails = require('../internals/fails');\n\nmodule.exports = function (METHOD_NAME, argument) {\n var method = [][METHOD_NAME];\n return !!method && fails(function () {\n // eslint-disable-next-line no-useless-call -- required for testing\n method.call(null, argument || function () { return 1; }, 1);\n });\n};\n","'use strict';\nvar aCallable = require('../internals/a-callable');\nvar toObject = require('../internals/to-object');\nvar IndexedObject = require('../internals/indexed-object');\nvar lengthOfArrayLike = require('../internals/length-of-array-like');\n\nvar $TypeError = TypeError;\n\nvar REDUCE_EMPTY = 'Reduce of empty array with no initial value';\n\n// `Array.prototype.{ reduce, reduceRight }` methods implementation\nvar createMethod = function (IS_RIGHT) {\n return function (that, callbackfn, argumentsLength, memo) {\n var O = toObject(that);\n var self = IndexedObject(O);\n var length = lengthOfArrayLike(O);\n aCallable(callbackfn);\n if (length === 0 && argumentsLength < 2) throw new $TypeError(REDUCE_EMPTY);\n var index = IS_RIGHT ? length - 1 : 0;\n var i = IS_RIGHT ? -1 : 1;\n if (argumentsLength < 2) while (true) {\n if (index in self) {\n memo = self[index];\n index += i;\n break;\n }\n index += i;\n if (IS_RIGHT ? index < 0 : length <= index) {\n throw new $TypeError(REDUCE_EMPTY);\n }\n }\n for (;IS_RIGHT ? index >= 0 : length > index; index += i) if (index in self) {\n memo = callbackfn(memo, self[index], index, O);\n }\n return memo;\n };\n};\n\nmodule.exports = {\n // `Array.prototype.reduce` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduce\n left: createMethod(false),\n // `Array.prototype.reduceRight` method\n // https://tc39.es/ecma262/#sec-array.prototype.reduceright\n right: createMethod(true)\n};\n","module.exports = __webpack_public_path__ + \"img/overdraft-repay-info.804697fd.svg\";","import Platform from '../../plugins/Platform.js'\n\nexport function clearSelection () {\n if (window.getSelection !== void 0) {\n const selection = window.getSelection()\n if (selection.empty !== void 0) {\n selection.empty()\n }\n else if (selection.removeAllRanges !== void 0) {\n selection.removeAllRanges()\n Platform.is.mobile !== true && selection.addRange(document.createRange())\n }\n }\n else if (document.selection !== void 0) {\n document.selection.empty()\n }\n}\n","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./preview.vue?vue&type=template&id=4296404a&scoped=true\"\nimport script from \"./preview.vue?vue&type=script&lang=js\"\nexport * from \"./preview.vue?vue&type=script&lang=js\"\n\nimport \"./preview.vue?vue&type=style&index=0&id=4296404a&lang=scss&scoped=true\"\n\nimport exportComponent from \"/codebuild/output/src612567107/src/new-merchant-app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-4296404a\"]])\n\nexport default __exports__\nimport QPage from 'quasar/src/components/page/QPage.js';\nimport QMenu from 'quasar/src/components/menu/QMenu.js';\nimport QList from 'quasar/src/components/item/QList.js';\nimport QItem from 'quasar/src/components/item/QItem.js';\nimport QItemSection from 'quasar/src/components/item/QItemSection.js';\nimport QImg from 'quasar/src/components/img/QImg.js';\nimport QSeparator from 'quasar/src/components/separator/QSeparator.js';\nimport qInstall from \"../../../../../node_modules/vue-cli-plugin-quasar/lib/runtime.auto-import.js\";\nqInstall(script, 'components', {QPage,QMenu,QList,QItem,QItemSection,QImg,QSeparator});\n","import { render } from \"./preview.vue?vue&type=template&id=681f91fc\"\nimport script from \"./preview.vue?vue&type=script&lang=js\"\nexport * from \"./preview.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"/codebuild/output/src612567107/src/new-merchant-app/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"sourceRoot":""}