@tapni/auth 1.0.34 → 1.0.35
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/.vite/manifest.json +12 -12
- package/dist/{Apps-C9KmoF6K.js → Apps-CsmE3lKO.js} +1 -1
- package/dist/{Billing-BSvAEp8b.js → Billing-Cl0aZiOV.js} +1 -1
- package/dist/{CustomApp-_HtrExfL.js → CustomApp-Dpt7ZvpH.js} +1 -1
- package/dist/{General-v9FBPbby.js → General-CHzjT8VC.js} +1 -1
- package/dist/{QR-ngY6ULHB.js → QR-CcalHfny.js} +1 -1
- package/dist/TapniAuth.es.js +1 -1
- package/dist/TapniAuth.umd.js +2 -2
- package/dist/{install-Cnxt-ehi.js → install-Cxs2S-rO.js} +4 -2
- package/package.json +1 -1
- package/src/store/auth.js +2 -0
package/dist/.vite/manifest.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
|
-
"_install-
|
|
3
|
-
"file": "install-
|
|
2
|
+
"_install-Cxs2S-rO.js": {
|
|
3
|
+
"file": "install-Cxs2S-rO.js",
|
|
4
4
|
"name": "install",
|
|
5
5
|
"dynamicImports": [
|
|
6
6
|
"src/views/QR.vue",
|
|
@@ -38,48 +38,48 @@
|
|
|
38
38
|
"isEntry": true
|
|
39
39
|
},
|
|
40
40
|
"src/views/Apps.vue": {
|
|
41
|
-
"file": "Apps-
|
|
41
|
+
"file": "Apps-CsmE3lKO.js",
|
|
42
42
|
"name": "Apps",
|
|
43
43
|
"src": "src/views/Apps.vue",
|
|
44
44
|
"isDynamicEntry": true,
|
|
45
45
|
"imports": [
|
|
46
|
-
"_install-
|
|
46
|
+
"_install-Cxs2S-rO.js"
|
|
47
47
|
]
|
|
48
48
|
},
|
|
49
49
|
"src/views/Billing.vue": {
|
|
50
|
-
"file": "Billing-
|
|
50
|
+
"file": "Billing-Cl0aZiOV.js",
|
|
51
51
|
"name": "Billing",
|
|
52
52
|
"src": "src/views/Billing.vue",
|
|
53
53
|
"isDynamicEntry": true,
|
|
54
54
|
"imports": [
|
|
55
|
-
"_install-
|
|
55
|
+
"_install-Cxs2S-rO.js"
|
|
56
56
|
]
|
|
57
57
|
},
|
|
58
58
|
"src/views/CustomApp.vue": {
|
|
59
|
-
"file": "CustomApp-
|
|
59
|
+
"file": "CustomApp-Dpt7ZvpH.js",
|
|
60
60
|
"name": "CustomApp",
|
|
61
61
|
"src": "src/views/CustomApp.vue",
|
|
62
62
|
"isDynamicEntry": true,
|
|
63
63
|
"imports": [
|
|
64
|
-
"_install-
|
|
64
|
+
"_install-Cxs2S-rO.js"
|
|
65
65
|
]
|
|
66
66
|
},
|
|
67
67
|
"src/views/General.vue": {
|
|
68
|
-
"file": "General-
|
|
68
|
+
"file": "General-CHzjT8VC.js",
|
|
69
69
|
"name": "General",
|
|
70
70
|
"src": "src/views/General.vue",
|
|
71
71
|
"isDynamicEntry": true,
|
|
72
72
|
"imports": [
|
|
73
|
-
"_install-
|
|
73
|
+
"_install-Cxs2S-rO.js"
|
|
74
74
|
]
|
|
75
75
|
},
|
|
76
76
|
"src/views/QR.vue": {
|
|
77
|
-
"file": "QR-
|
|
77
|
+
"file": "QR-CcalHfny.js",
|
|
78
78
|
"name": "QR",
|
|
79
79
|
"src": "src/views/QR.vue",
|
|
80
80
|
"isDynamicEntry": true,
|
|
81
81
|
"imports": [
|
|
82
|
-
"_install-
|
|
82
|
+
"_install-Cxs2S-rO.js"
|
|
83
83
|
]
|
|
84
84
|
},
|
|
85
85
|
"style.css": {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as l, _ as g, A as u, E as _ } from "./install-
|
|
1
|
+
import { a as l, _ as g, A as u, E as _ } from "./install-Cxs2S-rO.js";
|
|
2
2
|
import { resolveComponent as h, openBlock as o, createElementBlock as a, createElementVNode as e, createCommentVNode as r, createBlock as f, withCtx as m, toDisplayString as i, Fragment as b, renderList as y } from "vue";
|
|
3
3
|
const k = {
|
|
4
4
|
async getRecordById(t) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as d, A as u, b as g, E as _ } from "./install-
|
|
1
|
+
import { _ as d, A as u, b as g, E as _ } from "./install-Cxs2S-rO.js";
|
|
2
2
|
import { resolveComponent as h, openBlock as e, createElementBlock as i, createElementVNode as s, createCommentVNode as r, createBlock as b, withCtx as m, toDisplayString as a, createTextVNode as f, Fragment as y, renderList as v } from "vue";
|
|
3
3
|
const w = {
|
|
4
4
|
name: "AuthBilling",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as d, A as u, b as g, E as m } from "./install-
|
|
1
|
+
import { _ as d, A as u, b as g, E as m } from "./install-Cxs2S-rO.js";
|
|
2
2
|
import { resolveComponent as _, openBlock as s, createElementBlock as a, createElementVNode as t, createCommentVNode as r, createBlock as h, withCtx as f, toDisplayString as i } from "vue";
|
|
3
3
|
const y = {
|
|
4
4
|
name: "AuthCustomApp",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as ae, A as te, E as le } from "./install-
|
|
1
|
+
import { _ as ae, A as te, E as le } from "./install-Cxs2S-rO.js";
|
|
2
2
|
import "await-to-js";
|
|
3
3
|
import { defineComponent as Z, mergeModels as K, useModel as oe, ref as S, computed as P, watch as J, onMounted as ne, onBeforeUnmount as ie, openBlock as d, createElementBlock as g, normalizeClass as V, createElementVNode as i, renderSlot as M, createTextVNode as O, toDisplayString as L, createCommentVNode as x, Fragment as E, renderList as I, createVNode as $, withDirectives as T, vModelText as F, createBlock as B, Teleport as se, normalizeStyle as re, withCtx as X, withKeys as de, resolveComponent as H, withModifiers as ue } from "vue";
|
|
4
4
|
(function() {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as s, A as i, Q as a } from "./install-
|
|
1
|
+
import { _ as s, A as i, Q as a } from "./install-Cxs2S-rO.js";
|
|
2
2
|
import { resolveComponent as r, openBlock as u, createElementBlock as p, createElementVNode as o, toDisplayString as t, createVNode as d, withCtx as g, createTextVNode as _ } from "vue";
|
|
3
3
|
const m = {
|
|
4
4
|
name: "AuthQR",
|
package/dist/TapniAuth.es.js
CHANGED
package/dist/TapniAuth.umd.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* @author Feross Aboukhadijeh <https://feross.org>
|
|
5
5
|
* @license MIT
|
|
6
|
-
*/(function(u){const t=base64Js,n=ieee754,l=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;u.Buffer=y,u.SlowBuffer=Q,u.INSPECT_MAX_BYTES=50;const h=2147483647;u.kMaxLength=h;const{Uint8Array:o,ArrayBuffer:_,SharedArrayBuffer:b}=globalThis;y.TYPED_ARRAY_SUPPORT=E(),!y.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function E(){try{const W=new o(1),D={foo:function(){return 42}};return Object.setPrototypeOf(D,o.prototype),Object.setPrototypeOf(W,D),W.foo()===42}catch{return!1}}Object.defineProperty(y.prototype,"parent",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.buffer}}),Object.defineProperty(y.prototype,"offset",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.byteOffset}});function S(W){if(W>h)throw new RangeError('The value "'+W+'" is invalid for option "size"');const D=new o(W);return Object.setPrototypeOf(D,y.prototype),D}function y(W,D,H){if(typeof W=="number"){if(typeof D=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return R(W)}return k(W,D,H)}y.poolSize=8192;function k(W,D,H){if(typeof W=="string")return B(W,D);if(_.isView(W))return L(W);if(W==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof W);if(Xe(W,_)||W&&Xe(W.buffer,_)||typeof b<"u"&&(Xe(W,b)||W&&Xe(W.buffer,b)))return N(W,D,H);if(typeof W=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const ne=W.valueOf&&W.valueOf();if(ne!=null&&ne!==W)return y.from(ne,D,H);const xe=z(W);if(xe)return xe;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof W[Symbol.toPrimitive]=="function")return y.from(W[Symbol.toPrimitive]("string"),D,H);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof W)}y.from=function(W,D,H){return k(W,D,H)},Object.setPrototypeOf(y.prototype,o.prototype),Object.setPrototypeOf(y,o);function A(W){if(typeof W!="number")throw new TypeError('"size" argument must be of type number');if(W<0)throw new RangeError('The value "'+W+'" is invalid for option "size"')}function T(W,D,H){return A(W),W<=0?S(W):D!==void 0?typeof H=="string"?S(W).fill(D,H):S(W).fill(D):S(W)}y.alloc=function(W,D,H){return T(W,D,H)};function R(W){return A(W),S(W<0?0:$(W)|0)}y.allocUnsafe=function(W){return R(W)},y.allocUnsafeSlow=function(W){return R(W)};function B(W,D){if((typeof D!="string"||D==="")&&(D="utf8"),!y.isEncoding(D))throw new TypeError("Unknown encoding: "+D);const H=G(W,D)|0;let ne=S(H);const xe=ne.write(W,D);return xe!==H&&(ne=ne.slice(0,xe)),ne}function O(W){const D=W.length<0?0:$(W.length)|0,H=S(D);for(let ne=0;ne<D;ne+=1)H[ne]=W[ne]&255;return H}function L(W){if(Xe(W,o)){const D=new o(W);return N(D.buffer,D.byteOffset,D.byteLength)}return O(W)}function N(W,D,H){if(D<0||W.byteLength<D)throw new RangeError('"offset" is outside of buffer bounds');if(W.byteLength<D+(H||0))throw new RangeError('"length" is outside of buffer bounds');let ne;return D===void 0&&H===void 0?ne=new o(W):H===void 0?ne=new o(W,D):ne=new o(W,D,H),Object.setPrototypeOf(ne,y.prototype),ne}function z(W){if(y.isBuffer(W)){const D=$(W.length)|0,H=S(D);return H.length===0||W.copy(H,0,0,D),H}if(W.length!==void 0)return typeof W.length!="number"||mt(W.length)?S(0):O(W);if(W.type==="Buffer"&&Array.isArray(W.data))return O(W.data)}function $(W){if(W>=h)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h.toString(16)+" bytes");return W|0}function Q(W){return+W!=W&&(W=0),y.alloc(+W)}y.isBuffer=function(D){return D!=null&&D._isBuffer===!0&&D!==y.prototype},y.compare=function(D,H){if(Xe(D,o)&&(D=y.from(D,D.offset,D.byteLength)),Xe(H,o)&&(H=y.from(H,H.offset,H.byteLength)),!y.isBuffer(D)||!y.isBuffer(H))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(D===H)return 0;let ne=D.length,xe=H.length;for(let He=0,Ne=Math.min(ne,xe);He<Ne;++He)if(D[He]!==H[He]){ne=D[He],xe=H[He];break}return ne<xe?-1:xe<ne?1:0},y.isEncoding=function(D){switch(String(D).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},y.concat=function(D,H){if(!Array.isArray(D))throw new TypeError('"list" argument must be an Array of Buffers');if(D.length===0)return y.alloc(0);let ne;if(H===void 0)for(H=0,ne=0;ne<D.length;++ne)H+=D[ne].length;const xe=y.allocUnsafe(H);let He=0;for(ne=0;ne<D.length;++ne){let Ne=D[ne];if(Xe(Ne,o))He+Ne.length>xe.length?(y.isBuffer(Ne)||(Ne=y.from(Ne)),Ne.copy(xe,He)):o.prototype.set.call(xe,Ne,He);else if(y.isBuffer(Ne))Ne.copy(xe,He);else throw new TypeError('"list" argument must be an Array of Buffers');He+=Ne.length}return xe};function G(W,D){if(y.isBuffer(W))return W.length;if(_.isView(W)||Xe(W,_))return W.byteLength;if(typeof W!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof W);const H=W.length,ne=arguments.length>2&&arguments[2]===!0;if(!ne&&H===0)return 0;let xe=!1;for(;;)switch(D){case"ascii":case"latin1":case"binary":return H;case"utf8":case"utf-8":return pt(W).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H*2;case"hex":return H>>>1;case"base64":return lt(W).length;default:if(xe)return ne?-1:pt(W).length;D=(""+D).toLowerCase(),xe=!0}}y.byteLength=G;function _e(W,D,H){let ne=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((H===void 0||H>this.length)&&(H=this.length),H<=0)||(H>>>=0,D>>>=0,H<=D))return"";for(W||(W="utf8");;)switch(W){case"hex":return x(this,D,H);case"utf8":case"utf-8":return w(this,D,H);case"ascii":return r(this,D,H);case"latin1":case"binary":return v(this,D,H);case"base64":return m(this,D,H);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,D,H);default:if(ne)throw new TypeError("Unknown encoding: "+W);W=(W+"").toLowerCase(),ne=!0}}y.prototype._isBuffer=!0;function ee(W,D,H){const ne=W[D];W[D]=W[H],W[H]=ne}y.prototype.swap16=function(){const D=this.length;if(D%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let H=0;H<D;H+=2)ee(this,H,H+1);return this},y.prototype.swap32=function(){const D=this.length;if(D%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let H=0;H<D;H+=4)ee(this,H,H+3),ee(this,H+1,H+2);return this},y.prototype.swap64=function(){const D=this.length;if(D%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let H=0;H<D;H+=8)ee(this,H,H+7),ee(this,H+1,H+6),ee(this,H+2,H+5),ee(this,H+3,H+4);return this},y.prototype.toString=function(){const D=this.length;return D===0?"":arguments.length===0?w(this,0,D):_e.apply(this,arguments)},y.prototype.toLocaleString=y.prototype.toString,y.prototype.equals=function(D){if(!y.isBuffer(D))throw new TypeError("Argument must be a Buffer");return this===D?!0:y.compare(this,D)===0},y.prototype.inspect=function(){let D="";const H=u.INSPECT_MAX_BYTES;return D=this.toString("hex",0,H).replace(/(.{2})/g,"$1 ").trim(),this.length>H&&(D+=" ... "),"<Buffer "+D+">"},l&&(y.prototype[l]=y.prototype.inspect),y.prototype.compare=function(D,H,ne,xe,He){if(Xe(D,o)&&(D=y.from(D,D.offset,D.byteLength)),!y.isBuffer(D))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof D);if(H===void 0&&(H=0),ne===void 0&&(ne=D?D.length:0),xe===void 0&&(xe=0),He===void 0&&(He=this.length),H<0||ne>D.length||xe<0||He>this.length)throw new RangeError("out of range index");if(xe>=He&&H>=ne)return 0;if(xe>=He)return-1;if(H>=ne)return 1;if(H>>>=0,ne>>>=0,xe>>>=0,He>>>=0,this===D)return 0;let Ne=He-xe,Je=ne-H;const ht=Math.min(Ne,Je),Ge=this.slice(xe,He),et=D.slice(H,ne);for(let dt=0;dt<ht;++dt)if(Ge[dt]!==et[dt]){Ne=Ge[dt],Je=et[dt];break}return Ne<Je?-1:Je<Ne?1:0};function Z(W,D,H,ne,xe){if(W.length===0)return-1;if(typeof H=="string"?(ne=H,H=0):H>2147483647?H=2147483647:H<-2147483648&&(H=-2147483648),H=+H,mt(H)&&(H=xe?0:W.length-1),H<0&&(H=W.length+H),H>=W.length){if(xe)return-1;H=W.length-1}else if(H<0)if(xe)H=0;else return-1;if(typeof D=="string"&&(D=y.from(D,ne)),y.isBuffer(D))return D.length===0?-1:Pe(W,D,H,ne,xe);if(typeof D=="number")return D=D&255,typeof o.prototype.indexOf=="function"?xe?o.prototype.indexOf.call(W,D,H):o.prototype.lastIndexOf.call(W,D,H):Pe(W,[D],H,ne,xe);throw new TypeError("val must be string, number or Buffer")}function Pe(W,D,H,ne,xe){let He=1,Ne=W.length,Je=D.length;if(ne!==void 0&&(ne=String(ne).toLowerCase(),ne==="ucs2"||ne==="ucs-2"||ne==="utf16le"||ne==="utf-16le")){if(W.length<2||D.length<2)return-1;He=2,Ne/=2,Je/=2,H/=2}function ht(et,dt){return He===1?et[dt]:et.readUInt16BE(dt*He)}let Ge;if(xe){let et=-1;for(Ge=H;Ge<Ne;Ge++)if(ht(W,Ge)===ht(D,et===-1?0:Ge-et)){if(et===-1&&(et=Ge),Ge-et+1===Je)return et*He}else et!==-1&&(Ge-=Ge-et),et=-1}else for(H+Je>Ne&&(H=Ne-Je),Ge=H;Ge>=0;Ge--){let et=!0;for(let dt=0;dt<Je;dt++)if(ht(W,Ge+dt)!==ht(D,dt)){et=!1;break}if(et)return Ge}return-1}y.prototype.includes=function(D,H,ne){return this.indexOf(D,H,ne)!==-1},y.prototype.indexOf=function(D,H,ne){return Z(this,D,H,ne,!0)},y.prototype.lastIndexOf=function(D,H,ne){return Z(this,D,H,ne,!1)};function M(W,D,H,ne){H=Number(H)||0;const xe=W.length-H;ne?(ne=Number(ne),ne>xe&&(ne=xe)):ne=xe;const He=D.length;ne>He/2&&(ne=He/2);let Ne;for(Ne=0;Ne<ne;++Ne){const Je=parseInt(D.substr(Ne*2,2),16);if(mt(Je))return Ne;W[H+Ne]=Je}return Ne}function e(W,D,H,ne){return Ve(pt(D,W.length-H),W,H,ne)}function s(W,D,H,ne){return Ve(Ke(D),W,H,ne)}function f(W,D,H,ne){return Ve(lt(D),W,H,ne)}function d(W,D,H,ne){return Ve(Qe(D,W.length-H),W,H,ne)}y.prototype.write=function(D,H,ne,xe){if(H===void 0)xe="utf8",ne=this.length,H=0;else if(ne===void 0&&typeof H=="string")xe=H,ne=this.length,H=0;else if(isFinite(H))H=H>>>0,isFinite(ne)?(ne=ne>>>0,xe===void 0&&(xe="utf8")):(xe=ne,ne=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const He=this.length-H;if((ne===void 0||ne>He)&&(ne=He),D.length>0&&(ne<0||H<0)||H>this.length)throw new RangeError("Attempt to write outside buffer bounds");xe||(xe="utf8");let Ne=!1;for(;;)switch(xe){case"hex":return M(this,D,H,ne);case"utf8":case"utf-8":return e(this,D,H,ne);case"ascii":case"latin1":case"binary":return s(this,D,H,ne);case"base64":return f(this,D,H,ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return d(this,D,H,ne);default:if(Ne)throw new TypeError("Unknown encoding: "+xe);xe=(""+xe).toLowerCase(),Ne=!0}},y.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function m(W,D,H){return D===0&&H===W.length?t.fromByteArray(W):t.fromByteArray(W.slice(D,H))}function w(W,D,H){H=Math.min(W.length,H);const ne=[];let xe=D;for(;xe<H;){const He=W[xe];let Ne=null,Je=He>239?4:He>223?3:He>191?2:1;if(xe+Je<=H){let ht,Ge,et,dt;switch(Je){case 1:He<128&&(Ne=He);break;case 2:ht=W[xe+1],(ht&192)===128&&(dt=(He&31)<<6|ht&63,dt>127&&(Ne=dt));break;case 3:ht=W[xe+1],Ge=W[xe+2],(ht&192)===128&&(Ge&192)===128&&(dt=(He&15)<<12|(ht&63)<<6|Ge&63,dt>2047&&(dt<55296||dt>57343)&&(Ne=dt));break;case 4:ht=W[xe+1],Ge=W[xe+2],et=W[xe+3],(ht&192)===128&&(Ge&192)===128&&(et&192)===128&&(dt=(He&15)<<18|(ht&63)<<12|(Ge&63)<<6|et&63,dt>65535&&dt<1114112&&(Ne=dt))}}Ne===null?(Ne=65533,Je=1):Ne>65535&&(Ne-=65536,ne.push(Ne>>>10&1023|55296),Ne=56320|Ne&1023),ne.push(Ne),xe+=Je}return p(ne)}const C=4096;function p(W){const D=W.length;if(D<=C)return String.fromCharCode.apply(String,W);let H="",ne=0;for(;ne<D;)H+=String.fromCharCode.apply(String,W.slice(ne,ne+=C));return H}function r(W,D,H){let ne="";H=Math.min(W.length,H);for(let xe=D;xe<H;++xe)ne+=String.fromCharCode(W[xe]&127);return ne}function v(W,D,H){let ne="";H=Math.min(W.length,H);for(let xe=D;xe<H;++xe)ne+=String.fromCharCode(W[xe]);return ne}function x(W,D,H){const ne=W.length;(!D||D<0)&&(D=0),(!H||H<0||H>ne)&&(H=ne);let xe="";for(let He=D;He<H;++He)xe+=Ze[W[He]];return xe}function q(W,D,H){const ne=W.slice(D,H);let xe="";for(let He=0;He<ne.length-1;He+=2)xe+=String.fromCharCode(ne[He]+ne[He+1]*256);return xe}y.prototype.slice=function(D,H){const ne=this.length;D=~~D,H=H===void 0?ne:~~H,D<0?(D+=ne,D<0&&(D=0)):D>ne&&(D=ne),H<0?(H+=ne,H<0&&(H=0)):H>ne&&(H=ne),H<D&&(H=D);const xe=this.subarray(D,H);return Object.setPrototypeOf(xe,y.prototype),xe};function K(W,D,H){if(W%1!==0||W<0)throw new RangeError("offset is not uint");if(W+D>H)throw new RangeError("Trying to access beyond buffer length")}y.prototype.readUintLE=y.prototype.readUIntLE=function(D,H,ne){D=D>>>0,H=H>>>0,ne||K(D,H,this.length);let xe=this[D],He=1,Ne=0;for(;++Ne<H&&(He*=256);)xe+=this[D+Ne]*He;return xe},y.prototype.readUintBE=y.prototype.readUIntBE=function(D,H,ne){D=D>>>0,H=H>>>0,ne||K(D,H,this.length);let xe=this[D+--H],He=1;for(;H>0&&(He*=256);)xe+=this[D+--H]*He;return xe},y.prototype.readUint8=y.prototype.readUInt8=function(D,H){return D=D>>>0,H||K(D,1,this.length),this[D]},y.prototype.readUint16LE=y.prototype.readUInt16LE=function(D,H){return D=D>>>0,H||K(D,2,this.length),this[D]|this[D+1]<<8},y.prototype.readUint16BE=y.prototype.readUInt16BE=function(D,H){return D=D>>>0,H||K(D,2,this.length),this[D]<<8|this[D+1]},y.prototype.readUint32LE=y.prototype.readUInt32LE=function(D,H){return D=D>>>0,H||K(D,4,this.length),(this[D]|this[D+1]<<8|this[D+2]<<16)+this[D+3]*16777216},y.prototype.readUint32BE=y.prototype.readUInt32BE=function(D,H){return D=D>>>0,H||K(D,4,this.length),this[D]*16777216+(this[D+1]<<16|this[D+2]<<8|this[D+3])},y.prototype.readBigUInt64LE=rt(function(D){D=D>>>0,Fe(D,"offset");const H=this[D],ne=this[D+7];(H===void 0||ne===void 0)&&ut(D,this.length-8);const xe=H+this[++D]*2**8+this[++D]*2**16+this[++D]*2**24,He=this[++D]+this[++D]*2**8+this[++D]*2**16+ne*2**24;return BigInt(xe)+(BigInt(He)<<BigInt(32))}),y.prototype.readBigUInt64BE=rt(function(D){D=D>>>0,Fe(D,"offset");const H=this[D],ne=this[D+7];(H===void 0||ne===void 0)&&ut(D,this.length-8);const xe=H*2**24+this[++D]*2**16+this[++D]*2**8+this[++D],He=this[++D]*2**24+this[++D]*2**16+this[++D]*2**8+ne;return(BigInt(xe)<<BigInt(32))+BigInt(He)}),y.prototype.readIntLE=function(D,H,ne){D=D>>>0,H=H>>>0,ne||K(D,H,this.length);let xe=this[D],He=1,Ne=0;for(;++Ne<H&&(He*=256);)xe+=this[D+Ne]*He;return He*=128,xe>=He&&(xe-=Math.pow(2,8*H)),xe},y.prototype.readIntBE=function(D,H,ne){D=D>>>0,H=H>>>0,ne||K(D,H,this.length);let xe=H,He=1,Ne=this[D+--xe];for(;xe>0&&(He*=256);)Ne+=this[D+--xe]*He;return He*=128,Ne>=He&&(Ne-=Math.pow(2,8*H)),Ne},y.prototype.readInt8=function(D,H){return D=D>>>0,H||K(D,1,this.length),this[D]&128?(255-this[D]+1)*-1:this[D]},y.prototype.readInt16LE=function(D,H){D=D>>>0,H||K(D,2,this.length);const ne=this[D]|this[D+1]<<8;return ne&32768?ne|4294901760:ne},y.prototype.readInt16BE=function(D,H){D=D>>>0,H||K(D,2,this.length);const ne=this[D+1]|this[D]<<8;return ne&32768?ne|4294901760:ne},y.prototype.readInt32LE=function(D,H){return D=D>>>0,H||K(D,4,this.length),this[D]|this[D+1]<<8|this[D+2]<<16|this[D+3]<<24},y.prototype.readInt32BE=function(D,H){return D=D>>>0,H||K(D,4,this.length),this[D]<<24|this[D+1]<<16|this[D+2]<<8|this[D+3]},y.prototype.readBigInt64LE=rt(function(D){D=D>>>0,Fe(D,"offset");const H=this[D],ne=this[D+7];(H===void 0||ne===void 0)&&ut(D,this.length-8);const xe=this[D+4]+this[D+5]*2**8+this[D+6]*2**16+(ne<<24);return(BigInt(xe)<<BigInt(32))+BigInt(H+this[++D]*2**8+this[++D]*2**16+this[++D]*2**24)}),y.prototype.readBigInt64BE=rt(function(D){D=D>>>0,Fe(D,"offset");const H=this[D],ne=this[D+7];(H===void 0||ne===void 0)&&ut(D,this.length-8);const xe=(H<<24)+this[++D]*2**16+this[++D]*2**8+this[++D];return(BigInt(xe)<<BigInt(32))+BigInt(this[++D]*2**24+this[++D]*2**16+this[++D]*2**8+ne)}),y.prototype.readFloatLE=function(D,H){return D=D>>>0,H||K(D,4,this.length),n.read(this,D,!0,23,4)},y.prototype.readFloatBE=function(D,H){return D=D>>>0,H||K(D,4,this.length),n.read(this,D,!1,23,4)},y.prototype.readDoubleLE=function(D,H){return D=D>>>0,H||K(D,8,this.length),n.read(this,D,!0,52,8)},y.prototype.readDoubleBE=function(D,H){return D=D>>>0,H||K(D,8,this.length),n.read(this,D,!1,52,8)};function le(W,D,H,ne,xe,He){if(!y.isBuffer(W))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>xe||D<He)throw new RangeError('"value" argument is out of bounds');if(H+ne>W.length)throw new RangeError("Index out of range")}y.prototype.writeUintLE=y.prototype.writeUIntLE=function(D,H,ne,xe){if(D=+D,H=H>>>0,ne=ne>>>0,!xe){const Je=Math.pow(2,8*ne)-1;le(this,D,H,ne,Je,0)}let He=1,Ne=0;for(this[H]=D&255;++Ne<ne&&(He*=256);)this[H+Ne]=D/He&255;return H+ne},y.prototype.writeUintBE=y.prototype.writeUIntBE=function(D,H,ne,xe){if(D=+D,H=H>>>0,ne=ne>>>0,!xe){const Je=Math.pow(2,8*ne)-1;le(this,D,H,ne,Je,0)}let He=ne-1,Ne=1;for(this[H+He]=D&255;--He>=0&&(Ne*=256);)this[H+He]=D/Ne&255;return H+ne},y.prototype.writeUint8=y.prototype.writeUInt8=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,1,255,0),this[H]=D&255,H+1},y.prototype.writeUint16LE=y.prototype.writeUInt16LE=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,2,65535,0),this[H]=D&255,this[H+1]=D>>>8,H+2},y.prototype.writeUint16BE=y.prototype.writeUInt16BE=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,2,65535,0),this[H]=D>>>8,this[H+1]=D&255,H+2},y.prototype.writeUint32LE=y.prototype.writeUInt32LE=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,4,4294967295,0),this[H+3]=D>>>24,this[H+2]=D>>>16,this[H+1]=D>>>8,this[H]=D&255,H+4},y.prototype.writeUint32BE=y.prototype.writeUInt32BE=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,4,4294967295,0),this[H]=D>>>24,this[H+1]=D>>>16,this[H+2]=D>>>8,this[H+3]=D&255,H+4};function te(W,D,H,ne,xe){ze(D,ne,xe,W,H,7);let He=Number(D&BigInt(4294967295));W[H++]=He,He=He>>8,W[H++]=He,He=He>>8,W[H++]=He,He=He>>8,W[H++]=He;let Ne=Number(D>>BigInt(32)&BigInt(4294967295));return W[H++]=Ne,Ne=Ne>>8,W[H++]=Ne,Ne=Ne>>8,W[H++]=Ne,Ne=Ne>>8,W[H++]=Ne,H}function F(W,D,H,ne,xe){ze(D,ne,xe,W,H,7);let He=Number(D&BigInt(4294967295));W[H+7]=He,He=He>>8,W[H+6]=He,He=He>>8,W[H+5]=He,He=He>>8,W[H+4]=He;let Ne=Number(D>>BigInt(32)&BigInt(4294967295));return W[H+3]=Ne,Ne=Ne>>8,W[H+2]=Ne,Ne=Ne>>8,W[H+1]=Ne,Ne=Ne>>8,W[H]=Ne,H+8}y.prototype.writeBigUInt64LE=rt(function(D,H=0){return te(this,D,H,BigInt(0),BigInt("0xffffffffffffffff"))}),y.prototype.writeBigUInt64BE=rt(function(D,H=0){return F(this,D,H,BigInt(0),BigInt("0xffffffffffffffff"))}),y.prototype.writeIntLE=function(D,H,ne,xe){if(D=+D,H=H>>>0,!xe){const ht=Math.pow(2,8*ne-1);le(this,D,H,ne,ht-1,-ht)}let He=0,Ne=1,Je=0;for(this[H]=D&255;++He<ne&&(Ne*=256);)D<0&&Je===0&&this[H+He-1]!==0&&(Je=1),this[H+He]=(D/Ne>>0)-Je&255;return H+ne},y.prototype.writeIntBE=function(D,H,ne,xe){if(D=+D,H=H>>>0,!xe){const ht=Math.pow(2,8*ne-1);le(this,D,H,ne,ht-1,-ht)}let He=ne-1,Ne=1,Je=0;for(this[H+He]=D&255;--He>=0&&(Ne*=256);)D<0&&Je===0&&this[H+He+1]!==0&&(Je=1),this[H+He]=(D/Ne>>0)-Je&255;return H+ne},y.prototype.writeInt8=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,1,127,-128),D<0&&(D=255+D+1),this[H]=D&255,H+1},y.prototype.writeInt16LE=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,2,32767,-32768),this[H]=D&255,this[H+1]=D>>>8,H+2},y.prototype.writeInt16BE=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,2,32767,-32768),this[H]=D>>>8,this[H+1]=D&255,H+2},y.prototype.writeInt32LE=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,4,2147483647,-2147483648),this[H]=D&255,this[H+1]=D>>>8,this[H+2]=D>>>16,this[H+3]=D>>>24,H+4},y.prototype.writeInt32BE=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,4,2147483647,-2147483648),D<0&&(D=4294967295+D+1),this[H]=D>>>24,this[H+1]=D>>>16,this[H+2]=D>>>8,this[H+3]=D&255,H+4},y.prototype.writeBigInt64LE=rt(function(D,H=0){return te(this,D,H,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),y.prototype.writeBigInt64BE=rt(function(D,H=0){return F(this,D,H,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function X(W,D,H,ne,xe,He){if(H+ne>W.length)throw new RangeError("Index out of range");if(H<0)throw new RangeError("Index out of range")}function Ee(W,D,H,ne,xe){return D=+D,H=H>>>0,xe||X(W,D,H,4),n.write(W,D,H,ne,23,4),H+4}y.prototype.writeFloatLE=function(D,H,ne){return Ee(this,D,H,!0,ne)},y.prototype.writeFloatBE=function(D,H,ne){return Ee(this,D,H,!1,ne)};function Ie(W,D,H,ne,xe){return D=+D,H=H>>>0,xe||X(W,D,H,8),n.write(W,D,H,ne,52,8),H+8}y.prototype.writeDoubleLE=function(D,H,ne){return Ie(this,D,H,!0,ne)},y.prototype.writeDoubleBE=function(D,H,ne){return Ie(this,D,H,!1,ne)},y.prototype.copy=function(D,H,ne,xe){if(!y.isBuffer(D))throw new TypeError("argument should be a Buffer");if(ne||(ne=0),!xe&&xe!==0&&(xe=this.length),H>=D.length&&(H=D.length),H||(H=0),xe>0&&xe<ne&&(xe=ne),xe===ne||D.length===0||this.length===0)return 0;if(H<0)throw new RangeError("targetStart out of bounds");if(ne<0||ne>=this.length)throw new RangeError("Index out of range");if(xe<0)throw new RangeError("sourceEnd out of bounds");xe>this.length&&(xe=this.length),D.length-H<xe-ne&&(xe=D.length-H+ne);const He=xe-ne;return this===D&&typeof o.prototype.copyWithin=="function"?this.copyWithin(H,ne,xe):o.prototype.set.call(D,this.subarray(ne,xe),H),He},y.prototype.fill=function(D,H,ne,xe){if(typeof D=="string"){if(typeof H=="string"?(xe=H,H=0,ne=this.length):typeof ne=="string"&&(xe=ne,ne=this.length),xe!==void 0&&typeof xe!="string")throw new TypeError("encoding must be a string");if(typeof xe=="string"&&!y.isEncoding(xe))throw new TypeError("Unknown encoding: "+xe);if(D.length===1){const Ne=D.charCodeAt(0);(xe==="utf8"&&Ne<128||xe==="latin1")&&(D=Ne)}}else typeof D=="number"?D=D&255:typeof D=="boolean"&&(D=Number(D));if(H<0||this.length<H||this.length<ne)throw new RangeError("Out of range index");if(ne<=H)return this;H=H>>>0,ne=ne===void 0?this.length:ne>>>0,D||(D=0);let He;if(typeof D=="number")for(He=H;He<ne;++He)this[He]=D;else{const Ne=y.isBuffer(D)?D:y.from(D,xe),Je=Ne.length;if(Je===0)throw new TypeError('The value "'+D+'" is invalid for argument "value"');for(He=0;He<ne-H;++He)this[He+H]=Ne[He%Je]}return this};const Te={};function J(W,D,H){Te[W]=class extends H{constructor(){super(),Object.defineProperty(this,"message",{value:D.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${W}]`,this.stack,delete this.name}get code(){return W}set code(xe){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:xe,writable:!0})}toString(){return`${this.name} [${W}]: ${this.message}`}}}J("ERR_BUFFER_OUT_OF_BOUNDS",function(W){return W?`${W} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),J("ERR_INVALID_ARG_TYPE",function(W,D){return`The "${W}" argument must be of type number. Received type ${typeof D}`},TypeError),J("ERR_OUT_OF_RANGE",function(W,D,H){let ne=`The value of "${W}" is out of range.`,xe=H;return Number.isInteger(H)&&Math.abs(H)>2**32?xe=Be(String(H)):typeof H=="bigint"&&(xe=String(H),(H>BigInt(2)**BigInt(32)||H<-(BigInt(2)**BigInt(32)))&&(xe=Be(xe)),xe+="n"),ne+=` It must be ${D}. Received ${xe}`,ne},RangeError);function Be(W){let D="",H=W.length;const ne=W[0]==="-"?1:0;for(;H>=ne+4;H-=3)D=`_${W.slice(H-3,H)}${D}`;return`${W.slice(0,H)}${D}`}function st(W,D,H){Fe(D,"offset"),(W[D]===void 0||W[D+H]===void 0)&&ut(D,W.length-(H+1))}function ze(W,D,H,ne,xe,He){if(W>H||W<D){const Ne=typeof D=="bigint"?"n":"";let Je;throw D===0||D===BigInt(0)?Je=`>= 0${Ne} and < 2${Ne} ** ${(He+1)*8}${Ne}`:Je=`>= -(2${Ne} ** ${(He+1)*8-1}${Ne}) and < 2 ** ${(He+1)*8-1}${Ne}`,new Te.ERR_OUT_OF_RANGE("value",Je,W)}st(ne,xe,He)}function Fe(W,D){if(typeof W!="number")throw new Te.ERR_INVALID_ARG_TYPE(D,"number",W)}function ut(W,D,H){throw Math.floor(W)!==W?(Fe(W,H),new Te.ERR_OUT_OF_RANGE("offset","an integer",W)):D<0?new Te.ERR_BUFFER_OUT_OF_BOUNDS:new Te.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${D}`,W)}const Ye=/[^+/0-9A-Za-z-_]/g;function qe(W){if(W=W.split("=")[0],W=W.trim().replace(Ye,""),W.length<2)return"";for(;W.length%4!==0;)W=W+"=";return W}function pt(W,D){D=D||1/0;let H;const ne=W.length;let xe=null;const He=[];for(let Ne=0;Ne<ne;++Ne){if(H=W.charCodeAt(Ne),H>55295&&H<57344){if(!xe){if(H>56319){(D-=3)>-1&&He.push(239,191,189);continue}else if(Ne+1===ne){(D-=3)>-1&&He.push(239,191,189);continue}xe=H;continue}if(H<56320){(D-=3)>-1&&He.push(239,191,189),xe=H;continue}H=(xe-55296<<10|H-56320)+65536}else xe&&(D-=3)>-1&&He.push(239,191,189);if(xe=null,H<128){if((D-=1)<0)break;He.push(H)}else if(H<2048){if((D-=2)<0)break;He.push(H>>6|192,H&63|128)}else if(H<65536){if((D-=3)<0)break;He.push(H>>12|224,H>>6&63|128,H&63|128)}else if(H<1114112){if((D-=4)<0)break;He.push(H>>18|240,H>>12&63|128,H>>6&63|128,H&63|128)}else throw new Error("Invalid code point")}return He}function Ke(W){const D=[];for(let H=0;H<W.length;++H)D.push(W.charCodeAt(H)&255);return D}function Qe(W,D){let H,ne,xe;const He=[];for(let Ne=0;Ne<W.length&&!((D-=2)<0);++Ne)H=W.charCodeAt(Ne),ne=H>>8,xe=H%256,He.push(xe),He.push(ne);return He}function lt(W){return t.toByteArray(qe(W))}function Ve(W,D,H,ne){let xe;for(xe=0;xe<ne&&!(xe+H>=D.length||xe>=W.length);++xe)D[xe+H]=W[xe];return xe}function Xe(W,D){return W instanceof D||W!=null&&W.constructor!=null&&W.constructor.name!=null&&W.constructor.name===D.name}function mt(W){return W!==W}const Ze=function(){const W="0123456789abcdef",D=new Array(256);for(let H=0;H<16;++H){const ne=H*16;for(let xe=0;xe<16;++xe)D[ne+xe]=W[H]+W[xe]}return D}();function rt(W){return typeof BigInt>"u"?vt:W}function vt(){throw new Error("BigInt not supported")}})(buffer$2);const Buffer$1=buffer$2.Buffer,listeners=vue.reactive(new Map),EventBus={$on(u,t){let n=listeners.get(u);n||(n=new Set,listeners.set(u,n)),n.add(t)},$emit(u,...t){const n=listeners.get(u);if(n)for(const l of n)l(...t)},$off(u,t){const n=listeners.get(u);n&&n.delete(t)}};vue.readonly(EventBus);const GlobalMixin={computed:{home(){return this.$storex&&this.$storex.token&&this.$storex.username?"/"+this.$storex.username:"/welcome"},isAndroid(){return/Android/i.test(navigator.userAgent)||core.Capacitor.getPlatform()==="android"},isiOS(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document||core.Capacitor.getPlatform()==="ios"},isNative(){return core.Capacitor.isNativePlatform()}},methods:{getIcon(u){return this.isNative?`/icons/${u}`:"https://cdn.tapni.co/icons/"+u},errorHandler(u){return u&&u.response&&u.response.data&&u.response.data.error&&((u.response.data.error==="ACCESS_DENIED"||u.response.data.error==="TOKEN_EXPIRED")&&this.logout(),!u.response.data.error.includes("Network Error")&&!u.response.data.error.includes("Cannot read properties")&&this.errorSnack(u.response.data.error)),u},errorSnack(u){let t=document.getElementById("snackbar"),n=document.getElementById("errorMessage"),l=document.getElementById("errorSnack");n.innerHTML=u,t.classList.add("show-snack"),l.classList.add("active-snack"),setTimeout(function(){l.classList.remove("active-snack"),t.classList.remove("show-snack")},3e3)},successSnack(u){let t=document.getElementById("snackbar"),n=document.getElementById("successMessage"),l=document.getElementById("successSnack");n.innerHTML=u,t.classList.add("show-snack"),l.classList.add("active-snack"),setTimeout(function(){l.classList.remove("active-snack"),t.classList.remove("show-snack")},3e3)},closeSnacks(){document.getElementById("snackbar").classList.remove("show-snack"),document.getElementById("successSnack").classList.remove("active-snack"),document.getElementById("errorSnack").classList.remove("active-snack")},tapsEmoji(u){return u<10?"":u<=50?"🔥":u<=100?"💥":u<=300?"💎":u>300?"🚀":""},isEmpty(u){if(!u)return!0;for(let t in u)if(u.hasOwnProperty(t))return!1;return JSON.stringify(u)===JSON.stringify({})},copy(u=""){const t=document.createElement("textarea");t.value=u,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),this.successSnack(this.ssoLang[this.appLanguage].copied)},async getCaptchaToken(u){try{return await window.grecaptcha.execute("6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk",{action:u})}catch(t){return console.error("grecaptcha_error",t),null}}}},{mapState,mapActions,mapGetters}=vuex.createNamespacedHelpers("auth"),AuthMixin={mixins:[GlobalMixin],props:{isModal:{type:Boolean,required:!1,default:!1}},computed:{...mapState(["$storex","refreshing","loggedInUserId","account","device","loggedInAccounts","ssoLang","display","redirect_uri","response_type","state","allowedOriginsAuth"]),...mapGetters(["accessToken","refreshTokens","isLoggedIn","renderView","appLanguage"])},methods:{...mapActions(["setLoggedInAccounts","setLoggedInUserId","setRefreshToken","unsetRefreshToken","setToken","setView","setStorage","setStorageItem","updateLang","login","register","verify","reset","exchangeAuthCode","changePassword","newPassword","deleteAccount","registerDevice","addFcmToken","acceptCompanyInvitation","logout","getCompanyBySSOEmail","getLoggedInAccounts","loginUsingQR","getAccountSettings","setRedirectUri","setDisplay","setState","setRealm","setResponseType","switchAccount","loginSetup","loginSuccess","refreshTokenAction"])},watch:{"$route.query":{handler:function(){this.$route.query.redirect_uri&&this.setRedirectUri(this.$route.query.redirect_uri),this.$route.query.display&&this.setDisplay(this.$route.query.display),this.$route.query.state&&this.setState(this.$route.query.state),this.$route.query.response_type&&this.setResponseType(this.$route.query.response_type),this.$route.query.realm&&this.setRealm(this.$route.query.realm)},deep:!0}}},_export_sfc=(u,t)=>{const n=u.__vccOpts||u;for(const[l,h]of t)n[l]=h;return n},_sfc_main$d={name:"AuthWelcome",mixins:[AuthMixin],data(){return{loading:!0}},async mounted(){let u=document.getElementById("tapniVideo");u.addEventListener("canplay",function(){if(document.body.contains(u))try{u.play()}catch(t){console.error("Play was interrupted:",t)}}),setTimeout(()=>{this.$storex&&this.$storex.token?this.$router.push(this.home):EventBus.$emit("ssoEvent",{name:"setLoading",data:!1})},500)},methods:{}},_hoisted_1$d={class:"page-login content-boxed content-boxed-padding center-text",style:{"margin-top":"-1px",overflow:"hidden",border:"solid 0px #ffffff"}},_hoisted_2$c=["autoplay"],_hoisted_3$d={class:"bold full-top no-bottom center-text text-[24px]"},_hoisted_4$c={class:"full-bottom half-top center-text color-black font-16"},_hoisted_6$b={class:"page-login-links center-text"},_hoisted_8$6={key:3,style:{display:"flex","flex-direction":"row","justify-content":"space-around",width:"90%",margin:"0 auto","margin-top":"40px"}};function _sfc_render$c(u,t,n,l,h,o){const _=vue.resolveComponent("router-link");return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$d,[vue.createElementVNode("video",{id:"tapniVideo",muted:"",loop:"",playsinline:"",width:"350",style:{margin:"0 auto","max-width":"100%","margin-top":"63px",overflow:"hidden"},autoplay:u.isNative},t[1]||(t[1]=[vue.createElementVNode("source",{src:"https://cdn.tapni.co/images/tapni-card-tap-video-white.mp4",type:"video/mp4"},null,-1)]),8,_hoisted_2$c),vue.createElementVNode("h1",_hoisted_3$d,vue.toDisplayString(u.ssoLang[this.appLanguage].welcome),1),vue.createElementVNode("p",_hoisted_4$c,vue.toDisplayString(u.ssoLang[this.appLanguage].welcome_p1),1),vue.createCommentVNode("",!0),vue.createCommentVNode("",!0),vue.createVNode(_,{to:"register",exact:"",class:"button-center button button-90 google-button bg-tapni-grey pointer"},{default:vue.withCtx(()=>[vue.createElementVNode("span",null,vue.toDisplayString(u.ssoLang[this.appLanguage].create_account),1)]),_:1}),vue.createElementVNode("div",_hoisted_6$b,[vue.createVNode(_,{to:"/login"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(u.ssoLang[this.appLanguage].already_registered)+"? ",1),vue.createElementVNode("b",null,vue.toDisplayString(u.ssoLang[this.appLanguage].sign_in),1)]),_:1}),t[2]||(t[2]=vue.createElementVNode("div",{class:"clear"},null,-1))]),vue.createCommentVNode("",!0),this.isNative?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$6,t[3]||(t[3]=[vue.createStaticVNode('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-cb61958b><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-cb61958b></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-cb61958b><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-cb61958b></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-cb61958b><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-cb61958b></a>',3)])))])}const AuthWelcome=_export_sfc(_sfc_main$d,[["render",_sfc_render$c],["__scopeId","data-v-cb61958b"]]),Welcome$1=Object.freeze(Object.defineProperty({__proto__:null,default:AuthWelcome},Symbol.toStringTag,{value:"Module"})),version$3="1.0.34",UserService={getMe(){return api$1().get("/users/me")},getByUsername(u){let t=document.referrer||"",n=u.utmParams||{};return u.dontTap&&(n.dontTap=!0),api$1().get(`/users/${u.username}`,{params:n,headers:{"X-Referer":t}})},getByNumber(u){let t=document.referrer||"",n=u.utmParams||{};return u.dontTap&&(n.dontTap=!0),api$1().get(`/users/tag/${u.serial}`,{params:n,headers:{"X-Referer":t}})},save(u){return api$1().put("/users",u)},newPassword(u){return api$1().put("/users/new-password",u)},connect(u){return api$1().post("/users/connect",u)},eventLog(u){return api$1().post("/users/log",u)},deleteAccount(u){return api$1().post("/users/profile/delete",u)},registerDevice(u){return api$1().post("/users/device/register",u)},addFcmToken(u){return api$1().post("/users/device/fcm",u)},loginUsingQR(u){return api$1().post("/users/qr/login",u)}},DeviceService={registerDevice(u){return api$1().post("/devices/add",u)},addFcmToken(u){return api$1().post("/devices/fcm/add",u)}},CompanyService={getBySSOEmail(u){return api$1().get(`/company/sso/${u}`)},acceptCompanyInvitation(u){return api$1().get(`/users/invitation?ic=${u}`)},qrCodePooling(u){return api$1().post("/company/login/qr",u)}},enLocale={state:{english:"English",spanish:"Spanish",german:"German",korean:"Korean",italian:"Italian",french:"French",serbian:"Serbian",turkish:"Turkish",chinese:"Chinese",app_language:"Language",profile_preview:"Profile preview",edit_profile:"Edit profile",login:"Login",referral_reach:"Provide us with more information about you and your reach.",referral_apply_placeholder:"How do you plan to promote Tapni?",referral_apply_note:`Add as many links as possible in your account, <br>
|
|
6
|
+
*/(function(u){const t=base64Js,n=ieee754,l=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;u.Buffer=y,u.SlowBuffer=Q,u.INSPECT_MAX_BYTES=50;const h=2147483647;u.kMaxLength=h;const{Uint8Array:o,ArrayBuffer:_,SharedArrayBuffer:b}=globalThis;y.TYPED_ARRAY_SUPPORT=E(),!y.TYPED_ARRAY_SUPPORT&&typeof console<"u"&&typeof console.error=="function"&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function E(){try{const W=new o(1),D={foo:function(){return 42}};return Object.setPrototypeOf(D,o.prototype),Object.setPrototypeOf(W,D),W.foo()===42}catch{return!1}}Object.defineProperty(y.prototype,"parent",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.buffer}}),Object.defineProperty(y.prototype,"offset",{enumerable:!0,get:function(){if(y.isBuffer(this))return this.byteOffset}});function S(W){if(W>h)throw new RangeError('The value "'+W+'" is invalid for option "size"');const D=new o(W);return Object.setPrototypeOf(D,y.prototype),D}function y(W,D,H){if(typeof W=="number"){if(typeof D=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return R(W)}return k(W,D,H)}y.poolSize=8192;function k(W,D,H){if(typeof W=="string")return B(W,D);if(_.isView(W))return L(W);if(W==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof W);if(Xe(W,_)||W&&Xe(W.buffer,_)||typeof b<"u"&&(Xe(W,b)||W&&Xe(W.buffer,b)))return N(W,D,H);if(typeof W=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const ne=W.valueOf&&W.valueOf();if(ne!=null&&ne!==W)return y.from(ne,D,H);const xe=z(W);if(xe)return xe;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof W[Symbol.toPrimitive]=="function")return y.from(W[Symbol.toPrimitive]("string"),D,H);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof W)}y.from=function(W,D,H){return k(W,D,H)},Object.setPrototypeOf(y.prototype,o.prototype),Object.setPrototypeOf(y,o);function A(W){if(typeof W!="number")throw new TypeError('"size" argument must be of type number');if(W<0)throw new RangeError('The value "'+W+'" is invalid for option "size"')}function T(W,D,H){return A(W),W<=0?S(W):D!==void 0?typeof H=="string"?S(W).fill(D,H):S(W).fill(D):S(W)}y.alloc=function(W,D,H){return T(W,D,H)};function R(W){return A(W),S(W<0?0:$(W)|0)}y.allocUnsafe=function(W){return R(W)},y.allocUnsafeSlow=function(W){return R(W)};function B(W,D){if((typeof D!="string"||D==="")&&(D="utf8"),!y.isEncoding(D))throw new TypeError("Unknown encoding: "+D);const H=G(W,D)|0;let ne=S(H);const xe=ne.write(W,D);return xe!==H&&(ne=ne.slice(0,xe)),ne}function O(W){const D=W.length<0?0:$(W.length)|0,H=S(D);for(let ne=0;ne<D;ne+=1)H[ne]=W[ne]&255;return H}function L(W){if(Xe(W,o)){const D=new o(W);return N(D.buffer,D.byteOffset,D.byteLength)}return O(W)}function N(W,D,H){if(D<0||W.byteLength<D)throw new RangeError('"offset" is outside of buffer bounds');if(W.byteLength<D+(H||0))throw new RangeError('"length" is outside of buffer bounds');let ne;return D===void 0&&H===void 0?ne=new o(W):H===void 0?ne=new o(W,D):ne=new o(W,D,H),Object.setPrototypeOf(ne,y.prototype),ne}function z(W){if(y.isBuffer(W)){const D=$(W.length)|0,H=S(D);return H.length===0||W.copy(H,0,0,D),H}if(W.length!==void 0)return typeof W.length!="number"||mt(W.length)?S(0):O(W);if(W.type==="Buffer"&&Array.isArray(W.data))return O(W.data)}function $(W){if(W>=h)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+h.toString(16)+" bytes");return W|0}function Q(W){return+W!=W&&(W=0),y.alloc(+W)}y.isBuffer=function(D){return D!=null&&D._isBuffer===!0&&D!==y.prototype},y.compare=function(D,H){if(Xe(D,o)&&(D=y.from(D,D.offset,D.byteLength)),Xe(H,o)&&(H=y.from(H,H.offset,H.byteLength)),!y.isBuffer(D)||!y.isBuffer(H))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(D===H)return 0;let ne=D.length,xe=H.length;for(let He=0,Ne=Math.min(ne,xe);He<Ne;++He)if(D[He]!==H[He]){ne=D[He],xe=H[He];break}return ne<xe?-1:xe<ne?1:0},y.isEncoding=function(D){switch(String(D).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},y.concat=function(D,H){if(!Array.isArray(D))throw new TypeError('"list" argument must be an Array of Buffers');if(D.length===0)return y.alloc(0);let ne;if(H===void 0)for(H=0,ne=0;ne<D.length;++ne)H+=D[ne].length;const xe=y.allocUnsafe(H);let He=0;for(ne=0;ne<D.length;++ne){let Ne=D[ne];if(Xe(Ne,o))He+Ne.length>xe.length?(y.isBuffer(Ne)||(Ne=y.from(Ne)),Ne.copy(xe,He)):o.prototype.set.call(xe,Ne,He);else if(y.isBuffer(Ne))Ne.copy(xe,He);else throw new TypeError('"list" argument must be an Array of Buffers');He+=Ne.length}return xe};function G(W,D){if(y.isBuffer(W))return W.length;if(_.isView(W)||Xe(W,_))return W.byteLength;if(typeof W!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof W);const H=W.length,ne=arguments.length>2&&arguments[2]===!0;if(!ne&&H===0)return 0;let xe=!1;for(;;)switch(D){case"ascii":case"latin1":case"binary":return H;case"utf8":case"utf-8":return pt(W).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return H*2;case"hex":return H>>>1;case"base64":return lt(W).length;default:if(xe)return ne?-1:pt(W).length;D=(""+D).toLowerCase(),xe=!0}}y.byteLength=G;function _e(W,D,H){let ne=!1;if((D===void 0||D<0)&&(D=0),D>this.length||((H===void 0||H>this.length)&&(H=this.length),H<=0)||(H>>>=0,D>>>=0,H<=D))return"";for(W||(W="utf8");;)switch(W){case"hex":return x(this,D,H);case"utf8":case"utf-8":return w(this,D,H);case"ascii":return r(this,D,H);case"latin1":case"binary":return v(this,D,H);case"base64":return m(this,D,H);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,D,H);default:if(ne)throw new TypeError("Unknown encoding: "+W);W=(W+"").toLowerCase(),ne=!0}}y.prototype._isBuffer=!0;function ee(W,D,H){const ne=W[D];W[D]=W[H],W[H]=ne}y.prototype.swap16=function(){const D=this.length;if(D%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let H=0;H<D;H+=2)ee(this,H,H+1);return this},y.prototype.swap32=function(){const D=this.length;if(D%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let H=0;H<D;H+=4)ee(this,H,H+3),ee(this,H+1,H+2);return this},y.prototype.swap64=function(){const D=this.length;if(D%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let H=0;H<D;H+=8)ee(this,H,H+7),ee(this,H+1,H+6),ee(this,H+2,H+5),ee(this,H+3,H+4);return this},y.prototype.toString=function(){const D=this.length;return D===0?"":arguments.length===0?w(this,0,D):_e.apply(this,arguments)},y.prototype.toLocaleString=y.prototype.toString,y.prototype.equals=function(D){if(!y.isBuffer(D))throw new TypeError("Argument must be a Buffer");return this===D?!0:y.compare(this,D)===0},y.prototype.inspect=function(){let D="";const H=u.INSPECT_MAX_BYTES;return D=this.toString("hex",0,H).replace(/(.{2})/g,"$1 ").trim(),this.length>H&&(D+=" ... "),"<Buffer "+D+">"},l&&(y.prototype[l]=y.prototype.inspect),y.prototype.compare=function(D,H,ne,xe,He){if(Xe(D,o)&&(D=y.from(D,D.offset,D.byteLength)),!y.isBuffer(D))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof D);if(H===void 0&&(H=0),ne===void 0&&(ne=D?D.length:0),xe===void 0&&(xe=0),He===void 0&&(He=this.length),H<0||ne>D.length||xe<0||He>this.length)throw new RangeError("out of range index");if(xe>=He&&H>=ne)return 0;if(xe>=He)return-1;if(H>=ne)return 1;if(H>>>=0,ne>>>=0,xe>>>=0,He>>>=0,this===D)return 0;let Ne=He-xe,Je=ne-H;const ht=Math.min(Ne,Je),Ge=this.slice(xe,He),et=D.slice(H,ne);for(let dt=0;dt<ht;++dt)if(Ge[dt]!==et[dt]){Ne=Ge[dt],Je=et[dt];break}return Ne<Je?-1:Je<Ne?1:0};function Z(W,D,H,ne,xe){if(W.length===0)return-1;if(typeof H=="string"?(ne=H,H=0):H>2147483647?H=2147483647:H<-2147483648&&(H=-2147483648),H=+H,mt(H)&&(H=xe?0:W.length-1),H<0&&(H=W.length+H),H>=W.length){if(xe)return-1;H=W.length-1}else if(H<0)if(xe)H=0;else return-1;if(typeof D=="string"&&(D=y.from(D,ne)),y.isBuffer(D))return D.length===0?-1:Pe(W,D,H,ne,xe);if(typeof D=="number")return D=D&255,typeof o.prototype.indexOf=="function"?xe?o.prototype.indexOf.call(W,D,H):o.prototype.lastIndexOf.call(W,D,H):Pe(W,[D],H,ne,xe);throw new TypeError("val must be string, number or Buffer")}function Pe(W,D,H,ne,xe){let He=1,Ne=W.length,Je=D.length;if(ne!==void 0&&(ne=String(ne).toLowerCase(),ne==="ucs2"||ne==="ucs-2"||ne==="utf16le"||ne==="utf-16le")){if(W.length<2||D.length<2)return-1;He=2,Ne/=2,Je/=2,H/=2}function ht(et,dt){return He===1?et[dt]:et.readUInt16BE(dt*He)}let Ge;if(xe){let et=-1;for(Ge=H;Ge<Ne;Ge++)if(ht(W,Ge)===ht(D,et===-1?0:Ge-et)){if(et===-1&&(et=Ge),Ge-et+1===Je)return et*He}else et!==-1&&(Ge-=Ge-et),et=-1}else for(H+Je>Ne&&(H=Ne-Je),Ge=H;Ge>=0;Ge--){let et=!0;for(let dt=0;dt<Je;dt++)if(ht(W,Ge+dt)!==ht(D,dt)){et=!1;break}if(et)return Ge}return-1}y.prototype.includes=function(D,H,ne){return this.indexOf(D,H,ne)!==-1},y.prototype.indexOf=function(D,H,ne){return Z(this,D,H,ne,!0)},y.prototype.lastIndexOf=function(D,H,ne){return Z(this,D,H,ne,!1)};function M(W,D,H,ne){H=Number(H)||0;const xe=W.length-H;ne?(ne=Number(ne),ne>xe&&(ne=xe)):ne=xe;const He=D.length;ne>He/2&&(ne=He/2);let Ne;for(Ne=0;Ne<ne;++Ne){const Je=parseInt(D.substr(Ne*2,2),16);if(mt(Je))return Ne;W[H+Ne]=Je}return Ne}function e(W,D,H,ne){return Ve(pt(D,W.length-H),W,H,ne)}function s(W,D,H,ne){return Ve(Ke(D),W,H,ne)}function f(W,D,H,ne){return Ve(lt(D),W,H,ne)}function d(W,D,H,ne){return Ve(Qe(D,W.length-H),W,H,ne)}y.prototype.write=function(D,H,ne,xe){if(H===void 0)xe="utf8",ne=this.length,H=0;else if(ne===void 0&&typeof H=="string")xe=H,ne=this.length,H=0;else if(isFinite(H))H=H>>>0,isFinite(ne)?(ne=ne>>>0,xe===void 0&&(xe="utf8")):(xe=ne,ne=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const He=this.length-H;if((ne===void 0||ne>He)&&(ne=He),D.length>0&&(ne<0||H<0)||H>this.length)throw new RangeError("Attempt to write outside buffer bounds");xe||(xe="utf8");let Ne=!1;for(;;)switch(xe){case"hex":return M(this,D,H,ne);case"utf8":case"utf-8":return e(this,D,H,ne);case"ascii":case"latin1":case"binary":return s(this,D,H,ne);case"base64":return f(this,D,H,ne);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return d(this,D,H,ne);default:if(Ne)throw new TypeError("Unknown encoding: "+xe);xe=(""+xe).toLowerCase(),Ne=!0}},y.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function m(W,D,H){return D===0&&H===W.length?t.fromByteArray(W):t.fromByteArray(W.slice(D,H))}function w(W,D,H){H=Math.min(W.length,H);const ne=[];let xe=D;for(;xe<H;){const He=W[xe];let Ne=null,Je=He>239?4:He>223?3:He>191?2:1;if(xe+Je<=H){let ht,Ge,et,dt;switch(Je){case 1:He<128&&(Ne=He);break;case 2:ht=W[xe+1],(ht&192)===128&&(dt=(He&31)<<6|ht&63,dt>127&&(Ne=dt));break;case 3:ht=W[xe+1],Ge=W[xe+2],(ht&192)===128&&(Ge&192)===128&&(dt=(He&15)<<12|(ht&63)<<6|Ge&63,dt>2047&&(dt<55296||dt>57343)&&(Ne=dt));break;case 4:ht=W[xe+1],Ge=W[xe+2],et=W[xe+3],(ht&192)===128&&(Ge&192)===128&&(et&192)===128&&(dt=(He&15)<<18|(ht&63)<<12|(Ge&63)<<6|et&63,dt>65535&&dt<1114112&&(Ne=dt))}}Ne===null?(Ne=65533,Je=1):Ne>65535&&(Ne-=65536,ne.push(Ne>>>10&1023|55296),Ne=56320|Ne&1023),ne.push(Ne),xe+=Je}return p(ne)}const C=4096;function p(W){const D=W.length;if(D<=C)return String.fromCharCode.apply(String,W);let H="",ne=0;for(;ne<D;)H+=String.fromCharCode.apply(String,W.slice(ne,ne+=C));return H}function r(W,D,H){let ne="";H=Math.min(W.length,H);for(let xe=D;xe<H;++xe)ne+=String.fromCharCode(W[xe]&127);return ne}function v(W,D,H){let ne="";H=Math.min(W.length,H);for(let xe=D;xe<H;++xe)ne+=String.fromCharCode(W[xe]);return ne}function x(W,D,H){const ne=W.length;(!D||D<0)&&(D=0),(!H||H<0||H>ne)&&(H=ne);let xe="";for(let He=D;He<H;++He)xe+=Ze[W[He]];return xe}function q(W,D,H){const ne=W.slice(D,H);let xe="";for(let He=0;He<ne.length-1;He+=2)xe+=String.fromCharCode(ne[He]+ne[He+1]*256);return xe}y.prototype.slice=function(D,H){const ne=this.length;D=~~D,H=H===void 0?ne:~~H,D<0?(D+=ne,D<0&&(D=0)):D>ne&&(D=ne),H<0?(H+=ne,H<0&&(H=0)):H>ne&&(H=ne),H<D&&(H=D);const xe=this.subarray(D,H);return Object.setPrototypeOf(xe,y.prototype),xe};function K(W,D,H){if(W%1!==0||W<0)throw new RangeError("offset is not uint");if(W+D>H)throw new RangeError("Trying to access beyond buffer length")}y.prototype.readUintLE=y.prototype.readUIntLE=function(D,H,ne){D=D>>>0,H=H>>>0,ne||K(D,H,this.length);let xe=this[D],He=1,Ne=0;for(;++Ne<H&&(He*=256);)xe+=this[D+Ne]*He;return xe},y.prototype.readUintBE=y.prototype.readUIntBE=function(D,H,ne){D=D>>>0,H=H>>>0,ne||K(D,H,this.length);let xe=this[D+--H],He=1;for(;H>0&&(He*=256);)xe+=this[D+--H]*He;return xe},y.prototype.readUint8=y.prototype.readUInt8=function(D,H){return D=D>>>0,H||K(D,1,this.length),this[D]},y.prototype.readUint16LE=y.prototype.readUInt16LE=function(D,H){return D=D>>>0,H||K(D,2,this.length),this[D]|this[D+1]<<8},y.prototype.readUint16BE=y.prototype.readUInt16BE=function(D,H){return D=D>>>0,H||K(D,2,this.length),this[D]<<8|this[D+1]},y.prototype.readUint32LE=y.prototype.readUInt32LE=function(D,H){return D=D>>>0,H||K(D,4,this.length),(this[D]|this[D+1]<<8|this[D+2]<<16)+this[D+3]*16777216},y.prototype.readUint32BE=y.prototype.readUInt32BE=function(D,H){return D=D>>>0,H||K(D,4,this.length),this[D]*16777216+(this[D+1]<<16|this[D+2]<<8|this[D+3])},y.prototype.readBigUInt64LE=rt(function(D){D=D>>>0,Fe(D,"offset");const H=this[D],ne=this[D+7];(H===void 0||ne===void 0)&&ut(D,this.length-8);const xe=H+this[++D]*2**8+this[++D]*2**16+this[++D]*2**24,He=this[++D]+this[++D]*2**8+this[++D]*2**16+ne*2**24;return BigInt(xe)+(BigInt(He)<<BigInt(32))}),y.prototype.readBigUInt64BE=rt(function(D){D=D>>>0,Fe(D,"offset");const H=this[D],ne=this[D+7];(H===void 0||ne===void 0)&&ut(D,this.length-8);const xe=H*2**24+this[++D]*2**16+this[++D]*2**8+this[++D],He=this[++D]*2**24+this[++D]*2**16+this[++D]*2**8+ne;return(BigInt(xe)<<BigInt(32))+BigInt(He)}),y.prototype.readIntLE=function(D,H,ne){D=D>>>0,H=H>>>0,ne||K(D,H,this.length);let xe=this[D],He=1,Ne=0;for(;++Ne<H&&(He*=256);)xe+=this[D+Ne]*He;return He*=128,xe>=He&&(xe-=Math.pow(2,8*H)),xe},y.prototype.readIntBE=function(D,H,ne){D=D>>>0,H=H>>>0,ne||K(D,H,this.length);let xe=H,He=1,Ne=this[D+--xe];for(;xe>0&&(He*=256);)Ne+=this[D+--xe]*He;return He*=128,Ne>=He&&(Ne-=Math.pow(2,8*H)),Ne},y.prototype.readInt8=function(D,H){return D=D>>>0,H||K(D,1,this.length),this[D]&128?(255-this[D]+1)*-1:this[D]},y.prototype.readInt16LE=function(D,H){D=D>>>0,H||K(D,2,this.length);const ne=this[D]|this[D+1]<<8;return ne&32768?ne|4294901760:ne},y.prototype.readInt16BE=function(D,H){D=D>>>0,H||K(D,2,this.length);const ne=this[D+1]|this[D]<<8;return ne&32768?ne|4294901760:ne},y.prototype.readInt32LE=function(D,H){return D=D>>>0,H||K(D,4,this.length),this[D]|this[D+1]<<8|this[D+2]<<16|this[D+3]<<24},y.prototype.readInt32BE=function(D,H){return D=D>>>0,H||K(D,4,this.length),this[D]<<24|this[D+1]<<16|this[D+2]<<8|this[D+3]},y.prototype.readBigInt64LE=rt(function(D){D=D>>>0,Fe(D,"offset");const H=this[D],ne=this[D+7];(H===void 0||ne===void 0)&&ut(D,this.length-8);const xe=this[D+4]+this[D+5]*2**8+this[D+6]*2**16+(ne<<24);return(BigInt(xe)<<BigInt(32))+BigInt(H+this[++D]*2**8+this[++D]*2**16+this[++D]*2**24)}),y.prototype.readBigInt64BE=rt(function(D){D=D>>>0,Fe(D,"offset");const H=this[D],ne=this[D+7];(H===void 0||ne===void 0)&&ut(D,this.length-8);const xe=(H<<24)+this[++D]*2**16+this[++D]*2**8+this[++D];return(BigInt(xe)<<BigInt(32))+BigInt(this[++D]*2**24+this[++D]*2**16+this[++D]*2**8+ne)}),y.prototype.readFloatLE=function(D,H){return D=D>>>0,H||K(D,4,this.length),n.read(this,D,!0,23,4)},y.prototype.readFloatBE=function(D,H){return D=D>>>0,H||K(D,4,this.length),n.read(this,D,!1,23,4)},y.prototype.readDoubleLE=function(D,H){return D=D>>>0,H||K(D,8,this.length),n.read(this,D,!0,52,8)},y.prototype.readDoubleBE=function(D,H){return D=D>>>0,H||K(D,8,this.length),n.read(this,D,!1,52,8)};function le(W,D,H,ne,xe,He){if(!y.isBuffer(W))throw new TypeError('"buffer" argument must be a Buffer instance');if(D>xe||D<He)throw new RangeError('"value" argument is out of bounds');if(H+ne>W.length)throw new RangeError("Index out of range")}y.prototype.writeUintLE=y.prototype.writeUIntLE=function(D,H,ne,xe){if(D=+D,H=H>>>0,ne=ne>>>0,!xe){const Je=Math.pow(2,8*ne)-1;le(this,D,H,ne,Je,0)}let He=1,Ne=0;for(this[H]=D&255;++Ne<ne&&(He*=256);)this[H+Ne]=D/He&255;return H+ne},y.prototype.writeUintBE=y.prototype.writeUIntBE=function(D,H,ne,xe){if(D=+D,H=H>>>0,ne=ne>>>0,!xe){const Je=Math.pow(2,8*ne)-1;le(this,D,H,ne,Je,0)}let He=ne-1,Ne=1;for(this[H+He]=D&255;--He>=0&&(Ne*=256);)this[H+He]=D/Ne&255;return H+ne},y.prototype.writeUint8=y.prototype.writeUInt8=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,1,255,0),this[H]=D&255,H+1},y.prototype.writeUint16LE=y.prototype.writeUInt16LE=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,2,65535,0),this[H]=D&255,this[H+1]=D>>>8,H+2},y.prototype.writeUint16BE=y.prototype.writeUInt16BE=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,2,65535,0),this[H]=D>>>8,this[H+1]=D&255,H+2},y.prototype.writeUint32LE=y.prototype.writeUInt32LE=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,4,4294967295,0),this[H+3]=D>>>24,this[H+2]=D>>>16,this[H+1]=D>>>8,this[H]=D&255,H+4},y.prototype.writeUint32BE=y.prototype.writeUInt32BE=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,4,4294967295,0),this[H]=D>>>24,this[H+1]=D>>>16,this[H+2]=D>>>8,this[H+3]=D&255,H+4};function te(W,D,H,ne,xe){ze(D,ne,xe,W,H,7);let He=Number(D&BigInt(4294967295));W[H++]=He,He=He>>8,W[H++]=He,He=He>>8,W[H++]=He,He=He>>8,W[H++]=He;let Ne=Number(D>>BigInt(32)&BigInt(4294967295));return W[H++]=Ne,Ne=Ne>>8,W[H++]=Ne,Ne=Ne>>8,W[H++]=Ne,Ne=Ne>>8,W[H++]=Ne,H}function F(W,D,H,ne,xe){ze(D,ne,xe,W,H,7);let He=Number(D&BigInt(4294967295));W[H+7]=He,He=He>>8,W[H+6]=He,He=He>>8,W[H+5]=He,He=He>>8,W[H+4]=He;let Ne=Number(D>>BigInt(32)&BigInt(4294967295));return W[H+3]=Ne,Ne=Ne>>8,W[H+2]=Ne,Ne=Ne>>8,W[H+1]=Ne,Ne=Ne>>8,W[H]=Ne,H+8}y.prototype.writeBigUInt64LE=rt(function(D,H=0){return te(this,D,H,BigInt(0),BigInt("0xffffffffffffffff"))}),y.prototype.writeBigUInt64BE=rt(function(D,H=0){return F(this,D,H,BigInt(0),BigInt("0xffffffffffffffff"))}),y.prototype.writeIntLE=function(D,H,ne,xe){if(D=+D,H=H>>>0,!xe){const ht=Math.pow(2,8*ne-1);le(this,D,H,ne,ht-1,-ht)}let He=0,Ne=1,Je=0;for(this[H]=D&255;++He<ne&&(Ne*=256);)D<0&&Je===0&&this[H+He-1]!==0&&(Je=1),this[H+He]=(D/Ne>>0)-Je&255;return H+ne},y.prototype.writeIntBE=function(D,H,ne,xe){if(D=+D,H=H>>>0,!xe){const ht=Math.pow(2,8*ne-1);le(this,D,H,ne,ht-1,-ht)}let He=ne-1,Ne=1,Je=0;for(this[H+He]=D&255;--He>=0&&(Ne*=256);)D<0&&Je===0&&this[H+He+1]!==0&&(Je=1),this[H+He]=(D/Ne>>0)-Je&255;return H+ne},y.prototype.writeInt8=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,1,127,-128),D<0&&(D=255+D+1),this[H]=D&255,H+1},y.prototype.writeInt16LE=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,2,32767,-32768),this[H]=D&255,this[H+1]=D>>>8,H+2},y.prototype.writeInt16BE=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,2,32767,-32768),this[H]=D>>>8,this[H+1]=D&255,H+2},y.prototype.writeInt32LE=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,4,2147483647,-2147483648),this[H]=D&255,this[H+1]=D>>>8,this[H+2]=D>>>16,this[H+3]=D>>>24,H+4},y.prototype.writeInt32BE=function(D,H,ne){return D=+D,H=H>>>0,ne||le(this,D,H,4,2147483647,-2147483648),D<0&&(D=4294967295+D+1),this[H]=D>>>24,this[H+1]=D>>>16,this[H+2]=D>>>8,this[H+3]=D&255,H+4},y.prototype.writeBigInt64LE=rt(function(D,H=0){return te(this,D,H,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),y.prototype.writeBigInt64BE=rt(function(D,H=0){return F(this,D,H,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function X(W,D,H,ne,xe,He){if(H+ne>W.length)throw new RangeError("Index out of range");if(H<0)throw new RangeError("Index out of range")}function Ee(W,D,H,ne,xe){return D=+D,H=H>>>0,xe||X(W,D,H,4),n.write(W,D,H,ne,23,4),H+4}y.prototype.writeFloatLE=function(D,H,ne){return Ee(this,D,H,!0,ne)},y.prototype.writeFloatBE=function(D,H,ne){return Ee(this,D,H,!1,ne)};function Ie(W,D,H,ne,xe){return D=+D,H=H>>>0,xe||X(W,D,H,8),n.write(W,D,H,ne,52,8),H+8}y.prototype.writeDoubleLE=function(D,H,ne){return Ie(this,D,H,!0,ne)},y.prototype.writeDoubleBE=function(D,H,ne){return Ie(this,D,H,!1,ne)},y.prototype.copy=function(D,H,ne,xe){if(!y.isBuffer(D))throw new TypeError("argument should be a Buffer");if(ne||(ne=0),!xe&&xe!==0&&(xe=this.length),H>=D.length&&(H=D.length),H||(H=0),xe>0&&xe<ne&&(xe=ne),xe===ne||D.length===0||this.length===0)return 0;if(H<0)throw new RangeError("targetStart out of bounds");if(ne<0||ne>=this.length)throw new RangeError("Index out of range");if(xe<0)throw new RangeError("sourceEnd out of bounds");xe>this.length&&(xe=this.length),D.length-H<xe-ne&&(xe=D.length-H+ne);const He=xe-ne;return this===D&&typeof o.prototype.copyWithin=="function"?this.copyWithin(H,ne,xe):o.prototype.set.call(D,this.subarray(ne,xe),H),He},y.prototype.fill=function(D,H,ne,xe){if(typeof D=="string"){if(typeof H=="string"?(xe=H,H=0,ne=this.length):typeof ne=="string"&&(xe=ne,ne=this.length),xe!==void 0&&typeof xe!="string")throw new TypeError("encoding must be a string");if(typeof xe=="string"&&!y.isEncoding(xe))throw new TypeError("Unknown encoding: "+xe);if(D.length===1){const Ne=D.charCodeAt(0);(xe==="utf8"&&Ne<128||xe==="latin1")&&(D=Ne)}}else typeof D=="number"?D=D&255:typeof D=="boolean"&&(D=Number(D));if(H<0||this.length<H||this.length<ne)throw new RangeError("Out of range index");if(ne<=H)return this;H=H>>>0,ne=ne===void 0?this.length:ne>>>0,D||(D=0);let He;if(typeof D=="number")for(He=H;He<ne;++He)this[He]=D;else{const Ne=y.isBuffer(D)?D:y.from(D,xe),Je=Ne.length;if(Je===0)throw new TypeError('The value "'+D+'" is invalid for argument "value"');for(He=0;He<ne-H;++He)this[He+H]=Ne[He%Je]}return this};const Te={};function J(W,D,H){Te[W]=class extends H{constructor(){super(),Object.defineProperty(this,"message",{value:D.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${W}]`,this.stack,delete this.name}get code(){return W}set code(xe){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:xe,writable:!0})}toString(){return`${this.name} [${W}]: ${this.message}`}}}J("ERR_BUFFER_OUT_OF_BOUNDS",function(W){return W?`${W} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),J("ERR_INVALID_ARG_TYPE",function(W,D){return`The "${W}" argument must be of type number. Received type ${typeof D}`},TypeError),J("ERR_OUT_OF_RANGE",function(W,D,H){let ne=`The value of "${W}" is out of range.`,xe=H;return Number.isInteger(H)&&Math.abs(H)>2**32?xe=Be(String(H)):typeof H=="bigint"&&(xe=String(H),(H>BigInt(2)**BigInt(32)||H<-(BigInt(2)**BigInt(32)))&&(xe=Be(xe)),xe+="n"),ne+=` It must be ${D}. Received ${xe}`,ne},RangeError);function Be(W){let D="",H=W.length;const ne=W[0]==="-"?1:0;for(;H>=ne+4;H-=3)D=`_${W.slice(H-3,H)}${D}`;return`${W.slice(0,H)}${D}`}function st(W,D,H){Fe(D,"offset"),(W[D]===void 0||W[D+H]===void 0)&&ut(D,W.length-(H+1))}function ze(W,D,H,ne,xe,He){if(W>H||W<D){const Ne=typeof D=="bigint"?"n":"";let Je;throw D===0||D===BigInt(0)?Je=`>= 0${Ne} and < 2${Ne} ** ${(He+1)*8}${Ne}`:Je=`>= -(2${Ne} ** ${(He+1)*8-1}${Ne}) and < 2 ** ${(He+1)*8-1}${Ne}`,new Te.ERR_OUT_OF_RANGE("value",Je,W)}st(ne,xe,He)}function Fe(W,D){if(typeof W!="number")throw new Te.ERR_INVALID_ARG_TYPE(D,"number",W)}function ut(W,D,H){throw Math.floor(W)!==W?(Fe(W,H),new Te.ERR_OUT_OF_RANGE("offset","an integer",W)):D<0?new Te.ERR_BUFFER_OUT_OF_BOUNDS:new Te.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${D}`,W)}const Ye=/[^+/0-9A-Za-z-_]/g;function qe(W){if(W=W.split("=")[0],W=W.trim().replace(Ye,""),W.length<2)return"";for(;W.length%4!==0;)W=W+"=";return W}function pt(W,D){D=D||1/0;let H;const ne=W.length;let xe=null;const He=[];for(let Ne=0;Ne<ne;++Ne){if(H=W.charCodeAt(Ne),H>55295&&H<57344){if(!xe){if(H>56319){(D-=3)>-1&&He.push(239,191,189);continue}else if(Ne+1===ne){(D-=3)>-1&&He.push(239,191,189);continue}xe=H;continue}if(H<56320){(D-=3)>-1&&He.push(239,191,189),xe=H;continue}H=(xe-55296<<10|H-56320)+65536}else xe&&(D-=3)>-1&&He.push(239,191,189);if(xe=null,H<128){if((D-=1)<0)break;He.push(H)}else if(H<2048){if((D-=2)<0)break;He.push(H>>6|192,H&63|128)}else if(H<65536){if((D-=3)<0)break;He.push(H>>12|224,H>>6&63|128,H&63|128)}else if(H<1114112){if((D-=4)<0)break;He.push(H>>18|240,H>>12&63|128,H>>6&63|128,H&63|128)}else throw new Error("Invalid code point")}return He}function Ke(W){const D=[];for(let H=0;H<W.length;++H)D.push(W.charCodeAt(H)&255);return D}function Qe(W,D){let H,ne,xe;const He=[];for(let Ne=0;Ne<W.length&&!((D-=2)<0);++Ne)H=W.charCodeAt(Ne),ne=H>>8,xe=H%256,He.push(xe),He.push(ne);return He}function lt(W){return t.toByteArray(qe(W))}function Ve(W,D,H,ne){let xe;for(xe=0;xe<ne&&!(xe+H>=D.length||xe>=W.length);++xe)D[xe+H]=W[xe];return xe}function Xe(W,D){return W instanceof D||W!=null&&W.constructor!=null&&W.constructor.name!=null&&W.constructor.name===D.name}function mt(W){return W!==W}const Ze=function(){const W="0123456789abcdef",D=new Array(256);for(let H=0;H<16;++H){const ne=H*16;for(let xe=0;xe<16;++xe)D[ne+xe]=W[H]+W[xe]}return D}();function rt(W){return typeof BigInt>"u"?vt:W}function vt(){throw new Error("BigInt not supported")}})(buffer$2);const Buffer$1=buffer$2.Buffer,listeners=vue.reactive(new Map),EventBus={$on(u,t){let n=listeners.get(u);n||(n=new Set,listeners.set(u,n)),n.add(t)},$emit(u,...t){const n=listeners.get(u);if(n)for(const l of n)l(...t)},$off(u,t){const n=listeners.get(u);n&&n.delete(t)}};vue.readonly(EventBus);const GlobalMixin={computed:{home(){return this.$storex&&this.$storex.token&&this.$storex.username?"/"+this.$storex.username:"/welcome"},isAndroid(){return/Android/i.test(navigator.userAgent)||core.Capacitor.getPlatform()==="android"},isiOS(){return["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document||core.Capacitor.getPlatform()==="ios"},isNative(){return core.Capacitor.isNativePlatform()}},methods:{getIcon(u){return this.isNative?`/icons/${u}`:"https://cdn.tapni.co/icons/"+u},errorHandler(u){return u&&u.response&&u.response.data&&u.response.data.error&&((u.response.data.error==="ACCESS_DENIED"||u.response.data.error==="TOKEN_EXPIRED")&&this.logout(),!u.response.data.error.includes("Network Error")&&!u.response.data.error.includes("Cannot read properties")&&this.errorSnack(u.response.data.error)),u},errorSnack(u){let t=document.getElementById("snackbar"),n=document.getElementById("errorMessage"),l=document.getElementById("errorSnack");n.innerHTML=u,t.classList.add("show-snack"),l.classList.add("active-snack"),setTimeout(function(){l.classList.remove("active-snack"),t.classList.remove("show-snack")},3e3)},successSnack(u){let t=document.getElementById("snackbar"),n=document.getElementById("successMessage"),l=document.getElementById("successSnack");n.innerHTML=u,t.classList.add("show-snack"),l.classList.add("active-snack"),setTimeout(function(){l.classList.remove("active-snack"),t.classList.remove("show-snack")},3e3)},closeSnacks(){document.getElementById("snackbar").classList.remove("show-snack"),document.getElementById("successSnack").classList.remove("active-snack"),document.getElementById("errorSnack").classList.remove("active-snack")},tapsEmoji(u){return u<10?"":u<=50?"🔥":u<=100?"💥":u<=300?"💎":u>300?"🚀":""},isEmpty(u){if(!u)return!0;for(let t in u)if(u.hasOwnProperty(t))return!1;return JSON.stringify(u)===JSON.stringify({})},copy(u=""){const t=document.createElement("textarea");t.value=u,t.setAttribute("readonly",""),t.style.position="absolute",t.style.left="-9999px",document.body.appendChild(t),t.select(),document.execCommand("copy"),document.body.removeChild(t),this.successSnack(this.ssoLang[this.appLanguage].copied)},async getCaptchaToken(u){try{return await window.grecaptcha.execute("6LenkC0mAAAAADWBxPOhpmwXCwzCJd7cilNgtOLk",{action:u})}catch(t){return console.error("grecaptcha_error",t),null}}}},{mapState,mapActions,mapGetters}=vuex.createNamespacedHelpers("auth"),AuthMixin={mixins:[GlobalMixin],props:{isModal:{type:Boolean,required:!1,default:!1}},computed:{...mapState(["$storex","refreshing","loggedInUserId","account","device","loggedInAccounts","ssoLang","display","redirect_uri","response_type","state","allowedOriginsAuth"]),...mapGetters(["accessToken","refreshTokens","isLoggedIn","renderView","appLanguage"])},methods:{...mapActions(["setLoggedInAccounts","setLoggedInUserId","setRefreshToken","unsetRefreshToken","setToken","setView","setStorage","setStorageItem","updateLang","login","register","verify","reset","exchangeAuthCode","changePassword","newPassword","deleteAccount","registerDevice","addFcmToken","acceptCompanyInvitation","logout","getCompanyBySSOEmail","getLoggedInAccounts","loginUsingQR","getAccountSettings","setRedirectUri","setDisplay","setState","setRealm","setResponseType","switchAccount","loginSetup","loginSuccess","refreshTokenAction"])},watch:{"$route.query":{handler:function(){this.$route.query.redirect_uri&&this.setRedirectUri(this.$route.query.redirect_uri),this.$route.query.display&&this.setDisplay(this.$route.query.display),this.$route.query.state&&this.setState(this.$route.query.state),this.$route.query.response_type&&this.setResponseType(this.$route.query.response_type),this.$route.query.realm&&this.setRealm(this.$route.query.realm)},deep:!0}}},_export_sfc=(u,t)=>{const n=u.__vccOpts||u;for(const[l,h]of t)n[l]=h;return n},_sfc_main$d={name:"AuthWelcome",mixins:[AuthMixin],data(){return{loading:!0}},async mounted(){let u=document.getElementById("tapniVideo");u.addEventListener("canplay",function(){if(document.body.contains(u))try{u.play()}catch(t){console.error("Play was interrupted:",t)}}),setTimeout(()=>{this.$storex&&this.$storex.token?this.$router.push(this.home):EventBus.$emit("ssoEvent",{name:"setLoading",data:!1})},500)},methods:{}},_hoisted_1$d={class:"page-login content-boxed content-boxed-padding center-text",style:{"margin-top":"-1px",overflow:"hidden",border:"solid 0px #ffffff"}},_hoisted_2$c=["autoplay"],_hoisted_3$d={class:"bold full-top no-bottom center-text text-[24px]"},_hoisted_4$c={class:"full-bottom half-top center-text color-black font-16"},_hoisted_6$b={class:"page-login-links center-text"},_hoisted_8$6={key:3,style:{display:"flex","flex-direction":"row","justify-content":"space-around",width:"90%",margin:"0 auto","margin-top":"40px"}};function _sfc_render$c(u,t,n,l,h,o){const _=vue.resolveComponent("router-link");return vue.openBlock(),vue.createElementBlock("div",_hoisted_1$d,[vue.createElementVNode("video",{id:"tapniVideo",muted:"",loop:"",playsinline:"",width:"350",style:{margin:"0 auto","max-width":"100%","margin-top":"63px",overflow:"hidden"},autoplay:u.isNative},t[1]||(t[1]=[vue.createElementVNode("source",{src:"https://cdn.tapni.co/images/tapni-card-tap-video-white.mp4",type:"video/mp4"},null,-1)]),8,_hoisted_2$c),vue.createElementVNode("h1",_hoisted_3$d,vue.toDisplayString(u.ssoLang[this.appLanguage].welcome),1),vue.createElementVNode("p",_hoisted_4$c,vue.toDisplayString(u.ssoLang[this.appLanguage].welcome_p1),1),vue.createCommentVNode("",!0),vue.createCommentVNode("",!0),vue.createVNode(_,{to:"register",exact:"",class:"button-center button button-90 google-button bg-tapni-grey pointer"},{default:vue.withCtx(()=>[vue.createElementVNode("span",null,vue.toDisplayString(u.ssoLang[this.appLanguage].create_account),1)]),_:1}),vue.createElementVNode("div",_hoisted_6$b,[vue.createVNode(_,{to:"/login"},{default:vue.withCtx(()=>[vue.createTextVNode(vue.toDisplayString(u.ssoLang[this.appLanguage].already_registered)+"? ",1),vue.createElementVNode("b",null,vue.toDisplayString(u.ssoLang[this.appLanguage].sign_in),1)]),_:1}),t[2]||(t[2]=vue.createElementVNode("div",{class:"clear"},null,-1))]),vue.createCommentVNode("",!0),this.isNative?vue.createCommentVNode("",!0):(vue.openBlock(),vue.createElementBlock("div",_hoisted_8$6,t[3]||(t[3]=[vue.createStaticVNode('<a href="https://play.google.com/store/apps/details?id=co.tapni.app" target="_blank" data-v-cb61958b><img src="https://cdn.tapni.co/images/playstore.png" class="app-store-icon pointer" style="width:55px;" data-v-cb61958b></a><a href="https://apps.apple.com/ag/app/tapni/id1552930233" target="_blank" data-v-cb61958b><img src="https://cdn.tapni.co/images/appstore.png" class="app-store-icon pointer" style="width:55px;" data-v-cb61958b></a><a href="https://appgallery.huawei.com/#/app/C103931997" target="_blank" data-v-cb61958b><img src="https://cdn.tapni.co/images/appgallery.png" class="app-store-icon pointer" style="width:55px;" data-v-cb61958b></a>',3)])))])}const AuthWelcome=_export_sfc(_sfc_main$d,[["render",_sfc_render$c],["__scopeId","data-v-cb61958b"]]),Welcome$1=Object.freeze(Object.defineProperty({__proto__:null,default:AuthWelcome},Symbol.toStringTag,{value:"Module"})),version$3="1.0.35",UserService={getMe(){return api$1().get("/users/me")},getByUsername(u){let t=document.referrer||"",n=u.utmParams||{};return u.dontTap&&(n.dontTap=!0),api$1().get(`/users/${u.username}`,{params:n,headers:{"X-Referer":t}})},getByNumber(u){let t=document.referrer||"",n=u.utmParams||{};return u.dontTap&&(n.dontTap=!0),api$1().get(`/users/tag/${u.serial}`,{params:n,headers:{"X-Referer":t}})},save(u){return api$1().put("/users",u)},newPassword(u){return api$1().put("/users/new-password",u)},connect(u){return api$1().post("/users/connect",u)},eventLog(u){return api$1().post("/users/log",u)},deleteAccount(u){return api$1().post("/users/profile/delete",u)},registerDevice(u){return api$1().post("/users/device/register",u)},addFcmToken(u){return api$1().post("/users/device/fcm",u)},loginUsingQR(u){return api$1().post("/users/qr/login",u)}},DeviceService={registerDevice(u){return api$1().post("/devices/add",u)},addFcmToken(u){return api$1().post("/devices/fcm/add",u)}},CompanyService={getBySSOEmail(u){return api$1().get(`/company/sso/${u}`)},acceptCompanyInvitation(u){return api$1().get(`/users/invitation?ic=${u}`)},qrCodePooling(u){return api$1().post("/company/login/qr",u)}},enLocale={state:{english:"English",spanish:"Spanish",german:"German",korean:"Korean",italian:"Italian",french:"French",serbian:"Serbian",turkish:"Turkish",chinese:"Chinese",app_language:"Language",profile_preview:"Profile preview",edit_profile:"Edit profile",login:"Login",referral_reach:"Provide us with more information about you and your reach.",referral_apply_placeholder:"How do you plan to promote Tapni?",referral_apply_note:`Add as many links as possible in your account, <br>
|
|
7
7
|
so that we can know who you are.
|
|
8
8
|
<br><br>Be exclusive.
|
|
9
9
|
<br>Not everyone gets accepted.😉`,referral_apply_now:"Apply now",referral_apply_thanks:"Thanks for applying. We will review your application soon!",connect:"Connect",with:"with",exchange_contact:"Exchange Contact",add_details:"Add more",show_details:"Show more",download_contact:"Download Contact",stay_in_touch:"Stay in touch with",no_thanks:"No Thanks",connect_join:"Join Tapni",connect_with:"Exchange contact with",connect_required_fields:"One of the two contact fields must be provided",name:"Name",first_name:"First name",last_name:"Last name",email:"Email",phone:"Phone number",phone_p:"Phone",company:"Company",address:"Address",website:"Website",open:"Open",delete:"Delete",confirm:"Confirm",cancel:"Cancel",save:"Save",code:"Code",note:"Note",note_p:"Add a note",contact_card_icon:"Set text under the contact card icon",contact_card_name:"Enter first and lastname",contact_card_name_p:"Contact card name",contact_card_email:"Enter personal email address",contact_card_email_p:"Contact card email",contact_card_phone:"Enter personal phone number",contact_card_phone_p:"Contact card phone",contact_card_website:"Enter personal website",contact_card_website_p:"Contact card website",contact_card_company_name:"Enter company name",contact_card_company_name_p:"Contact card company name",contact_card_job_title:"Job title",contact_card_job_title_p:"Enter job title",contact_card_company_website:"Company website",contact_card_company_website_p:"Enter company website",contact_card_bio:"Enter bio for the contact card",contact_card_bio_p:"Enter bio for the contact card",contact_card_home_address:"Enter home address",contact_card_home_address_p:"Contact card home address",contact_card_work_address:"Enter work address",contact_card_work_address_p:"Contact card work address",contact_card_social:"Choose social media links to your Tapni profile <br>in order to add them in the contact card",contact_card_social_p:"Choose social media links for the contact card",link_text_p:"Link Text",link_icon:"Set text under the link icon",direct_pick:"Pick a direct link",direct_p:"When you tap someone's phone, <br> this link will be opened instead of your full profile.",password_change:"Change password",password_repeat:"Repeat password",password_reset_t:"Password reset",password_current:"Enter your current password",password_current_p:"Current Password",password_new:"Enter your new password",password_new_p:"New Password",password_new_repeat:"Enter your new password again",password_new_repeat_p:"Enter your new password again",password_update:"Password update",password_reset:`If you can't remember your current password,<br>
|
|
@@ -104,7 +104,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
104
104
|
또는 궁금한 게 있으면,<br>
|
|
105
105
|
저희에게 연락주세요`,referral_p5:"지금부터 돈을 벌기 시작하세요!",referral_p66:"제휴링크를 공유하고 돈을 벌어보세요!",referral_p6:`블로거, 인플루언서 또는 소셜 미디어 매니아라면 당사의 엠버서더 프로그램 에 완벽하게 적합합니다.
|
|
106
106
|
브랜드를 홍보하고 할인 코드 또는 추천 링크를 사용하여 구입한 경우 20%의 수수료를 받으십시오.`,referral_p7:`탭니 엠버서더 프로그램에 등록하면 개인 추천 링크와 할인 코드가 발급됩니다.
|
|
107
|
-
웹 사이트 및 소셜 미디어에 공유하여 돈을 버는 동시에 최고의 연결 경험을 제공하십시오.`,referral_p8:"지불 메모",referral_p9:"Paypal (세계적인) 또는 계좌이체 (EU) <br> 최소 지급액은 25€입니다.",referral_p10:"지급 요청",referral_p11:"요청된 지불",your_connections:"나의 연결 기록",connections_p1:"사람들과 만나서 탭을 하세요.",connections_p2:"<br><br>지금까지 연결이 없습니다. <br> 탭을 시작해볼까요💥",connections_p3:"연결을 찾을 수 없습니다.",connection_success:"연결 요청을 보냈습니다.",exchange_success:"연락처를 교환했습니다.",create_free_account:"무료 Tapni 계정을 만들고 연락처를 최신 상태로 유지하십시오!",connection_edit:"연결 편집",connection_edit_success:"성공적으로 업데이트된 연결",connection_delete_success:"연결을 삭제했습니다.",search:"검색",devices_p1:"장치 호환성 목록",devices_p2:"탭니는 대부분의 최신 아이폰 및 안드로이드와 호환이 가능합니다.",devices_p3:"일부 안드로이드 폰은 NFC가 꺼져 있을 수 있습니다. 탭니가 안드로이드 장치에서 작동하지 않는 경우 설정에서 NFC를 검색하고 켜져 있는지 확인합니다.",devices_p4:"제어 센터에 iOS 14 NFC 위젯 포함",download_p1:"탭니 앱 다운로드",download_p2:"애플 및 안드로이드 기기에서 사용 가능",user_not_found:"사용자를 찾을 수 없음",user_not_found_p:"데이터베이스에서 사용자를 찾을 수 없습니다.🤷",taps:"탭",private_profile:"개인 프로필",private_profile_p:"은 개인 프로필입니다. <br> 프로필은 탭니 태그에서만 사용하며 표시됩니다.",profile_bio_p:"자기 소개를 해주세요.",add_to_contacts:"연락처에 추가",drag_and_drop_links:"링크를 원하는 순서대로 끌어서 놓기",no_links:"프로필에 링크가 없습니다.",add_link:"링크 추가",direct_link_p1:"방문자는 다음으로 자동 이동됩니다:",profile_not_active:"프로필이 현재 활성화되지 않았습니다. <br> 로그인을 해야 볼 수 있어요.",profile_not_public:"프로필이 현재 공개되지 않았습니다. <br> 누르신 분들만 볼 수 있습니다.",activate_profile_now:"프로필 활성화 완료",publish_profile_now:"지금 프로필을 공개하십시오.",link_add_p1:"링크 유형 선택",link_add_not_found:"링크를 찾을 수 없습니다. 🤷",link_add_not_found_p2:"즐겨찾는 플랫폼을 놓치셨다면, 저희에게 이메일을 보내주시기 바랍니다. (<b>support@tapni.com</b>) 아니면 소셜 미디어로 DM을 해주세요.(<b>@tapni</b>)",link_add_not_found_p3:"모든 플랫폼을 지원할 수 있도록 최선을 다하겠습니다. 😉",featured:"피처링",social_media:"소셜 미디어",contact:"연락처",finance:"금융",portfolio:"포트폴리오",music:"음악",business:"비지니스",fun:"재미",ecommerce:"전자상거래",more:"더 보기",email_username:"이메일 / 사용자 이름",username:"사용자 이름",password:"비밀번호",sign_in:"로그인",sign_in_with:"로그인",sign_in_with_new:"새 계정으로 로그인",sign_up_with:"등록하기",select_sign_method:"로그인 방법 선택",verify_account:"계정 확인",terms_by_signing_in:"회원님의 동의로 회원가입을 합니다.",terms_by_registering:"동의하시면 등록하여 주십시오.",terms_by_submitting:"이 양식을 제출하면 서비스 약관에 동의하는 것입니다",terms_of_service:"서비스 약관",and:"그리고",refresh:"새로 고침",privacy_policy:"개인 정보 보호 정책",create_account:"계정 만들기",reset_password:"비밀번호 재설정",reset_password_p1:"암호를 재설정할 수 없으면, <br> 언제든지 다음 주소로 연락하십시오.",reset_password_p2:"암호를 재설정할 수 없으면, <br> 언제든지 다음 주소로 연락하십시오.",create_new_account:"새 계정 만들기",maintenance_p1:"우리는 곧 돌아올 것이다.",maintenance_p2:"그동안 탭니 컬렉션 살펴보기",maintenance_p3:"탭니는 예정된 점검으로 인하여 잠시 중단되었습니다. <br> 몇 분 내로 다시 온라인 상태가 될 것입니다.",offline_p1:"인터넷에 연결되지 않음",offline_p2:"연결을 확인한 다음 페이지를 새로 고치십시오.",offline_p3_1:"오프라인일 때 이 QR 코드를 사용하여 연락처 카드를 공유할 수 있습니다.",offline_p3_2:"",products_p1:"만나는 모든 사람에게 깊은 인상을 남깁니다. 😎 <br> 지금 바로 구입하십시오 👇",cards:"카드",stickers:"스티커",keychains:"키 체인",explore_collection:"컬렉션 탐색",register:"등록",register_success:"거의 다 완료하였습니다. 이메일을 확인해 주세요.",register_success_modal:"다른 계정으로 로그인했습니다.",check_your_inbox:"첫 번째 링크를 추가 해 주세요.",tapni_tags:"탭니 태그",tapni_tags_p1:"프로필에 연결된 태그 구성",tapni_tags_p2:"프로필에 연결된 태그가 없습니다. <br> 지금 연결하세요!",verify_account_p1:"코드를 받지 못한 경우 다음을 확인하십시오. <br> 스팸 폴더 또는 연락주세요:",verify_account_success:"계정을 확인했습니다. 지금 비밀번호를 변경해 주세요.",verify_account_success2:"계정을 확인했습니다. 모두 완료 되었습니다.!🥳",welcome:"반갑습니다.",welcome_p1:"비지니스 카드의 미래까지",how_it_works:"작동 방식",already_registered:"이미 등록되어있습니다",error:"오류",success:"성공",copied:"클립보드에 복사됨",connect_validate:"두 개의 연락처 필드 중 하나를 제공해야 합니다.",connect_validate_name:"이름을 입력하십시오.",connect_validate_email:"유효한 이메일을 입력하세요",link_validate:"잘못된 링크 데이터입니다.",link_text_contact_card:"연락처 카드",link_text_custom_link:"사용자 지정 링크",link_text_menu:"메뉴",link_text_phone:"휴대폰",save_to_apple_wallet:"Apple 지갑에 저장",save_to_google_wallet:"Google 지갑에 저장",card:"카드",sticker:"상표",keychain:"키체인",band:"밴드",case:"사례",standee:"서다",decoded:"Decoded",wristbanditz:"Wristbanditz",update_p1:"오래된 앱 버전이 감지되었습니다",update_p2:"업데이트",update_p3:"앱을 최신 버전으로 업데이트하세요",company_domain:"귀하의 회사 도메인",search_company_domain:"회사 도메인 검색",enter_company_email:"회사 이메일을 입력하세요",company_not_found:"회사를 찾을 수 없음",ik_company_domain:"회사 도메인을 알고 있습니다",idk_company_domain:"회사 도메인을 모릅니다",continue:"계속",forbidden_rule:"이 옵션은 비활성화되어 있습니다. 회사 관리자에게 문의하십시오.",companyName:"회사 이름",createMarkerPlaceholder:"마커 생성 또는 선택",clickToCreateMarker:"마커를 만들려면 여기를 클릭하세요.",pleaseInviteUser:"데이터를 동기화하려면 사용자를 Tapni에 가입하도록 초대하세요.",connectionSynchronized:"연결 데이터가 자동으로 동기화됩니다.",viewProfile:"프로필보기",createConnectionHeader:"새 연결 추가",createConnectionButton:"추가하다",createConnectionSuccess:"연결이 생성되었습니다.",allow_company_management:"회사 관리 허용",company_join_request:"이 귀하의 프로필을 관리하고 이를 기업 계정에 연결하도록 요청하고 있습니다.",account_ownership_transfer:"귀하가 요청을 수락하면 귀하의 계정 소유권이 회사로 이전됩니다. 회사는 귀하의 프로필을 수정하고, 링크를 편집 및 추가하고, 연결을 확인하고, 비밀번호를 수정하고, 계정을 삭제하는 등의 작업을 수행할 수 있습니다. 요청을 수락하기 전에 회사에 확인하십시오.",request_expired:"요청이 만료되었습니다. 회사에 새 요청을 보내도록 요청하십시오.",request_expiration_desc:"보안 강화를 위해 요청은 전송된 후 14일 동안만 작동합니다.",invitation_link_not_valid:"초대 링크가 유효하지 않습니다!",invitation_link_not_valid2:"초대 이메일에서 버튼을 다시 클릭하거나 초대 링크를 복사합니다.",accept_request:"요청 수락",close:"닫다",request_accepted:"요청이 성공적으로 수락되었습니다.",companyEmail:"회사 이메일",companyPhone:"회사 전화",addBusinessInformations:"비즈니스 정보 추가",resetFilter:"초기화",selectMarkers:"마커 선택",filterConnectionsHeader:"필터 연결",selectConnectionType:"연결 유형 선택",all:"모두",direct:"직접",form:"형태",manually:"수동으로",scan:"주사",sortOptions:"정렬 옵션",date:"제작 일",fullName:"성명",descending:"내림차순",ascending:"오름차순",selectDateRange:"날짜 범위 선택",follow_up_reminder:"후속 알림",now:"지금",one_hour:"1 토",one_day:"1 일",three_days:"3 일",one_week:"일주",two_weeks:"이주",one_month:"개월",custom:"시간 선택",set_reminder:"알림 설정",select_date_time:"날짜 및 시간 선택",enter_reminder_text:"알림 텍스트 입력",reminder_created:"알림이 생성되었습니다.",connectionNameLabel:"연결 이름 입력",connectionEmailLabel:"개인 이메일 주소 입력",privatePhoneLabel:"개인 전화번호 입력",companyNameLabel:"회사 이름 입력",businessEmail:"비즈니스 이메일 주소",businessEmailLabel:"비즈니스 이메일 주소 입력",businessPhone:"회사 전화번호",businessPhoneLabel:"회사 전화번호 입력",noteLabel:"메모 입력",markersLabel:"연결 마커 추가",showScan:"스캔 표시",hideScan:"스캔 숨기기",create_connection:"연결 추가",create_manually:"수동으로 추가",create_using_scanner:"카드 스캐너를 사용하여 추가",companyTitle:"회사명",companyTitleLabel:"회사명 입력",allConnectionsLabel:"모든 연결 유형",directConnectionsLabel:"Tapni 사용자와 직접 앱 내 연결",formConnectionsLabel:"연결 양식에 채워진 연결",manualConnectionsLabel:"수동으로 생성된 연결",scanConnectionsLabel:"카드 스캐너가 연결을 생성했습니다.",analyticsHeader:"분석",analyticsProfileViews:"프로필 보기",analyticsLinkClicks:"링크 클릭 수",analyticsClickTroughRatio:"트로프 비율 클릭",analyticsTotalConnections:"총 연결 수",analyticsTopLinks:"가장 인기 있는 링크",analyticsProfileVisits:"프로필 방문",analyticsLinkVisits:"링크 방문",analyticsNewConnections:"새로운 연결",analyticsTopCountries:"상위 국가",analyticsTopReferers:"상위 추천인",please_wait:"잠시만 기다려 주세요...",click_here:"여기를 클릭하세요",if_redirect_not_directly:"리디렉션이 자동으로 수행되지 않는 경우",you_will_be_redirected:"Tapni 애플리케이션으로 리디렉션됩니다.",use_tapni_on_the_web:"웹에서 Tapni 사용하기",login_by_scanning_qr_code:"QR 코드 스캔하여 로그인하기",open_tapni_app_on_your_phone:"1. 휴대폰에서 Tapni 앱 열기",go_to_settings_link_a_device:"2. 설정 > 장치 연결로 이동하기",point_your_phone_at_this_qr_code:"3. 휴대폰을 이 QR 코드에 맞추기",choose_other_login_methods:"다른 로그인 방법 선택하기",no_sso_logins:"귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오.",mfa:"다중 인증(MFA)",otp_title:"계속하려면 MFA 코드를 입력하세요",otp_code:"MFA 코드",otp_subtitle:"인증 앱의 코드를 입력하세요",otp_p1:"MFA 문제 발생 시, <br> 아래로 문의해주세요",change_language:"언어 변경",welcome_account:"계정 센터에 오신 것을 환영합니다",security:"보안",security_p:"인증 옵션 및 계정 상태를 관리하세요",general:"일반",general_p:"개인 정보 및 기타 설정을 관리하세요",billing:"결제",billing_p:"구독 및 결제 프로필을 관리하세요",apps:"앱",apps_p:"활성 앱을 보고 더 많은 기능을 살펴보세요",apps_my:"내 앱",mfa_auth:"2단계 인증",mfa_auth_enabled:"계정이 MFA로 보호 중입니다.",mfa_auth_p:"다중 인증(MFA)으로 무단 접근을 방지하세요",mfa_auth_qr:"위 QR 코드를 스캔하거나 비밀 키를 인증 앱에 입력하세요.",change_password:"비밀번호 변경",active_account:"활성 계정",active_account_p:"끄면, 다시 켤 때까지 계정이 일시 비활성화됩니다.",delete_account:"계정 삭제",delete_account_p:"계정 삭제",permanent_delete:"영구 삭제",permanent_delete_p:"계정을 삭제하면 모든 데이터가 영구 삭제됩니다. 복구 불가. 확신이 없다면 일시 중지를 고려하세요.",personal_details:"개인 정보",app_language_p:"원하는 언어로 앱을 번역하세요",app_region:"지역",app_region_p:"맞춤형 결제 및 지원을 위해 지역을 선택하세요"}},Welcome=()=>Promise.resolve().then(()=>Welcome$1),Login$1=()=>Promise.resolve().then(()=>Login),Register$1=()=>Promise.resolve().then(()=>Register),Reset$1=()=>Promise.resolve().then(()=>Reset),Account$1=()=>Promise.resolve().then(()=>Account),Verify$1=()=>Promise.resolve().then(()=>Verify),Callback$1=()=>Promise.resolve().then(()=>Callback),QR$2=()=>Promise.resolve().then(()=>QR$1),Security$1=()=>Promise.resolve().then(()=>Security),Apps$2=()=>Promise.resolve().then(()=>Apps$1),Billing$2=()=>Promise.resolve().then(()=>Billing$1),CustomApp$2=()=>Promise.resolve().then(()=>CustomApp$1),General$2=()=>Promise.resolve().then(()=>General$1),routes=[{path:"/welcome",name:"AuthWelcome",component:Welcome},{path:"/login",name:"AuthLogin",component:Login$1},{path:"/callback/saml",name:"Callback",alias:["/callback/okta","/callback/auth","/callback/redirect"],component:Callback$1},{path:"/qr",name:"AuthQR",component:QR$2},{path:"/security",name:"AuthSecurity",component:Security$1},{path:"/billing",name:"AuthBilling",component:Billing$2},{path:"/apps",name:"AuthApps",component:Apps$2},{path:"/apps/:app",name:"AuthApp",component:CustomApp$2},{path:"/general",name:"AuthGeneral",component:General$2},{path:"/account",name:"AuthAccount",component:Account$1},{path:"/reset",name:"AuthReset",component:Reset$1},{path:"/register",name:"AuthRegister",component:Register$1},{path:"/verify",name:"AuthVerify",component:Verify$1},{path:"/",name:"404",component:Welcome}],router=vueRouter.createRouter({history:vueRouter.createWebHistory("/"),routes}),auth={namespaced:!0,state:{$storex:{},view:"",lang:"en",realm:"app",refreshing:!1,loggedInUserId:"",apiRoot:"",account:{},device:{},loggedInAccounts:{},ssoLang:{en:enLocale.state,de:deLocale.state,es:esLocale.state,fr:frLocale.state,it:itLocale.state,sr:srLocale.state,tr:trLocale.state,cn:cn.state,kr:krLocale.state},display:"npm",redirect_uri:"https://t.link/app/callback/auth",response_type:"token",state:"",allowedOriginsAuth:["https://business.tapni.com","https://business-dev.tapni.com","https://tapni.com","https://tapni.co","https://t.link","https://my.tapni.com","https://my.tapni.co","https://dev.tapni.co","https://dev.tapni.com","https://auth.tapni.com","https://auth.tapni.co","https://mailsign.link","https://sign.tapni.com","https://qrcodetoolkit.com","https://qr.tapni.com","https://designer.tapni.com","https://designer-dev.tapni.com","http://localhost:8082","http://localhost:7777","https://localhost:7777","http://localhost:8086","https://localhost:8085","http://localhost:8085"]},mutations:{setAccountSettings(u,t){u.account=t},setStorageItem(u,t){u.$storex[t.name]=t.data},setStorage(u,t){u.$storex={...u.$storex,...t}},setLoggedInAccounts(u,t){u.loggedInAccounts={},t.forEach(n=>{u.loggedInAccounts[n.username]=n})},setLoggedInUserId(u,t){u.loggedInUserId=t},setRefreshTokens(u,t){u.$storex.refreshTokens=t},setRefreshToken(u,t){if(!t)return;let n=u.$storex.refreshTokens?u.$storex.refreshTokens.split(","):[];n=[t,...n.filter(l=>l!==t)],u.$storex.refreshTokens=n.join(",")},setToken(u,t){u.$storex.token=t},updateLang(u,t){u.lang=t},setView(u,t){u.view=t},setRedirectUri(u,t){u.redirect_uri=t},setDisplay(u,t){u.display=t},setState(u,t){u.state=t},setResponseType(u,t){u.response_type=t},setRealm(u,t){u.realm=t},setApiRoot(u,t){u.apiRoot=t}},actions:{async getAccountSettings({state:u,commit:t,dispatch:n}){const[l,h]=await to(AuthService.getAccountSettings());if(l)return n("errorHandler",l);h.data.success&&t("setAccountSettings",h.data.data)},setStorageItem({commit:u},t){u("setStorageItem",t)},setStorage({commit:u},t){u("setStorage",t)},errorHandler({dispatch:u},t){if(t&&t.response&&t.response.data&&t.response.data.error){if(t.response.data.error==="ACCESS_DENIED")return u("logout");if(t.response.data.error==="OTP_REQUIRED")return EventBus.$emit("toggleOTPField",!0);!t.response.data.error.includes("Network Error")&&!t.response.data.error.includes("TOKEN_EXPIRED")&&!t.response.data.error.includes("Cannot read properties")&&u("errorSnack",t.response.data.error)}return t},errorSnack({commit:u},t){let n=document.getElementById("snackbar"),l=document.getElementById("errorMessage"),h=document.getElementById("errorSnack");l.innerHTML=t,n.classList.add("show-snack"),h.classList.add("active-snack"),setTimeout(function(){h.classList.remove("active-snack"),n.classList.remove("show-snack")},3e3)},successSnack({commit:u},t){let n=document.getElementById("snackbar"),l=document.getElementById("successMessage"),h=document.getElementById("successSnack");l.innerHTML=t,n.classList.add("show-snack"),h.classList.add("active-snack"),setTimeout(function(){h.classList.remove("active-snack"),n.classList.remove("show-snack")},3e3)},closeSnacks({commit:u}){document.getElementById("snackbar").classList.remove("show-snack"),document.getElementById("successSnack").classList.remove("active-snack"),document.getElementById("errorSnack").classList.remove("active-snack")},async eventLog({commit:u,dispatch:t},n){const[l,h]=await to(UserService.eventLog(n));return l?t("errorHandler",l):h},async maintenance({commit:u}){const[t,n]=await to(axios.get("https://status.tapni.co/data/maintenance.json"));if(t)return console.error(t);if(n){let l=n.data;typeof n.data=="string"&&(l=JSON.parse(n.data)),l.api&&l.api.maintenanceActive&&(location.href="https://t.link/maintenance?msg="+l.api.msg)}},async loginSetup({commit:u,dispatch:t},n){n.data.refreshToken&&u("setRefreshToken",n.data.refreshToken),n.data.token&&u("setToken",n.data.token),u("setLoggedInUserId",n.data.data.id),u("setStorage",{UserId:n.data.data.id,username:n.data.data.username,localUser:n.data.data}),n.isModal===!0&&t("setLoggedInAccounts",[{id:n.data.data.id,username:n.data.data.username,name:n.data.data.name,refreshToken:n.data.refreshToken,photo:n.data.data.photo}])},async switchAccount({commit:u,dispatch:t,state:n},l){n.loggedInAccounts[l]&&(u("setStorage",{username:l,UserId:n.loggedInAccounts[l].id,localUser:n.loggedInAccounts[l]}),u("setLoggedInUserId",n.loggedInAccounts[l].id),u("setRefreshToken",n.loggedInAccounts[l].refreshToken),await t("refreshTokenAction",n.loggedInAccounts[l])),EventBus.$emit("ssoEvent",{name:"switchAccount",data:{username:l}})},async refreshTokenAction({dispatch:u,commit:t,state:n,getters:l},h){if(n.refreshing)return null;n.refreshing=!0;const[o,_]=await to(AuthService.refreshToken({id:h.id,refreshToken:l.refreshTokens[0],refreshTokenAction:!0}));o&&o.response&&o.response.data.error==="ACCESS_DENIED"&&(u("logout",{refreshToken:l.refreshTokens[0]}),setTimeout(()=>location.reload(),1500)),_&&_.data&&(t("setToken",_.data.token),EventBus.$emit("ssoEvent",{name:"setStorage",data:n.$storex})),n.refreshing=!1},async login({commit:u,state:t,dispatch:n},l){const[h,o]=await to(AuthService.login(l));if(h)return n("errorHandler",h);if(o.data.success)return t.display!=="popup"&&(n("loginSetup",{...o,isModal:l.isModal}),await n("getLoggedInAccounts")),n("loginSuccess",{...o,isModal:l.isModal}),!0},loginSuccess({commit:u,state:t,dispatch:n,getters:l},h){if(t.display==="redirect")return t.redirect_uri&&!t.allowedOriginsAuth.some(o=>t.redirect_uri.startsWith(o))?console.error("Redirect URI not allowed"):router.push("/account");t.display==="popup"?t.allowedOriginsAuth.forEach(o=>{var _;(_=window.parent)==null||_.postMessage({code:h.data.auth_code,state:t.state},o)}):t.display==="npm"&&(EventBus.$emit("ssoEvent",{name:"setLoading",data:!0}),EventBus.$emit("ssoEvent",{name:"setStorage",data:t.$storex}),EventBus.$emit("ssoEvent",{name:"getUser",data:{username:h.data.data.username}}),n("setLoggedInAccounts",[{id:h.data.data.id,username:h.data.data.username,name:h.data.data.name,refreshToken:h.data.refreshToken,photo:h.data.data.photo}]),h.isModal&&(n("successSnack",t.ssoLang[l.appLanguage].success_login),setTimeout(()=>{location.reload()},1500)),EventBus.$emit("ssoEvent",{name:"redirect",data:"/"+h.data.data.username+"#edit"}))},async register({commit:u,dispatch:t},n){const[l,h]=await to(AuthService.register(n));return l?t("errorHandler",l):h},async verify({commit:u,dispatch:t},n){const[l,h]=await to(AuthService.verify(n));return l?t("errorHandler",l):h},async reset({commit:u,state:t,getters:n,dispatch:l},h){const[o,_]=await to(AuthService.sendResetEmail(h));if(o)return l("errorHandler",o);_.data.success&&l("successSnack",t.ssoLang[n.appLanguage].password_reset_success)},async exchangeAuthCode({commit:u,dispatch:t},n){const[l,h]=await to(AuthService.exchangeAuthCode(n));if(l)return t("errorHandler",l);await t("loginSetup",h),await t("getLoggedInAccounts"),t("loginSuccess",h)},async changePassword({commit:u,dispatch:t},n){const[l,h]=await to(AuthService.changePassword(n));return l?t("errorHandler",l):h.data.success},async newPassword({commit:u,dispatch:t},n){const[l,h]=await to(UserService.newPassword(n));return l?t("errorHandler",l):h.data.success},async deleteAccount({commit:u,dispatch:t},n){const[l,h]=await to(UserService.deleteAccount(n));return l?t("errorHandler",l):h.data.success},async registerDevice({commit:u,dispatch:t}){const n=await device.Device.getId(),l=await device.Device.getInfo();let h={device_id:n.uuid,platform:l.platform,device_info:{model:l.model,manufacturer:l.manufacturer,operatingSystem:l.operatingSystem,osVersion:l.osVersion,isVirtual:l.isVirtual,webViewVersion:l.webViewVersion}};const[o,_]=await to(DeviceService.registerDevice(h));return o?t("errorHandler",o):_},async addFcmToken({commit:u,dispatch:t},n){const[l,h]=await to(DeviceService.addFcmToken(n));return l?t("errorHandler",l):h},async acceptCompanyInvitation({commit:u,dispatch:t},n){const[l,h]=await to(CompanyService.acceptCompanyInvitation(n));return l?t("errorHandler",l):h},async logout({commit:u,dispatch:t,state:n},{refreshToken:l,sendRequest:h=!0}){h&&l&&AuthService.logout({token:l}),n.$storex&&(n.$storex.username="",n.$storex.UserId="",n.$storex.localUser="",u("setToken","")),u("setLoggedInUserId","");const o=await t("unsetRefreshToken",l);if(o.length>=1)Object.keys(n.loggedInAccounts).forEach(_=>{n.loggedInAccounts[_].refreshToken===o[0]&&(u("setStorage",{username:_,UserId:n.loggedInAccounts[_].id,localUser:n.loggedInAccounts[_]}),u("setRefreshToken",o[0]),u("setLoggedInUserId",n.loggedInAccounts[_].id),t("refreshTokenAction",n.loggedInAccounts[_]).then(()=>{EventBus.$emit("ssoEvent",{name:"switchAccount",data:{username:_}})}))});else{if(n.display==="redirect")return router.push("/welcome");n.display==="npm"&&EventBus.$emit("ssoEvent",{name:"redirect",data:"/welcome"})}},async getCompanyBySSOEmail({commit:u,dispatch:t},n){const[l,h]=await to(CompanyService.getBySSOEmail(n.email));if(l)return t("errorHandler",l);if(h.data.success)return h.data},async getLoggedInAccounts({getters:u,dispatch:t}){if(u.refreshTokens&&u.refreshTokens.length>=1){const[n,l]=await to(AuthService.getLoggedInAccounts({refreshTokens:u.refreshTokens}));if(n)return t("errorHandler",n);l&&l.data&&l.data.success&&t("setLoggedInAccounts",l.data.accounts)}},async loginUsingQR({commit:u,dispatch:t},n){const[l,h]=await to(UserService.loginUsingQR(n));return l?t("errorHandler",l):h.data.success},setLoggedInAccounts({commit:u},t){u("setLoggedInAccounts",t),EventBus.$emit("ssoEvent",{name:"setLoggedInAccounts",data:t})},setLoggedInUserId({commit:u},t){u("setLoggedInUserId",t)},setRefreshToken({commit:u},t){u("setRefreshToken",t)},async unsetRefreshToken({commit:u,state:t,dispatch:n,getters:l},h){let o=l.refreshTokens;return o=o==null?void 0:o.filter(_=>_!==h),u("setRefreshTokens",o.join(",")),o},setToken({commit:u},t){u("setToken",t)},updateLang({commit:u},t){u("updateLang",t)},setView({commit:u},t){u("setView",t)},setRedirectUri({commit:u},t){u("setRedirectUri",t)},setDisplay({commit:u},t){u("setDisplay",t)},setState({commit:u},t){u("setState",t)},setResponseType({commit:u},t){u("setResponseType",t)},setRealm({commit:u},t){u("setRealm",t)}},getters:{isLoggedIn:u=>!!u.$storex.token&&u.$storex.token!==""&&u.$storex.token!=="null",renderView:(u,t,n)=>{var l;return u.display!=="npm"?(l=n.route)==null?void 0:l.name:u.view},appRealm:u=>u.realm,appLanguage:u=>u.lang,accessToken:u=>u.$storex.token,refreshTokens:u=>u.$storex.refreshTokens.split(","),apiRoot:u=>u.apiRoot}},store=vuex.createStore({modules:{auth}}),api$1=(u=null)=>{const t=version$3;let n="https://api.tapni.com/v1/";store.getters["auth/apiRoot"]&&(n=store.getters["auth/apiRoot"]+"/v1/");let l=axios.create({baseURL:n,headers:{Authorization:`Bearer ${store.getters["auth/accessToken"]}`,"X-Client-Name":"sso-"+t.platform,"X-Client-Version":t.version}});return l.interceptors.request.use(async function(h){if(["post","put","delete"].includes(h.method.toLowerCase())?h.data={...h.data,lang:store.getters["auth/appLanguage"],realm:store.getters["auth/appRealm"]||"app"}:h.method.toLowerCase()==="get"&&(h.params={...h.params,lang:store.getters["auth/appLanguage"],realm:store.getters["auth/appRealm"]||"app"}),store.getters["auth/accessToken"]&&!u){const o=jwtDecode.jwtDecode(store.getters["auth/accessToken"]);if(o.exp-30<Math.floor(Date.now()/1e3))return store.dispatch("auth/refreshTokenAction",o).then(()=>(h.headers={...h.headers,Authorization:`Bearer ${store.getters["auth/accessToken"]}`},h))}return h}),l};let deviceID;device.Device.getId().then(u=>deviceID=u.uuid);const AuthService={register(u){return u.device_id=deviceID,api$1().post("/users/register",u)},login(u){return u.device_id=deviceID,api$1().post("/users/login",u)},logout(u){return u.device_id=deviceID,api$1().post("/users/logout",u)},refreshToken(u){return api$1(!0).get(`/users/refresh-token?UserId=${u.id}&token=${u.refreshToken}`)},getLoggedInAccounts(u){return api$1().post("/users/tokens",u)},sendResetEmail(u){return u.device_id=deviceID,api$1().post("/users/reset",u)},changePassword(u){return api$1().put("/users/password",u,{headers:{Authorization:"Bearer "+u.token}})},verify(u){return api$1().get("/users/verify?c="+u.code+"&e="+u.email+"&captchatoken="+u.captchaToken)},googleUrl(u){return api$1().get("/users/google/url")},google(u){return u.device_id=deviceID,api$1().post("/users/google",u)},googleSDK(u){return u.device_id=deviceID,api$1().post("/users/google/sdk",u)},appleSDK(u){return u.device_id=deviceID,api$1().post("/users/apple/sdk",u)},microsoftSDK(u){return u.device_id=deviceID,api$1().post("/users/microsoft/sdk",u)},oktaSDK(u){return u.device_id=deviceID,api$1().post("/users/okta/sdk",u)},samlLoginUrl(u){return api$1().post("/saml/url",u)},exchangeAuthCode(u){return api$1().post("/users/auth-code",u)},setMfa(u){return api$1().post("/users/set-mfa",u)},getAccountSettings(){return api$1().get("/users/settings")},async getRecordById(u){return api$1().post("/objects/record/"+u.id,u)},async getRecords(u){return api$1().post("/objects/records",u)}},GoogleAuth=core.registerPlugin("GoogleAuth",{web:()=>Promise.resolve().then(()=>web$2).then(u=>new u.GoogleAuthWeb)}),GoogleMixin={data(){return{googleLoad:!1}},computed:{displayGoogleLogin(){return!0}},mounted(){GoogleAuth.initialize()},methods:{async googleLogin(){var n;this.googleLoad=!0;let[u,t]=await to(GoogleAuth.signIn());if(u)return this.googleLoad=!1;if(this.referral&&(t.ref=this.referral),t.authentication&&(t.authentication.accessToken||t.authentication.idToken)){this.referral&&(t.ref=this.referral),this.display==="popup"&&(t.response_type="code");const[l,h]=await to(AuthService.googleSDK(t,this.$storex));if(l)return this.googleLoad=!1,EventBus.$emit("ssoEvent",{name:"setLoading",data:!1}),this.errorHandler(l);if(h.data.success){if(this.display==="popup")return(n=window.parent)==null?void 0:n.postMessage({code:h.data.auth_code,state:this.$route.query.state},"*");await this.loginSetup(h),await this.getLoggedInAccounts(),this.loginSuccess({...h,isModal:this.isModal}),setTimeout(()=>{this.googleLoad=!1},1e3)}else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err)}else this.googleLoad=!1,EventBus.$emit("ssoEvent",{name:"setLoading",data:!1})}}},SignInWithApple=core.registerPlugin("SignInWithApple",{web:()=>Promise.resolve().then(()=>web$1).then(u=>new u.SignInWithAppleWeb)}),AppleMixin={data(){return{appleLoad:!1}},computed:{displayAppleLogin(){return Capacitor.isNativePlatform()&&Capacitor.getPlatform()==="ios"||!Capacitor.isNativePlatform()&&this.isiOS}},methods:{async appleLogin(){var n;this.appleLoad=!0;const[u,t]=await to(SignInWithApple.authorize({clientId:"co.tapni.applelogin",redirectURI:"https://"+window.location.host+"/login",scopes:"email name"}));if(u)return this.appleLoad=!1;if(t.response.tokenData=jwtDecode.jwtDecode(t.response.identityToken),t&&t.response&&t.response.identityToken){this.referral&&(t.response.ref=this.referral),this.display==="popup"&&(t.response_type="code");const[l,h]=await to(AuthService.appleSDK(t.response,this.$storex));if(l)return this.appleLoad=!1,EventBus.$emit("ssoEvent",{name:"setLoading",data:!1}),this.errorHandler(l);if(h.data.success){if(this.display==="popup")return(n=window.parent)==null?void 0:n.postMessage({code:h.data.auth_code,state:this.$route.query.state},"*");await this.loginSetup(h),await this.getLoggedInAccounts(),this.loginSuccess({...h,isModal:this.isModal}),setTimeout(()=>{this.appleLoad=!1},1e3)}else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err)}else this.appleLoad=!1,EventBus.$emit("ssoEvent",{name:"setLoading",data:!1})}}};/*! @azure/msal-browser v2.38.3 2023-10-27 *//*! *****************************************************************************
|
|
107
|
+
웹 사이트 및 소셜 미디어에 공유하여 돈을 버는 동시에 최고의 연결 경험을 제공하십시오.`,referral_p8:"지불 메모",referral_p9:"Paypal (세계적인) 또는 계좌이체 (EU) <br> 최소 지급액은 25€입니다.",referral_p10:"지급 요청",referral_p11:"요청된 지불",your_connections:"나의 연결 기록",connections_p1:"사람들과 만나서 탭을 하세요.",connections_p2:"<br><br>지금까지 연결이 없습니다. <br> 탭을 시작해볼까요💥",connections_p3:"연결을 찾을 수 없습니다.",connection_success:"연결 요청을 보냈습니다.",exchange_success:"연락처를 교환했습니다.",create_free_account:"무료 Tapni 계정을 만들고 연락처를 최신 상태로 유지하십시오!",connection_edit:"연결 편집",connection_edit_success:"성공적으로 업데이트된 연결",connection_delete_success:"연결을 삭제했습니다.",search:"검색",devices_p1:"장치 호환성 목록",devices_p2:"탭니는 대부분의 최신 아이폰 및 안드로이드와 호환이 가능합니다.",devices_p3:"일부 안드로이드 폰은 NFC가 꺼져 있을 수 있습니다. 탭니가 안드로이드 장치에서 작동하지 않는 경우 설정에서 NFC를 검색하고 켜져 있는지 확인합니다.",devices_p4:"제어 센터에 iOS 14 NFC 위젯 포함",download_p1:"탭니 앱 다운로드",download_p2:"애플 및 안드로이드 기기에서 사용 가능",user_not_found:"사용자를 찾을 수 없음",user_not_found_p:"데이터베이스에서 사용자를 찾을 수 없습니다.🤷",taps:"탭",private_profile:"개인 프로필",private_profile_p:"은 개인 프로필입니다. <br> 프로필은 탭니 태그에서만 사용하며 표시됩니다.",profile_bio_p:"자기 소개를 해주세요.",add_to_contacts:"연락처에 추가",drag_and_drop_links:"링크를 원하는 순서대로 끌어서 놓기",no_links:"프로필에 링크가 없습니다.",add_link:"링크 추가",direct_link_p1:"방문자는 다음으로 자동 이동됩니다:",profile_not_active:"프로필이 현재 활성화되지 않았습니다. <br> 로그인을 해야 볼 수 있어요.",profile_not_public:"프로필이 현재 공개되지 않았습니다. <br> 누르신 분들만 볼 수 있습니다.",activate_profile_now:"프로필 활성화 완료",publish_profile_now:"지금 프로필을 공개하십시오.",link_add_p1:"링크 유형 선택",link_add_not_found:"링크를 찾을 수 없습니다. 🤷",link_add_not_found_p2:"즐겨찾는 플랫폼을 놓치셨다면, 저희에게 이메일을 보내주시기 바랍니다. (<b>support@tapni.com</b>) 아니면 소셜 미디어로 DM을 해주세요.(<b>@tapni</b>)",link_add_not_found_p3:"모든 플랫폼을 지원할 수 있도록 최선을 다하겠습니다. 😉",featured:"피처링",social_media:"소셜 미디어",contact:"연락처",finance:"금융",portfolio:"포트폴리오",music:"음악",business:"비지니스",fun:"재미",ecommerce:"전자상거래",more:"더 보기",email_username:"이메일 / 사용자 이름",username:"사용자 이름",password:"비밀번호",sign_in:"로그인",sign_in_with:"로그인",sign_in_with_new:"새 계정으로 로그인",sign_up_with:"등록하기",select_sign_method:"로그인 방법 선택",verify_account:"계정 확인",terms_by_signing_in:"회원님의 동의로 회원가입을 합니다.",terms_by_registering:"동의하시면 등록하여 주십시오.",terms_by_submitting:"이 양식을 제출하면 서비스 약관에 동의하는 것입니다",terms_of_service:"서비스 약관",and:"그리고",refresh:"새로 고침",privacy_policy:"개인 정보 보호 정책",create_account:"계정 만들기",reset_password:"비밀번호 재설정",reset_password_p1:"암호를 재설정할 수 없으면, <br> 언제든지 다음 주소로 연락하십시오.",reset_password_p2:"암호를 재설정할 수 없으면, <br> 언제든지 다음 주소로 연락하십시오.",create_new_account:"새 계정 만들기",maintenance_p1:"우리는 곧 돌아올 것이다.",maintenance_p2:"그동안 탭니 컬렉션 살펴보기",maintenance_p3:"탭니는 예정된 점검으로 인하여 잠시 중단되었습니다. <br> 몇 분 내로 다시 온라인 상태가 될 것입니다.",offline_p1:"인터넷에 연결되지 않음",offline_p2:"연결을 확인한 다음 페이지를 새로 고치십시오.",offline_p3_1:"오프라인일 때 이 QR 코드를 사용하여 연락처 카드를 공유할 수 있습니다.",offline_p3_2:"",products_p1:"만나는 모든 사람에게 깊은 인상을 남깁니다. 😎 <br> 지금 바로 구입하십시오 👇",cards:"카드",stickers:"스티커",keychains:"키 체인",explore_collection:"컬렉션 탐색",register:"등록",register_success:"거의 다 완료하였습니다. 이메일을 확인해 주세요.",register_success_modal:"다른 계정으로 로그인했습니다.",check_your_inbox:"첫 번째 링크를 추가 해 주세요.",tapni_tags:"탭니 태그",tapni_tags_p1:"프로필에 연결된 태그 구성",tapni_tags_p2:"프로필에 연결된 태그가 없습니다. <br> 지금 연결하세요!",verify_account_p1:"코드를 받지 못한 경우 다음을 확인하십시오. <br> 스팸 폴더 또는 연락주세요:",verify_account_success:"계정을 확인했습니다. 지금 비밀번호를 변경해 주세요.",verify_account_success2:"계정을 확인했습니다. 모두 완료 되었습니다.!🥳",welcome:"반갑습니다.",welcome_p1:"비지니스 카드의 미래까지",how_it_works:"작동 방식",already_registered:"이미 등록되어있습니다",error:"오류",success:"성공",copied:"클립보드에 복사됨",connect_validate:"두 개의 연락처 필드 중 하나를 제공해야 합니다.",connect_validate_name:"이름을 입력하십시오.",connect_validate_email:"유효한 이메일을 입력하세요",link_validate:"잘못된 링크 데이터입니다.",link_text_contact_card:"연락처 카드",link_text_custom_link:"사용자 지정 링크",link_text_menu:"메뉴",link_text_phone:"휴대폰",save_to_apple_wallet:"Apple 지갑에 저장",save_to_google_wallet:"Google 지갑에 저장",card:"카드",sticker:"상표",keychain:"키체인",band:"밴드",case:"사례",standee:"서다",decoded:"Decoded",wristbanditz:"Wristbanditz",update_p1:"오래된 앱 버전이 감지되었습니다",update_p2:"업데이트",update_p3:"앱을 최신 버전으로 업데이트하세요",company_domain:"귀하의 회사 도메인",search_company_domain:"회사 도메인 검색",enter_company_email:"회사 이메일을 입력하세요",company_not_found:"회사를 찾을 수 없음",ik_company_domain:"회사 도메인을 알고 있습니다",idk_company_domain:"회사 도메인을 모릅니다",continue:"계속",forbidden_rule:"이 옵션은 비활성화되어 있습니다. 회사 관리자에게 문의하십시오.",companyName:"회사 이름",createMarkerPlaceholder:"마커 생성 또는 선택",clickToCreateMarker:"마커를 만들려면 여기를 클릭하세요.",pleaseInviteUser:"데이터를 동기화하려면 사용자를 Tapni에 가입하도록 초대하세요.",connectionSynchronized:"연결 데이터가 자동으로 동기화됩니다.",viewProfile:"프로필보기",createConnectionHeader:"새 연결 추가",createConnectionButton:"추가하다",createConnectionSuccess:"연결이 생성되었습니다.",allow_company_management:"회사 관리 허용",company_join_request:"이 귀하의 프로필을 관리하고 이를 기업 계정에 연결하도록 요청하고 있습니다.",account_ownership_transfer:"귀하가 요청을 수락하면 귀하의 계정 소유권이 회사로 이전됩니다. 회사는 귀하의 프로필을 수정하고, 링크를 편집 및 추가하고, 연결을 확인하고, 비밀번호를 수정하고, 계정을 삭제하는 등의 작업을 수행할 수 있습니다. 요청을 수락하기 전에 회사에 확인하십시오.",request_expired:"요청이 만료되었습니다. 회사에 새 요청을 보내도록 요청하십시오.",request_expiration_desc:"보안 강화를 위해 요청은 전송된 후 14일 동안만 작동합니다.",invitation_link_not_valid:"초대 링크가 유효하지 않습니다!",invitation_link_not_valid2:"초대 이메일에서 버튼을 다시 클릭하거나 초대 링크를 복사합니다.",accept_request:"요청 수락",close:"닫다",request_accepted:"요청이 성공적으로 수락되었습니다.",companyEmail:"회사 이메일",companyPhone:"회사 전화",addBusinessInformations:"비즈니스 정보 추가",resetFilter:"초기화",selectMarkers:"마커 선택",filterConnectionsHeader:"필터 연결",selectConnectionType:"연결 유형 선택",all:"모두",direct:"직접",form:"형태",manually:"수동으로",scan:"주사",sortOptions:"정렬 옵션",date:"제작 일",fullName:"성명",descending:"내림차순",ascending:"오름차순",selectDateRange:"날짜 범위 선택",follow_up_reminder:"후속 알림",now:"지금",one_hour:"1 토",one_day:"1 일",three_days:"3 일",one_week:"일주",two_weeks:"이주",one_month:"개월",custom:"시간 선택",set_reminder:"알림 설정",select_date_time:"날짜 및 시간 선택",enter_reminder_text:"알림 텍스트 입력",reminder_created:"알림이 생성되었습니다.",connectionNameLabel:"연결 이름 입력",connectionEmailLabel:"개인 이메일 주소 입력",privatePhoneLabel:"개인 전화번호 입력",companyNameLabel:"회사 이름 입력",businessEmail:"비즈니스 이메일 주소",businessEmailLabel:"비즈니스 이메일 주소 입력",businessPhone:"회사 전화번호",businessPhoneLabel:"회사 전화번호 입력",noteLabel:"메모 입력",markersLabel:"연결 마커 추가",showScan:"스캔 표시",hideScan:"스캔 숨기기",create_connection:"연결 추가",create_manually:"수동으로 추가",create_using_scanner:"카드 스캐너를 사용하여 추가",companyTitle:"회사명",companyTitleLabel:"회사명 입력",allConnectionsLabel:"모든 연결 유형",directConnectionsLabel:"Tapni 사용자와 직접 앱 내 연결",formConnectionsLabel:"연결 양식에 채워진 연결",manualConnectionsLabel:"수동으로 생성된 연결",scanConnectionsLabel:"카드 스캐너가 연결을 생성했습니다.",analyticsHeader:"분석",analyticsProfileViews:"프로필 보기",analyticsLinkClicks:"링크 클릭 수",analyticsClickTroughRatio:"트로프 비율 클릭",analyticsTotalConnections:"총 연결 수",analyticsTopLinks:"가장 인기 있는 링크",analyticsProfileVisits:"프로필 방문",analyticsLinkVisits:"링크 방문",analyticsNewConnections:"새로운 연결",analyticsTopCountries:"상위 국가",analyticsTopReferers:"상위 추천인",please_wait:"잠시만 기다려 주세요...",click_here:"여기를 클릭하세요",if_redirect_not_directly:"리디렉션이 자동으로 수행되지 않는 경우",you_will_be_redirected:"Tapni 애플리케이션으로 리디렉션됩니다.",use_tapni_on_the_web:"웹에서 Tapni 사용하기",login_by_scanning_qr_code:"QR 코드 스캔하여 로그인하기",open_tapni_app_on_your_phone:"1. 휴대폰에서 Tapni 앱 열기",go_to_settings_link_a_device:"2. 설정 > 장치 연결로 이동하기",point_your_phone_at_this_qr_code:"3. 휴대폰을 이 QR 코드에 맞추기",choose_other_login_methods:"다른 로그인 방법 선택하기",no_sso_logins:"귀하의 회사는 SSO 로그인을 사용하지 않습니다. 관리자에게 문의하십시오.",mfa:"다중 인증(MFA)",otp_title:"계속하려면 MFA 코드를 입력하세요",otp_code:"MFA 코드",otp_subtitle:"인증 앱의 코드를 입력하세요",otp_p1:"MFA 문제 발생 시, <br> 아래로 문의해주세요",change_language:"언어 변경",welcome_account:"계정 센터에 오신 것을 환영합니다",security:"보안",security_p:"인증 옵션 및 계정 상태를 관리하세요",general:"일반",general_p:"개인 정보 및 기타 설정을 관리하세요",billing:"결제",billing_p:"구독 및 결제 프로필을 관리하세요",apps:"앱",apps_p:"활성 앱을 보고 더 많은 기능을 살펴보세요",apps_my:"내 앱",mfa_auth:"2단계 인증",mfa_auth_enabled:"계정이 MFA로 보호 중입니다.",mfa_auth_p:"다중 인증(MFA)으로 무단 접근을 방지하세요",mfa_auth_qr:"위 QR 코드를 스캔하거나 비밀 키를 인증 앱에 입력하세요.",change_password:"비밀번호 변경",active_account:"활성 계정",active_account_p:"끄면, 다시 켤 때까지 계정이 일시 비활성화됩니다.",delete_account:"계정 삭제",delete_account_p:"계정 삭제",permanent_delete:"영구 삭제",permanent_delete_p:"계정을 삭제하면 모든 데이터가 영구 삭제됩니다. 복구 불가. 확신이 없다면 일시 중지를 고려하세요.",personal_details:"개인 정보",app_language_p:"원하는 언어로 앱을 번역하세요",app_region:"지역",app_region_p:"맞춤형 결제 및 지원을 위해 지역을 선택하세요"}},Welcome=()=>Promise.resolve().then(()=>Welcome$1),Login$1=()=>Promise.resolve().then(()=>Login),Register$1=()=>Promise.resolve().then(()=>Register),Reset$1=()=>Promise.resolve().then(()=>Reset),Account$1=()=>Promise.resolve().then(()=>Account),Verify$1=()=>Promise.resolve().then(()=>Verify),Callback$1=()=>Promise.resolve().then(()=>Callback),QR$2=()=>Promise.resolve().then(()=>QR$1),Security$1=()=>Promise.resolve().then(()=>Security),Apps$2=()=>Promise.resolve().then(()=>Apps$1),Billing$2=()=>Promise.resolve().then(()=>Billing$1),CustomApp$2=()=>Promise.resolve().then(()=>CustomApp$1),General$2=()=>Promise.resolve().then(()=>General$1),routes=[{path:"/welcome",name:"AuthWelcome",component:Welcome},{path:"/login",name:"AuthLogin",component:Login$1},{path:"/callback/saml",name:"Callback",alias:["/callback/okta","/callback/auth","/callback/redirect"],component:Callback$1},{path:"/qr",name:"AuthQR",component:QR$2},{path:"/security",name:"AuthSecurity",component:Security$1},{path:"/billing",name:"AuthBilling",component:Billing$2},{path:"/apps",name:"AuthApps",component:Apps$2},{path:"/apps/:app",name:"AuthApp",component:CustomApp$2},{path:"/general",name:"AuthGeneral",component:General$2},{path:"/account",name:"AuthAccount",component:Account$1},{path:"/reset",name:"AuthReset",component:Reset$1},{path:"/register",name:"AuthRegister",component:Register$1},{path:"/verify",name:"AuthVerify",component:Verify$1},{path:"/",name:"404",component:Welcome}],router=vueRouter.createRouter({history:vueRouter.createWebHistory("/"),routes}),auth={namespaced:!0,state:{$storex:{},view:"",lang:"en",realm:"app",refreshing:!1,loggedInUserId:"",apiRoot:"",account:{},device:{},loggedInAccounts:{},ssoLang:{en:enLocale.state,de:deLocale.state,es:esLocale.state,fr:frLocale.state,it:itLocale.state,sr:srLocale.state,tr:trLocale.state,cn:cn.state,kr:krLocale.state},display:"npm",redirect_uri:"https://t.link/app/callback/auth",response_type:"token",state:"",allowedOriginsAuth:["https://business.tapni.com","https://business-dev.tapni.com","https://tapni.com","https://tapni.co","https://t.link","https://my.tapni.com","https://my.tapni.co","https://dev.tapni.co","https://dev.tapni.com","https://auth.tapni.com","https://auth.tapni.co","https://mailsign.link","https://sign.tapni.com","https://qrcodetoolkit.com","https://qr.tapni.com","https://designer.tapni.com","https://designer-dev.tapni.com","http://localhost:8082","http://192.168.1.107:7777","http://localhost:7777","http://localhost:7777","https://localhost:7777","http://localhost:8086","https://localhost:8085","http://localhost:8085"]},mutations:{setAccountSettings(u,t){u.account=t},setStorageItem(u,t){u.$storex[t.name]=t.data},setStorage(u,t){u.$storex={...u.$storex,...t}},setLoggedInAccounts(u,t){u.loggedInAccounts={},t.forEach(n=>{u.loggedInAccounts[n.username]=n})},setLoggedInUserId(u,t){u.loggedInUserId=t},setRefreshTokens(u,t){u.$storex.refreshTokens=t},setRefreshToken(u,t){if(!t)return;let n=u.$storex.refreshTokens?u.$storex.refreshTokens.split(","):[];n=[t,...n.filter(l=>l!==t)],u.$storex.refreshTokens=n.join(",")},setToken(u,t){u.$storex.token=t},updateLang(u,t){u.lang=t},setView(u,t){u.view=t},setRedirectUri(u,t){u.redirect_uri=t},setDisplay(u,t){u.display=t},setState(u,t){u.state=t},setResponseType(u,t){u.response_type=t},setRealm(u,t){u.realm=t},setApiRoot(u,t){u.apiRoot=t}},actions:{async getAccountSettings({state:u,commit:t,dispatch:n}){const[l,h]=await to(AuthService.getAccountSettings());if(l)return n("errorHandler",l);h.data.success&&t("setAccountSettings",h.data.data)},setStorageItem({commit:u},t){u("setStorageItem",t)},setStorage({commit:u},t){u("setStorage",t)},errorHandler({dispatch:u},t){if(t&&t.response&&t.response.data&&t.response.data.error){if(t.response.data.error==="ACCESS_DENIED")return u("logout");if(t.response.data.error==="OTP_REQUIRED")return EventBus.$emit("toggleOTPField",!0);!t.response.data.error.includes("Network Error")&&!t.response.data.error.includes("TOKEN_EXPIRED")&&!t.response.data.error.includes("Cannot read properties")&&u("errorSnack",t.response.data.error)}return t},errorSnack({commit:u},t){let n=document.getElementById("snackbar"),l=document.getElementById("errorMessage"),h=document.getElementById("errorSnack");l.innerHTML=t,n.classList.add("show-snack"),h.classList.add("active-snack"),setTimeout(function(){h.classList.remove("active-snack"),n.classList.remove("show-snack")},3e3)},successSnack({commit:u},t){let n=document.getElementById("snackbar"),l=document.getElementById("successMessage"),h=document.getElementById("successSnack");l.innerHTML=t,n.classList.add("show-snack"),h.classList.add("active-snack"),setTimeout(function(){h.classList.remove("active-snack"),n.classList.remove("show-snack")},3e3)},closeSnacks({commit:u}){document.getElementById("snackbar").classList.remove("show-snack"),document.getElementById("successSnack").classList.remove("active-snack"),document.getElementById("errorSnack").classList.remove("active-snack")},async eventLog({commit:u,dispatch:t},n){const[l,h]=await to(UserService.eventLog(n));return l?t("errorHandler",l):h},async maintenance({commit:u}){const[t,n]=await to(axios.get("https://status.tapni.co/data/maintenance.json"));if(t)return console.error(t);if(n){let l=n.data;typeof n.data=="string"&&(l=JSON.parse(n.data)),l.api&&l.api.maintenanceActive&&(location.href="https://t.link/maintenance?msg="+l.api.msg)}},async loginSetup({commit:u,dispatch:t},n){n.data.refreshToken&&u("setRefreshToken",n.data.refreshToken),n.data.token&&u("setToken",n.data.token),u("setLoggedInUserId",n.data.data.id),u("setStorage",{UserId:n.data.data.id,username:n.data.data.username,localUser:n.data.data}),n.isModal===!0&&t("setLoggedInAccounts",[{id:n.data.data.id,username:n.data.data.username,name:n.data.data.name,refreshToken:n.data.refreshToken,photo:n.data.data.photo}])},async switchAccount({commit:u,dispatch:t,state:n},l){n.loggedInAccounts[l]&&(u("setStorage",{username:l,UserId:n.loggedInAccounts[l].id,localUser:n.loggedInAccounts[l]}),u("setLoggedInUserId",n.loggedInAccounts[l].id),u("setRefreshToken",n.loggedInAccounts[l].refreshToken),await t("refreshTokenAction",n.loggedInAccounts[l])),EventBus.$emit("ssoEvent",{name:"switchAccount",data:{username:l}})},async refreshTokenAction({dispatch:u,commit:t,state:n,getters:l},h){if(n.refreshing)return null;n.refreshing=!0;const[o,_]=await to(AuthService.refreshToken({id:h.id,refreshToken:l.refreshTokens[0],refreshTokenAction:!0}));o&&o.response&&o.response.data.error==="ACCESS_DENIED"&&(u("logout",{refreshToken:l.refreshTokens[0]}),setTimeout(()=>location.reload(),1500)),_&&_.data&&(t("setToken",_.data.token),EventBus.$emit("ssoEvent",{name:"setStorage",data:n.$storex})),n.refreshing=!1},async login({commit:u,state:t,dispatch:n},l){const[h,o]=await to(AuthService.login(l));if(h)return n("errorHandler",h);if(o.data.success)return t.display!=="popup"&&(n("loginSetup",{...o,isModal:l.isModal}),await n("getLoggedInAccounts")),n("loginSuccess",{...o,isModal:l.isModal}),!0},loginSuccess({commit:u,state:t,dispatch:n,getters:l},h){if(t.display==="redirect")return t.redirect_uri&&!t.allowedOriginsAuth.some(o=>t.redirect_uri.startsWith(o))?console.error("Redirect URI not allowed"):router.push("/account");t.display==="popup"?t.allowedOriginsAuth.forEach(o=>{var _;(_=window.parent)==null||_.postMessage({code:h.data.auth_code,state:t.state},o)}):t.display==="npm"&&(EventBus.$emit("ssoEvent",{name:"setLoading",data:!0}),EventBus.$emit("ssoEvent",{name:"setStorage",data:t.$storex}),EventBus.$emit("ssoEvent",{name:"getUser",data:{username:h.data.data.username}}),n("setLoggedInAccounts",[{id:h.data.data.id,username:h.data.data.username,name:h.data.data.name,refreshToken:h.data.refreshToken,photo:h.data.data.photo}]),h.isModal&&(n("successSnack",t.ssoLang[l.appLanguage].success_login),setTimeout(()=>{location.reload()},1500)),EventBus.$emit("ssoEvent",{name:"redirect",data:"/"+h.data.data.username+"#edit"}))},async register({commit:u,dispatch:t},n){const[l,h]=await to(AuthService.register(n));return l?t("errorHandler",l):h},async verify({commit:u,dispatch:t},n){const[l,h]=await to(AuthService.verify(n));return l?t("errorHandler",l):h},async reset({commit:u,state:t,getters:n,dispatch:l},h){const[o,_]=await to(AuthService.sendResetEmail(h));if(o)return l("errorHandler",o);_.data.success&&l("successSnack",t.ssoLang[n.appLanguage].password_reset_success)},async exchangeAuthCode({commit:u,dispatch:t},n){const[l,h]=await to(AuthService.exchangeAuthCode(n));if(l)return t("errorHandler",l);await t("loginSetup",h),await t("getLoggedInAccounts"),t("loginSuccess",h)},async changePassword({commit:u,dispatch:t},n){const[l,h]=await to(AuthService.changePassword(n));return l?t("errorHandler",l):h.data.success},async newPassword({commit:u,dispatch:t},n){const[l,h]=await to(UserService.newPassword(n));return l?t("errorHandler",l):h.data.success},async deleteAccount({commit:u,dispatch:t},n){const[l,h]=await to(UserService.deleteAccount(n));return l?t("errorHandler",l):h.data.success},async registerDevice({commit:u,dispatch:t}){const n=await device.Device.getId(),l=await device.Device.getInfo();let h={device_id:n.uuid,platform:l.platform,device_info:{model:l.model,manufacturer:l.manufacturer,operatingSystem:l.operatingSystem,osVersion:l.osVersion,isVirtual:l.isVirtual,webViewVersion:l.webViewVersion}};const[o,_]=await to(DeviceService.registerDevice(h));return o?t("errorHandler",o):_},async addFcmToken({commit:u,dispatch:t},n){const[l,h]=await to(DeviceService.addFcmToken(n));return l?t("errorHandler",l):h},async acceptCompanyInvitation({commit:u,dispatch:t},n){const[l,h]=await to(CompanyService.acceptCompanyInvitation(n));return l?t("errorHandler",l):h},async logout({commit:u,dispatch:t,state:n},{refreshToken:l,sendRequest:h=!0}){h&&l&&AuthService.logout({token:l}),n.$storex&&(n.$storex.username="",n.$storex.UserId="",n.$storex.localUser="",u("setToken","")),u("setLoggedInUserId","");const o=await t("unsetRefreshToken",l);if(o.length>=1)Object.keys(n.loggedInAccounts).forEach(_=>{n.loggedInAccounts[_].refreshToken===o[0]&&(u("setStorage",{username:_,UserId:n.loggedInAccounts[_].id,localUser:n.loggedInAccounts[_]}),u("setRefreshToken",o[0]),u("setLoggedInUserId",n.loggedInAccounts[_].id),t("refreshTokenAction",n.loggedInAccounts[_]).then(()=>{EventBus.$emit("ssoEvent",{name:"switchAccount",data:{username:_}})}))});else{if(n.display==="redirect")return router.push("/welcome");n.display==="npm"&&EventBus.$emit("ssoEvent",{name:"redirect",data:"/welcome"})}},async getCompanyBySSOEmail({commit:u,dispatch:t},n){const[l,h]=await to(CompanyService.getBySSOEmail(n.email));if(l)return t("errorHandler",l);if(h.data.success)return h.data},async getLoggedInAccounts({getters:u,dispatch:t}){if(u.refreshTokens&&u.refreshTokens.length>=1){const[n,l]=await to(AuthService.getLoggedInAccounts({refreshTokens:u.refreshTokens}));if(n)return t("errorHandler",n);l&&l.data&&l.data.success&&t("setLoggedInAccounts",l.data.accounts)}},async loginUsingQR({commit:u,dispatch:t},n){const[l,h]=await to(UserService.loginUsingQR(n));return l?t("errorHandler",l):h.data.success},setLoggedInAccounts({commit:u},t){u("setLoggedInAccounts",t),EventBus.$emit("ssoEvent",{name:"setLoggedInAccounts",data:t})},setLoggedInUserId({commit:u},t){u("setLoggedInUserId",t)},setRefreshToken({commit:u},t){u("setRefreshToken",t)},async unsetRefreshToken({commit:u,state:t,dispatch:n,getters:l},h){let o=l.refreshTokens;return o=o==null?void 0:o.filter(_=>_!==h),u("setRefreshTokens",o.join(",")),o},setToken({commit:u},t){u("setToken",t)},updateLang({commit:u},t){u("updateLang",t)},setView({commit:u},t){u("setView",t)},setRedirectUri({commit:u},t){u("setRedirectUri",t)},setDisplay({commit:u},t){u("setDisplay",t)},setState({commit:u},t){u("setState",t)},setResponseType({commit:u},t){u("setResponseType",t)},setRealm({commit:u},t){u("setRealm",t)}},getters:{isLoggedIn:u=>!!u.$storex.token&&u.$storex.token!==""&&u.$storex.token!=="null",renderView:(u,t,n)=>{var l;return u.display!=="npm"?(l=n.route)==null?void 0:l.name:u.view},appRealm:u=>u.realm,appLanguage:u=>u.lang,accessToken:u=>u.$storex.token,refreshTokens:u=>u.$storex.refreshTokens.split(","),apiRoot:u=>u.apiRoot}},store=vuex.createStore({modules:{auth}}),api$1=(u=null)=>{const t=version$3;let n="https://api.tapni.com/v1/";store.getters["auth/apiRoot"]&&(n=store.getters["auth/apiRoot"]+"/v1/");let l=axios.create({baseURL:n,headers:{Authorization:`Bearer ${store.getters["auth/accessToken"]}`,"X-Client-Name":"sso-"+t.platform,"X-Client-Version":t.version}});return l.interceptors.request.use(async function(h){if(["post","put","delete"].includes(h.method.toLowerCase())?h.data={...h.data,lang:store.getters["auth/appLanguage"],realm:store.getters["auth/appRealm"]||"app"}:h.method.toLowerCase()==="get"&&(h.params={...h.params,lang:store.getters["auth/appLanguage"],realm:store.getters["auth/appRealm"]||"app"}),store.getters["auth/accessToken"]&&!u){const o=jwtDecode.jwtDecode(store.getters["auth/accessToken"]);if(o.exp-30<Math.floor(Date.now()/1e3))return store.dispatch("auth/refreshTokenAction",o).then(()=>(h.headers={...h.headers,Authorization:`Bearer ${store.getters["auth/accessToken"]}`},h))}return h}),l};let deviceID;device.Device.getId().then(u=>deviceID=u.uuid);const AuthService={register(u){return u.device_id=deviceID,api$1().post("/users/register",u)},login(u){return u.device_id=deviceID,api$1().post("/users/login",u)},logout(u){return u.device_id=deviceID,api$1().post("/users/logout",u)},refreshToken(u){return api$1(!0).get(`/users/refresh-token?UserId=${u.id}&token=${u.refreshToken}`)},getLoggedInAccounts(u){return api$1().post("/users/tokens",u)},sendResetEmail(u){return u.device_id=deviceID,api$1().post("/users/reset",u)},changePassword(u){return api$1().put("/users/password",u,{headers:{Authorization:"Bearer "+u.token}})},verify(u){return api$1().get("/users/verify?c="+u.code+"&e="+u.email+"&captchatoken="+u.captchaToken)},googleUrl(u){return api$1().get("/users/google/url")},google(u){return u.device_id=deviceID,api$1().post("/users/google",u)},googleSDK(u){return u.device_id=deviceID,api$1().post("/users/google/sdk",u)},appleSDK(u){return u.device_id=deviceID,api$1().post("/users/apple/sdk",u)},microsoftSDK(u){return u.device_id=deviceID,api$1().post("/users/microsoft/sdk",u)},oktaSDK(u){return u.device_id=deviceID,api$1().post("/users/okta/sdk",u)},samlLoginUrl(u){return api$1().post("/saml/url",u)},exchangeAuthCode(u){return api$1().post("/users/auth-code",u)},setMfa(u){return api$1().post("/users/set-mfa",u)},getAccountSettings(){return api$1().get("/users/settings")},async getRecordById(u){return api$1().post("/objects/record/"+u.id,u)},async getRecords(u){return api$1().post("/objects/records",u)}},GoogleAuth=core.registerPlugin("GoogleAuth",{web:()=>Promise.resolve().then(()=>web$2).then(u=>new u.GoogleAuthWeb)}),GoogleMixin={data(){return{googleLoad:!1}},computed:{displayGoogleLogin(){return!0}},mounted(){GoogleAuth.initialize()},methods:{async googleLogin(){var n;this.googleLoad=!0;let[u,t]=await to(GoogleAuth.signIn());if(u)return this.googleLoad=!1;if(this.referral&&(t.ref=this.referral),t.authentication&&(t.authentication.accessToken||t.authentication.idToken)){this.referral&&(t.ref=this.referral),this.display==="popup"&&(t.response_type="code");const[l,h]=await to(AuthService.googleSDK(t,this.$storex));if(l)return this.googleLoad=!1,EventBus.$emit("ssoEvent",{name:"setLoading",data:!1}),this.errorHandler(l);if(h.data.success){if(this.display==="popup")return(n=window.parent)==null?void 0:n.postMessage({code:h.data.auth_code,state:this.$route.query.state},"*");await this.loginSetup(h),await this.getLoggedInAccounts(),this.loginSuccess({...h,isModal:this.isModal}),setTimeout(()=>{this.googleLoad=!1},1e3)}else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err)}else this.googleLoad=!1,EventBus.$emit("ssoEvent",{name:"setLoading",data:!1})}}},SignInWithApple=core.registerPlugin("SignInWithApple",{web:()=>Promise.resolve().then(()=>web$1).then(u=>new u.SignInWithAppleWeb)}),AppleMixin={data(){return{appleLoad:!1}},computed:{displayAppleLogin(){return Capacitor.isNativePlatform()&&Capacitor.getPlatform()==="ios"||!Capacitor.isNativePlatform()&&this.isiOS}},methods:{async appleLogin(){var n;this.appleLoad=!0;const[u,t]=await to(SignInWithApple.authorize({clientId:"co.tapni.applelogin",redirectURI:"https://"+window.location.host+"/login",scopes:"email name"}));if(u)return this.appleLoad=!1;if(t.response.tokenData=jwtDecode.jwtDecode(t.response.identityToken),t&&t.response&&t.response.identityToken){this.referral&&(t.response.ref=this.referral),this.display==="popup"&&(t.response_type="code");const[l,h]=await to(AuthService.appleSDK(t.response,this.$storex));if(l)return this.appleLoad=!1,EventBus.$emit("ssoEvent",{name:"setLoading",data:!1}),this.errorHandler(l);if(h.data.success){if(this.display==="popup")return(n=window.parent)==null?void 0:n.postMessage({code:h.data.auth_code,state:this.$route.query.state},"*");await this.loginSetup(h),await this.getLoggedInAccounts(),this.loginSuccess({...h,isModal:this.isModal}),setTimeout(()=>{this.appleLoad=!1},1e3)}else this.errorSnack(this.ssoLang[this.appLanguage].unexpected_err)}else this.appleLoad=!1,EventBus.$emit("ssoEvent",{name:"setLoading",data:!1})}}};/*! @azure/msal-browser v2.38.3 2023-10-27 *//*! *****************************************************************************
|
|
108
108
|
Copyright (c) Microsoft Corporation.
|
|
109
109
|
|
|
110
110
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -1390,7 +1390,7 @@ function _sfc_render$7(u, t, n, l, d, o) {
|
|
|
1390
1390
|
const AuthWelcome = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", _sfc_render$7], ["__scopeId", "data-v-cb61958b"]]), Welcome$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1391
1391
|
__proto__: null,
|
|
1392
1392
|
default: AuthWelcome
|
|
1393
|
-
}, Symbol.toStringTag, { value: "Module" })), version$3 = "1.0.
|
|
1393
|
+
}, Symbol.toStringTag, { value: "Module" })), version$3 = "1.0.35", UserService = {
|
|
1394
1394
|
getMe() {
|
|
1395
1395
|
return api$1().get("/users/me");
|
|
1396
1396
|
},
|
|
@@ -5824,7 +5824,7 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5824
5824
|
app_region: "지역",
|
|
5825
5825
|
app_region_p: "맞춤형 결제 및 지원을 위해 지역을 선택하세요"
|
|
5826
5826
|
}
|
|
5827
|
-
}, Welcome = () => Promise.resolve().then(() => Welcome$1), Login$1 = () => Promise.resolve().then(() => Login), Register$1 = () => Promise.resolve().then(() => Register), Reset$1 = () => Promise.resolve().then(() => Reset), Account$1 = () => Promise.resolve().then(() => Account), Verify$1 = () => Promise.resolve().then(() => Verify), Callback$1 = () => Promise.resolve().then(() => Callback), QR = () => import("./QR-
|
|
5827
|
+
}, Welcome = () => Promise.resolve().then(() => Welcome$1), Login$1 = () => Promise.resolve().then(() => Login), Register$1 = () => Promise.resolve().then(() => Register), Reset$1 = () => Promise.resolve().then(() => Reset), Account$1 = () => Promise.resolve().then(() => Account), Verify$1 = () => Promise.resolve().then(() => Verify), Callback$1 = () => Promise.resolve().then(() => Callback), QR = () => import("./QR-CcalHfny.js"), Security$1 = () => Promise.resolve().then(() => Security), Apps = () => import("./Apps-CsmE3lKO.js"), Billing = () => import("./Billing-Cl0aZiOV.js"), CustomApp = () => import("./CustomApp-Dpt7ZvpH.js"), General = () => import("./General-CHzjT8VC.js"), routes = [
|
|
5828
5828
|
{
|
|
5829
5829
|
path: "/welcome",
|
|
5830
5830
|
name: "AuthWelcome",
|
|
@@ -5946,6 +5946,8 @@ Tanıştığınız herkesi etkileyin 😎 <br> Kendinize bir tane ayırın 👇`
|
|
|
5946
5946
|
"https://designer.tapni.com",
|
|
5947
5947
|
"https://designer-dev.tapni.com",
|
|
5948
5948
|
"http://localhost:8082",
|
|
5949
|
+
"http://192.168.1.107:7777",
|
|
5950
|
+
"http://localhost:7777",
|
|
5949
5951
|
"http://localhost:7777",
|
|
5950
5952
|
"https://localhost:7777",
|
|
5951
5953
|
"http://localhost:8086",
|
package/package.json
CHANGED
package/src/store/auth.js
CHANGED