PageSourceSearch

https://cdn.peatix.com/assets/production/static/peaz-frontend/js/UsersIcon-NTmemwAm.js

js peatix.com collected 2026-09-24 06:33:31 UTC 7,789 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`6b87d38d-17bb-428c-aaae-c1d8b6ab81d4`,e._sentryDebugIdIdentifier=`sentry-dbid-6b87d38d-17bb-428c-aaae-c1d8b6ab81d4`)}catch{}})();import{o as e}from"./chunk-BpJx67Yk.js";import{C as t,Ct as n,D as r,G as i,J as a,O as o,S as s,Wt as c,Yt as l,_t as u,b as d,ft as f,h as p,nt as m,x as h,y as g}from"./route-CITprrr5.js";import{an as _,pr as v,rn as y}from"./useProfileStore-CBaVsqDc.js";import{t as b}from"./_plugin-vue_export-helper-CdgHZ22j.js";import{t as x}from"./useIconColor-B7ofuTEq.js";import{t as S}from"./BaseTextInput-BuMjORL0.js";import{t as C}from"./BaseCheckbox-BHrZTu3b.js";import{t as w}from"./TextInputSkeletonLoader-D-2Cx4sS.js";var T={},E={class:`credit-card-form-loader`},D={class:`expiration-date`};function O(e,n){let a=w;return i(),t(`div`,E,[d(`div`,null,[n[0]||=d(`label`,{class:`label text-sm text-medium`},` Name on card `,-1),r(a,{height:`44`})]),d(`div`,null,[n[1]||=d(`label`,{class:`label text-sm text-medium`},` Card number `,-1),r(a,{height:`44`})]),d(`div`,D,[d(`div`,null,[n[2]||=d(`label`,{class:`label text-sm text-medium`},` Expiration `,-1),r(a,{height:`44`})]),d(`div`,null,[n[3]||=d(`label`,{class:`label text-sm text-medium`},` CVC `,-1),r(a,{height:`44`})])]),d(`div`,null,[n[4]||=d(`label`,{class:`label text-sm text-medium`},` Country `,-1),r(a,{height:`44`})])])}var k=b(T,[[`render`,O],[`__scopeId`,`data-v-10d1e70f`]]),A=b(o({__name:`CreditCardCreateForm`,props:{isStripeFormLoaded:{type:Boolean,required:!0,default:!1},isShowSaveForFuture:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},errorCardNameMessage:{type:String,required:!0,default:``}},emits:[`onSaveCardChange`,`onCardNameChange`],setup(e,{expose:r,emit:o}){let c=o,l=u(``),d=u(!0);function g(){c(`onCardNameChange`,l.value)}function _(){l.value=``}return m(d,e=>{c(`onSaveCardChange`,e)}),r({clearCardName:_}),(r,o)=>{let c=k,u=S,m=C;return i(),t(p,null,[e.loading?(i(),h(c,{key:0})):s(``,!0),!e.loading&&e.isStripeFormLoaded?(i(),h(u,{key:1,modelValue:n(l),"onUpdate:modelValue":o[0]||=e=>f(l)?l.value=e:null,class:`card-name-input`,label:`Name on card`,"error-message":e.errorCardNameMessage,onChange:g},null,8,[`modelValue`,`error-message`])):s(``,!0),a(r.$slots,`default`,{},void 0,!0),!e.loading&&e.isStripeFormLoaded&&e.isShowSaveForFuture?(i(),h(m,{key:2,id:`save-card`,modelValue:n(d),"onUpdate:modelValue":o[1]||=e=>f(d)?d.value=e:null,label:`Save card for future purchases`},null,8,[`modelValue`])):s(``,!0)],64)}}}),[[`__scopeId`,`data-v-bd03a83b`]]),j=`https://js.stripe.com/v3`,M=/^https:\/\/js\.stripe\.com\/v3\/?(\?.*)?$/,N=`loadStripe.setLoadParameters was called but an existing Stripe.js script already exists in the document; existing script parameters will be used`,P=function(){for(var e=document.querySelectorAll(`script[src^="${j}"]`),t=0;t<e.length;t++){var n=e[t];if(M.test(n.src))return n}return null},F=function(e){var t=e&&!e.advancedFraudSignals?`?advancedFraudSignals=false`:``,n=document.createElement(`script`);n.src=`${j}${t}`;var r=document.head||document.body;if(!r)throw Error(`Expected document.body not to be null. Stripe.js requires a <body> element.`);return r.appendChild(n),n},I=function(e,t){!e||!e._registerWrapper||e._registerWrapper({name:`stripe-js`,version:`2.4.0`,startTime:t})},L=null,R=null,z=null,B=function(e){return function(){e(Error(`Failed to load Stripe.js`))}},V=function(e,t){return function(){window.Stripe?e(window.Stripe):t(Error(`Stripe.js not available`))}},H=function(e){return L===null?(L=new Promise(function(t,n){if(typeof window>`u`||typeof document>`u`){t(null);return}if(window.Stripe&&e&&console.warn(N),window.Stripe){t(window.Stripe);return}try{var r=P();if(r&&e)console.warn(N);else if(!r)r=F(e);else if(r&&z!==null&&R!==null){var i;r.removeEventListener(`load`,z),r.removeEventListener(`error`,R),(i=r.parentNode)==null||i.removeChild(r),r=F(e)}z=V(t,n),R=B(n),r.addEventListener(`load`,z),r.addEventListener(`error`,R)}catch(e){n(e);return}}),L.catch(function(e){return L=null,Promise.reject(e)})):L},U=function(e,t,n){if(e===null)return null;var r=e.apply(void 0,t);return I(r,n),r}
1,W,G=!1,K=function(){return W||(W=H(null).catch(function(e){return W=null,Promise.reject(e)}),W)};Promise.resolve().then(function(){return K()}).catch(function(e){G||console.warn(e)});var q=function(){var e=[...arguments];G=!0;var t=Date.now();return K().then(function(n){return U(n,e,t)})},J={theme:`flat`,variables:{colorBackground:`#ffffff`,borderRadius:`12px`,fontSizeBase:`1rem`},rules:{".Input":{boxShadow:`none`,border:`1px solid #D0D5DD`},".Input:focus":{boxShadow:`0px 0px 0px 4px #f4ebff, 0px 1px 2px 0px rgba(16, 24, 40, 0.05)`,border:`1px solid #A4BCFE`},".Input--invalid":{boxShadow:`none`,border:`1px solid #F04438`},".Input--invalid:focus":{border:`1px solid #FDA29B`,boxShadow:`0px 0px 0px 4px #fee4e2, 0px 1px 2px 0px rgba(16, 24, 40, 0.05)`},".Label":{fontSize:`0.875rem`,color:`#344054`,fontWeight:`500`,marginBottom:`6px`},".Error":{fontSize:`0.875rem`,color:`#F04438`,marginTop:`6px`},".TermsText":{fontSize:`0px`}}},Y=e(v()),X={class:`credit-card-info`},Z={class:`card-number text-sm text-medium`},Q=b(o({__name:`CreditCardInfo`,props:{card:{type:Object,required:!0,default:()=>{}}},setup(e){function n(e){return(0,Y.default)(e,y).format(_)}return(r,a)=>(i(),t(`div`,X,[d(`p`,Z,l(`**** **** **** ${e.card.last4}`),1),d(`p`,{class:c([`card-expiry text-sm text-regular`,{"--expired":e.card.isExpired}])},l(e.card.isExpired?`Expired`:`Expiration ${n(e.card.expires)}`),3)]))}}),[[`__scopeId`,`data-v-1458a280`]]),$=[`width`,`height`],ee=[`stroke`],te=o({__name:`CreditCardIcon`,props:{color:{type:String,default:``},width:{type:String,default:`26`},height:{type:String,default:`18`}},setup(e){let r=e,{color:a}=x(g(()=>r.color));return(r,o)=>(i(),t(`svg`,{width:e.width,height:e.height,viewBox:`0 0 26 18`,fill:`none`,xmlns:`http://www.w3.org/2000/svg`},[d(`path`,{id:`Icon`,d:`M25 6.71429H1M11.8 11.2857H5.8M1 4.65714L1 13.3429C1 14.623 1 15.263 1.26158 15.752C1.49168 16.1821 1.85883 16.5317 2.31042 16.7509C2.82381 17 3.49587 17 4.84 17L21.16 17C22.5041 17 23.1762 17 23.6896 16.7509C24.1412 16.5317 24.5083 16.1821 24.7384 15.752C25 15.263 25 14.623 25 13.3429V4.65714C25 3.37702 25 2.73696 24.7384 2.24802C24.5083 1.81794 24.1412 1.46827 23.6896 1.24913C23.1762 1 22.5041 1 21.16 1L4.84 1C3.49587 1 2.82381 1 2.31042 1.24913C1.85883 1.46827 1.49168 1.81794 1.26158 2.24802C1 2.73696 1 3.37702 1 4.65714Z`,stroke:n(a),"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,8,ee)],8,$))}}),ne=[`width`,`height`],re=[`stroke`],ie=o({__name:`UsersIcon`,props:{color:{type:String,default:``},width:{type:String,default:`24`},height:{type:String,default:`24`}},setup(e){let r=e,{color:a}=x(g(()=>r.color));return(r,o)=>(i(),t(`svg`,{xmlns:`http://www.w3.org/2000/svg`,width:e.width,height:e.height,viewBox:`0 0 25 24`,fill:`none`},[d(`path`,{d:`M22.5 21V19C22.5 17.1362 21.2252 15.5701 19.5 15.126M16 3.29076C17.4659 3.88415 18.5 5.32131 18.5 7C18.5 8.67869 17.4659 10.1159 16 10.7092M17.5 21C17.5 19.1362 17.5 18.2044 17.1955 17.4693C16.7895 16.4892 16.0108 15.7105 15.0307 15.3045C14.2956 15 13.3638 15 11.5 15H8.5C6.63623 15 5.70435 15 4.96927 15.3045C3.98915 15.7105 3.21046 16.4892 2.80448 17.4693C2.5 18.2044 2.5 19.1362 2.5 21M14 7C14 9.20914 12.2091 11 10 11C7.79086 11 6 9.20914 6 7C6 4.79086 7.79086 3 10 3C12.2091 3 14 4.79086 14 7Z`,stroke:n(a),"stroke-width":`2`,"stroke-linecap":`round`,"stroke-linejoin":`round`},null,8,re)],8,ne))}});export{q as a,J as i,te as n,A as o,Q as r,ie as t};
2//# sourceMappingURL=UsersIcon-NTmemwAm.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.