diff --git a/angular-bare-bones-demo/index.html b/angular-bare-bones-demo/index.html index df42a3ecd..ce9c1a931 100644 --- a/angular-bare-bones-demo/index.html +++ b/angular-bare-bones-demo/index.html @@ -1,4 +1,4 @@ - + AngularBareBonesDemo diff --git a/art-gallery-medium-article-website/index.html b/art-gallery-medium-article-website/index.html index bae4928e7..e2d46904b 100644 --- a/art-gallery-medium-article-website/index.html +++ b/art-gallery-medium-article-website/index.html @@ -1 +1 @@ -Art Gallery Dapp
\ No newline at end of file +Art Gallery Dapp
\ No newline at end of file diff --git a/ecommerce-store-website/404.html b/ecommerce-store-website/404.html index aedeb3210..47fe5b85d 100644 --- a/ecommerce-store-website/404.html +++ b/ecommerce-store-website/404.html @@ -1,4 +1,4 @@ -404: This page could not be found
This page collect data for analytics purposes.
This page collect data for analytics purposes.

404

This page could not be found.

We make tokens smart

Smart Token Labs is the creator of TokenScript and AlphaWallet two open source solutions for a tokenized future.

\ No newline at end of file + }

404

This page could not be found.

We make tokens smart

Smart Token Labs is the creator of TokenScript and AlphaWallet two open source solutions for a tokenized future.

\ No newline at end of file diff --git a/ecommerce-store-website/404/index.html b/ecommerce-store-website/404/index.html index 494877fad..30a921553 100644 --- a/ecommerce-store-website/404/index.html +++ b/ecommerce-store-website/404/index.html @@ -1,4 +1,4 @@ -404: This page could not be found
This page collect data for analytics purposes.
This page collect data for analytics purposes.

404

This page could not be found.

We make tokens smart

Smart Token Labs is the creator of TokenScript and AlphaWallet two open source solutions for a tokenized future.

\ No newline at end of file + }

404

This page could not be found.

We make tokens smart

Smart Token Labs is the creator of TokenScript and AlphaWallet two open source solutions for a tokenized future.

\ No newline at end of file diff --git a/ecommerce-store-website/_next/static/5S8y6rUofvz5Bsy5BQupN/_buildManifest.js b/ecommerce-store-website/_next/static/x2oPUrGp1mop89SQ9zQiC/_buildManifest.js similarity index 100% rename from ecommerce-store-website/_next/static/5S8y6rUofvz5Bsy5BQupN/_buildManifest.js rename to ecommerce-store-website/_next/static/x2oPUrGp1mop89SQ9zQiC/_buildManifest.js diff --git a/ecommerce-store-website/_next/static/5S8y6rUofvz5Bsy5BQupN/_ssgManifest.js b/ecommerce-store-website/_next/static/x2oPUrGp1mop89SQ9zQiC/_ssgManifest.js similarity index 100% rename from ecommerce-store-website/_next/static/5S8y6rUofvz5Bsy5BQupN/_ssgManifest.js rename to ecommerce-store-website/_next/static/x2oPUrGp1mop89SQ9zQiC/_ssgManifest.js diff --git a/ecommerce-store-website/demo/automotive/index.html b/ecommerce-store-website/demo/automotive/index.html index 6f5513549..dacc68211 100644 --- a/ecommerce-store-website/demo/automotive/index.html +++ b/ecommerce-store-website/demo/automotive/index.html @@ -1,4 +1,4 @@ -Automotive | Brand Connector Demo
This page collect data for analytics purposes.

Automotive

Top Gear and Riot

Exclusive track day experience with Top Gear.

Available exclusively to Riot Racer NFT holders.

Select Vehicle

Pickup Location

Input example of selected pickup location

Drop-off Location

Input example of selected drop-off location

Select Dates

Calender example of selected rental dates

Age of primary driver

32

Note, all prices include standard insurance cover & roadside assistance for all driver over 25 years of age.

Lamborghini

Rare Aventador LP780-4 ‘22

$550.00/day

Porche

911 GT3 RS Limited Edition ‘20

$290.00/day

Lamborghini Urus Esteso 19

Limited Edition Urus Esteso ‘19

$450.00/day

Mercedes

AMG GT Night Edition ‘21

$320.00/day

Ferrari

Vulcan ‘21

$310.00/day

Aston Martin

Vulcan ‘21

$550.00/day

Manufacturers

  • Porsh
  • Mercedes
  • Lamborghini
  • Aston Martin
  • Ferrari
  • Range Rover

More demo Shops

Music & Events

Uses: BAYC Token

Try Demo

Fashion

Uses: WoW Token

Try Demo
We make tokens smart

Smart Token Labs is the creator of TokenScript and AlphaWallet two open source solutions for a tokenized future.

\ No newline at end of file +
This page collect data for analytics purposes.

Automotive

Top Gear and Riot

Exclusive track day experience with Top Gear.

Available exclusively to Riot Racer NFT holders.

Select Vehicle

Pickup Location

Input example of selected pickup location

Drop-off Location

Input example of selected drop-off location

Select Dates

Calender example of selected rental dates

Age of primary driver

32

Note, all prices include standard insurance cover & roadside assistance for all driver over 25 years of age.

Lamborghini

Rare Aventador LP780-4 ‘22

$550.00/day

Porche

911 GT3 RS Limited Edition ‘20

$290.00/day

Lamborghini Urus Esteso 19

Limited Edition Urus Esteso ‘19

$450.00/day

Mercedes

AMG GT Night Edition ‘21

$320.00/day

Ferrari

Vulcan ‘21

$310.00/day

Aston Martin

Vulcan ‘21

$550.00/day

Manufacturers

  • Porsh
  • Mercedes
  • Lamborghini
  • Aston Martin
  • Ferrari
  • Range Rover

More demo Shops

Music & Events

Uses: BAYC Token

Try Demo

Fashion

Uses: WoW Token

Try Demo
We make tokens smart

Smart Token Labs is the creator of TokenScript and AlphaWallet two open source solutions for a tokenized future.

\ No newline at end of file diff --git a/ecommerce-store-website/demo/fashion/index.html b/ecommerce-store-website/demo/fashion/index.html index 943cb6f5d..94e9d54f0 100644 --- a/ecommerce-store-website/demo/fashion/index.html +++ b/ecommerce-store-website/demo/fashion/index.html @@ -1,4 +1,4 @@ -Fashion Store | Brand Connector Demo
This page collect data for analytics purposes.

Fashion Store

Exclusive Jimmy Choo early access for WOW NFT Holders

Available exclusively to World of Women NFT Holders.

2 days left
Jimmy Choo shoes

Popular this week

New Arrival

Statement - Lili Midi Dress

Dress like you do in your wildest dreams in the Lilly Midi Dress.

$119.99

New Arrival

Real Vibes - Wrap Garden Dress

A gorgeous spring event dress, this Red Gardens Dress from Real Vibes is an event essential

$190.00

New Arrival

Ask Judy - Coat

Beat the chill without sacrificing style is this Black wool blend detailed coat.

$139.99

New Arrival

Lux Looks - Teal Dress

This teal modern design; delivers a simplified, well-made look for an audience who craves a relaxed coastal lifestyle.

$239.99

New Arrival

Statement - Two-piece Outfit

This piece black outfit for a casual occasion or pair with heels for a more sophisticated look.

$179.00

New Arrival

Surfer Girl - Straw Hat

Complete your summer style with the Sonny Hand Knotted Straw Hat by Surfer Girl.

$49.99

Brands

  • Jimmy Choo
  • Chanel
  • Bvlgari
  • Dolce & Gabbana
  • Prada
  • Louis Vuitton

More demo Shops

Music & Events

Uses: BAYC Token

Try Demo

Automotive

Uses: Riot Racers Token

Try Demo
We make tokens smart

Smart Token Labs is the creator of TokenScript and AlphaWallet two open source solutions for a tokenized future.

\ No newline at end of file +
This page collect data for analytics purposes.

Fashion Store

Exclusive Jimmy Choo early access for WOW NFT Holders

Available exclusively to World of Women NFT Holders.

2 days left
Jimmy Choo shoes

Popular this week

New Arrival

Statement - Lili Midi Dress

Dress like you do in your wildest dreams in the Lilly Midi Dress.

$119.99

New Arrival

Real Vibes - Wrap Garden Dress

A gorgeous spring event dress, this Red Gardens Dress from Real Vibes is an event essential

$190.00

New Arrival

Ask Judy - Coat

Beat the chill without sacrificing style is this Black wool blend detailed coat.

$139.99

New Arrival

Lux Looks - Teal Dress

This teal modern design; delivers a simplified, well-made look for an audience who craves a relaxed coastal lifestyle.

$239.99

New Arrival

Statement - Two-piece Outfit

This piece black outfit for a casual occasion or pair with heels for a more sophisticated look.

$179.00

New Arrival

Surfer Girl - Straw Hat

Complete your summer style with the Sonny Hand Knotted Straw Hat by Surfer Girl.

$49.99

Brands

  • Jimmy Choo
  • Chanel
  • Bvlgari
  • Dolce & Gabbana
  • Prada
  • Louis Vuitton

More demo Shops

Music & Events

Uses: BAYC Token

Try Demo

Automotive

Uses: Riot Racers Token

Try Demo
We make tokens smart

Smart Token Labs is the creator of TokenScript and AlphaWallet two open source solutions for a tokenized future.

\ No newline at end of file diff --git a/ecommerce-store-website/demo/music-and-events/index.html b/ecommerce-store-website/demo/music-and-events/index.html index 44c9108b8..dd70af27f 100644 --- a/ecommerce-store-website/demo/music-and-events/index.html +++ b/ecommerce-store-website/demo/music-and-events/index.html @@ -1,4 +1,4 @@ -Music and Events Store | Brand Connector Demo
This page collect data for analytics purposes.

Music & Events Store

Exclusive for BAYC Holders, Coachella VIP Upgrades & 20% off Storewide

Available exclusively to BAYC Holders.

Upcoming

JOJI

Nectar the finale 2022

$68.99

Dua Lipa

Future Nostalgia Feat. Elton John 2022

$84.99

Coachella 2023

General Access

$449.00

Popular Brands

  • Yeezus
  • Slipknot
  • Red Hot Chili Peppers
  • Marshmallow
  • ABBA
  • BTS

More demo Shops

Fashion

Uses: WoW Token

Try Demo

Automotive

Uses: Riot Racers Token

Try Demo
We make tokens smart

Smart Token Labs is the creator of TokenScript and AlphaWallet two open source solutions for a tokenized future.

\ No newline at end of file +
This page collect data for analytics purposes.

Music & Events Store

Exclusive for BAYC Holders, Coachella VIP Upgrades & 20% off Storewide

Available exclusively to BAYC Holders.

Upcoming

JOJI

Nectar the finale 2022

$68.99

Dua Lipa

Future Nostalgia Feat. Elton John 2022

$84.99

Coachella 2023

General Access

$449.00

Popular Brands

  • Yeezus
  • Slipknot
  • Red Hot Chili Peppers
  • Marshmallow
  • ABBA
  • BTS

More demo Shops

Fashion

Uses: WoW Token

Try Demo

Automotive

Uses: Riot Racers Token

Try Demo
We make tokens smart

Smart Token Labs is the creator of TokenScript and AlphaWallet two open source solutions for a tokenized future.

\ No newline at end of file diff --git a/ecommerce-store-website/index.html b/ecommerce-store-website/index.html index 3f74b815f..c6af77598 100644 --- a/ecommerce-store-website/index.html +++ b/ecommerce-store-website/index.html @@ -1,4 +1,4 @@ -Brand Connector Demo
This page collect data for analytics purposes.

Try The Product Demo

1

Get Metamask

Download and setup the Metamask extension

2

Request Test Tokens

Connect your wallet, switch to Goerli or Mumbai testnet and request tokens from us.

3

Try A Demo Shop

Select and visit one of our example shops. Each Token will let you try a different benefit.

4

Connect & Activate

Click the BrandConnector module in the bottom-right corner, connect & toggle any test tokens.


Step 2

Request Test NFTs

Mint the test NFTs with Goerli or Mumbai to try it out. Each works with a different shop. With Brand Connector, you can setup any benefit you’d like.

STL Bored Ape Yacht Club (Goerli or Mumbai Network)

Use a BAYC Token to get VIP room upgrades at the Music & Events demo shop.

STL WoW (Goerli or Mumbai Network)

Use a WoW Token to get access to exclusive early drops at the Fashion demo shop.

STL Riot Racer (Goerli or Mumbai Network)

Use a Riot Racer Token to book a day at the race tracks at the Automotive demo shop.


Step 3

Select A Demo Shop

Music & Events

Uses: BAYC Token

Visit Shop

Fashion

Uses: WoW Token

Visit Shop

Automotive

Uses: Riot Racers Token

Visit Shop
We make tokens smart

Smart Token Labs is the creator of TokenScript and AlphaWallet two open source solutions for a tokenized future.

\ No newline at end of file +
This page collect data for analytics purposes.

Try The Product Demo

1

Get Metamask

Download and setup the Metamask extension

2

Request Test Tokens

Connect your wallet, switch to Goerli or Mumbai testnet and request tokens from us.

3

Try A Demo Shop

Select and visit one of our example shops. Each Token will let you try a different benefit.

4

Connect & Activate

Click the BrandConnector module in the bottom-right corner, connect & toggle any test tokens.


Step 2

Request Test NFTs

Mint the test NFTs with Goerli or Mumbai to try it out. Each works with a different shop. With Brand Connector, you can setup any benefit you’d like.

STL Bored Ape Yacht Club (Goerli or Mumbai Network)

Use a BAYC Token to get VIP room upgrades at the Music & Events demo shop.

STL WoW (Goerli or Mumbai Network)

Use a WoW Token to get access to exclusive early drops at the Fashion demo shop.

STL Riot Racer (Goerli or Mumbai Network)

Use a Riot Racer Token to book a day at the race tracks at the Automotive demo shop.


Step 3

Select A Demo Shop

Music & Events

Uses: BAYC Token

Visit Shop

Fashion

Uses: WoW Token

Visit Shop

Automotive

Uses: Riot Racers Token

Visit Shop
We make tokens smart

Smart Token Labs is the creator of TokenScript and AlphaWallet two open source solutions for a tokenized future.

\ No newline at end of file diff --git a/hotel-bogota-active-negotiation-website/index.html b/hotel-bogota-active-negotiation-website/index.html index abd738735..29868b395 100644 --- a/hotel-bogota-active-negotiation-website/index.html +++ b/hotel-bogota-active-negotiation-website/index.html @@ -1 +1 @@ -Hotel Bogota Example Dapp
\ No newline at end of file +Hotel Bogota Example Dapp
\ No newline at end of file diff --git a/hotel-bogota-passive-negotiation-website/index.html b/hotel-bogota-passive-negotiation-website/index.html index 4051be311..858655dcc 100644 --- a/hotel-bogota-passive-negotiation-website/index.html +++ b/hotel-bogota-passive-negotiation-website/index.html @@ -1 +1 @@ -Hotel Bogota Example Dapp
\ No newline at end of file +Hotel Bogota Example Dapp
\ No newline at end of file diff --git a/index.html b/index.html index d6b3de944..fb7f657b4 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,6 @@ - + diff --git a/ticket-issuer-url-website/index.html b/ticket-issuer-url-website/index.html index 4424cf96b..cecfb6d92 100644 --- a/ticket-issuer-url-website/index.html +++ b/ticket-issuer-url-website/index.html @@ -1 +1 @@ -Ticket Issuer Example Dapp
\ No newline at end of file +Ticket Issuer Example Dapp
\ No newline at end of file diff --git a/token-outlet-website/index.html b/token-outlet-website/index.html index 2d9105704..03f66b57b 100644 --- a/token-outlet-website/index.html +++ b/token-outlet-website/index.html @@ -1 +1 @@ -token negotiator outlet
\ No newline at end of file +token negotiator outlet
\ No newline at end of file diff --git a/typescript-bare-bones-demo/index.html b/typescript-bare-bones-demo/index.html index 971e4c462..55a20d7ef 100644 --- a/typescript-bare-bones-demo/index.html +++ b/typescript-bare-bones-demo/index.html @@ -1,4 +1,4 @@ -TKN Typescript Dapp - `,label:"MetaMask"},gY='',vY='Torus logo',mY=` + `,label:"MetaMask"},pY='',bY='Torus logo',yY=` Safe connect button -`,xY=` +`,gY=` -`,wY=' ',yw={imgBig:wY,label:"Ultra"},_Y={imgSmall:` +`,vY=' ',dw={imgBig:vY,label:"Ultra"},mY={imgSmall:` `,imgBig:` - `,label:"ImToken"},HI={imgBig:'',label:"AlphaWallet"},AY={imgBig:` + `,label:"ImToken"},zI={imgBig:'',label:"AlphaWallet"},xY={imgBig:` - `,label:"Status Wallet"},EY={imgBig:` + `,label:"Status Wallet"},wY={imgBig:` @@ -241,9 +241,9 @@ if (cid) { - `,label:"Trust Wallet"},TY={imgBig:` + `,label:"Trust Wallet"},_Y={imgBig:` - `,label:"Embedded Wallet"},KI={imgBig:` + `,label:"Embedded Wallet"},jI={imgBig:` @@ -277,9 +277,9 @@ if (cid) { - `,label:"Brave"},SY={imgBig:` + `,label:"Brave"},AY={imgBig:` - `,label:"MEW"};function xf(r){switch(r){case Cr.MetaMask:return kY();case Cr.WalletConnectV2:return{name:r,label:"WalletConnect V2",imgBig:gY};case Cr.AlphaWallet:return{name:Cr.WalletConnectV2,label:"AlphaWallet",imgBig:HI.imgBig};case Cr.Torus:return{name:r,label:"Torus",imgBig:vY};case Cr.Phantom:return MY();case Cr.Flow:return{name:r,label:"Flow",imgBig:xY};case Cr.SafeConnect:return{name:r,label:"SafeConnect",imgBig:mY};case Cr.Socios:return{name:r,label:"Socios",imgBig:pY};case Cr.Ultra:return{name:r,label:yw.label,imgBig:yw.imgBig}}}function kY(){var r=d5(),e=TY;return r.brave&&(e=KI),r.anyMetamask&&(e=yY),r.mew&&(e=SY),r.trust&&(e=EY),r.status&&(e=AY),r.alphaWallet&&(e=HI),r.imToken&&(e=_Y),J8({name:Cr.MetaMask},e)}function MY(){var r;return!((r=window.solana)===null||r===void 0)&&r.isBraveWallet?{name:Cr.Phantom_Brave,label:"Phantom (Brave)",imgBig:KI.imgBig}:{name:Cr.Phantom,label:"Phantom",imgBig:bY}}var PY=globalThis&&globalThis.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,f){n.__proto__=f}||function(n,f){for(var i in f)Object.prototype.hasOwnProperty.call(f,i)&&(n[i]=f[i])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),IY=globalThis&&globalThis.__awaiter||function(r,e,t,n){function f(i){return i instanceof t?i:new t(function(a){a(i)})}return new(t||(t=Promise))(function(i,a){function o(u){try{s(n.next(u))}catch(y){a(y)}}function l(u){try{s(n.throw(u))}catch(y){a(y)}}function s(u){u.done?i(u.value):f(u.value).then(o,l)}s((n=n.apply(r,e||[])).next())})},CY=globalThis&&globalThis.__generator||function(r,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,f,i,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(s){return function(u){return l([s,u])}}function l(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(t=0)),t;)try{if(n=1,f&&(i=s[0]&2?f.return:s[0]?f.throw||((i=f.return)&&i.call(f),0):f.next)&&!(i=i.call(f,s[1])).done)return i;switch(f=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return t.label++,{value:s[1],done:!1};case 5:t.label++,f=s[1],s=[0];continue;case 7:s=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},OY=function(r){PY(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.init=function(){this.client.registerUiUpdateCallback(2,void 0)},e.prototype.render=function(){var t,n,f=this,i="";if(this.client.hasIssuerForBlockchain(wo.EVM)){if(this.client.safeConnectAvailable()){var a=xf(Cr.SafeConnect);i+=this.getWalletButtonHtml(a)}var o=xf(Cr.AlphaWallet);if(i+=this.getWalletButtonHtml(o),typeof window.ethereum<"u"){var l=xf(Cr.MetaMask);i+=this.getWalletButtonHtml(l)}var s=xf(Cr.WalletConnectV2),u=[s],y=d5();y.edgeIOS||u.push(xf(Cr.Torus));try{for(var x=RY(u),_=x.next();!_.done;_=x.next()){var S=_.value;i+=this.getWalletButtonHtml(S)}}catch(O){t={error:O}}finally{try{_&&!_.done&&(n=x.return)&&n.call(x)}finally{if(t)throw t.error}}}if(this.client.hasIssuerForBlockchain(wo.EVM,!0)){var C=xf(Cr.Socios);i+=this.getWalletButtonHtml(C)}if(this.client.hasIssuerForBlockchain(wo.SOLANA)){var M=xf(Cr.Phantom);i+=this.getWalletButtonHtml(M)}if(this.client.hasIssuerForBlockchain(wo.FLOW)){var k=xf(Cr.Flow);i+=this.getWalletButtonHtml(k)}if(this.client.hasIssuerForBlockchain(wo.ULTRA)){var R=xf(Cr.Ultra);i+=this.getWalletButtonHtml(R)}this.viewContainer.innerHTML=` + `,label:"MEW"};function xf(r){switch(r){case Cr.MetaMask:return EY();case Cr.WalletConnectV2:return{name:r,label:"WalletConnect V2",imgBig:pY};case Cr.AlphaWallet:return{name:Cr.WalletConnectV2,label:"AlphaWallet",imgBig:zI.imgBig};case Cr.Torus:return{name:r,label:"Torus",imgBig:bY};case Cr.Phantom:return TY();case Cr.Flow:return{name:r,label:"Flow",imgBig:gY};case Cr.SafeConnect:return{name:r,label:"SafeConnect",imgBig:yY};case Cr.Socios:return{name:r,label:"Socios",imgBig:uY};case Cr.Ultra:return{name:r,label:dw.label,imgBig:dw.imgBig}}}function EY(){var r=d5(),e=_Y;return r.brave&&(e=jI),r.anyMetamask&&(e=hY),r.mew&&(e=AY),r.trust&&(e=wY),r.status&&(e=xY),r.alphaWallet&&(e=zI),r.imToken&&(e=mY),Y8({name:Cr.MetaMask},e)}function TY(){var r;return!((r=window.solana)===null||r===void 0)&&r.isBraveWallet?{name:Cr.Phantom_Brave,label:"Phantom (Brave)",imgBig:jI.imgBig}:{name:Cr.Phantom,label:"Phantom",imgBig:dY}}var SY=globalThis&&globalThis.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,f){n.__proto__=f}||function(n,f){for(var i in f)Object.prototype.hasOwnProperty.call(f,i)&&(n[i]=f[i])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),kY=globalThis&&globalThis.__awaiter||function(r,e,t,n){function f(i){return i instanceof t?i:new t(function(a){a(i)})}return new(t||(t=Promise))(function(i,a){function o(u){try{s(n.next(u))}catch(y){a(y)}}function l(u){try{s(n.throw(u))}catch(y){a(y)}}function s(u){u.done?i(u.value):f(u.value).then(o,l)}s((n=n.apply(r,e||[])).next())})},MY=globalThis&&globalThis.__generator||function(r,e){var t={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},n,f,i,a;return a={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function o(s){return function(u){return l([s,u])}}function l(s){if(n)throw new TypeError("Generator is already executing.");for(;a&&(a=0,s[0]&&(t=0)),t;)try{if(n=1,f&&(i=s[0]&2?f.return:s[0]?f.throw||((i=f.return)&&i.call(f),0):f.next)&&!(i=i.call(f,s[1])).done)return i;switch(f=0,i&&(s=[s[0]&2,i.value]),s[0]){case 0:case 1:i=s;break;case 4:return t.label++,{value:s[1],done:!1};case 5:t.label++,f=s[1],s=[0];continue;case 7:s=t.ops.pop(),t.trys.pop();continue;default:if(i=t.trys,!(i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},IY=function(r){SY(e,r);function e(){return r!==null&&r.apply(this,arguments)||this}return e.prototype.init=function(){this.client.registerUiUpdateCallback(2,void 0)},e.prototype.render=function(){var t,n,f=this,i="";if(this.client.hasIssuerForBlockchain(wo.EVM)){if(this.client.safeConnectAvailable()){var a=xf(Cr.SafeConnect);i+=this.getWalletButtonHtml(a)}var o=xf(Cr.AlphaWallet);if(i+=this.getWalletButtonHtml(o),typeof window.ethereum<"u"){var l=xf(Cr.MetaMask);i+=this.getWalletButtonHtml(l)}var s=xf(Cr.WalletConnectV2),u=[s],y=d5();y.edgeIOS||u.push(xf(Cr.Torus));try{for(var x=PY(u),_=x.next();!_.done;_=x.next()){var S=_.value;i+=this.getWalletButtonHtml(S)}}catch(O){t={error:O}}finally{try{_&&!_.done&&(n=x.return)&&n.call(x)}finally{if(t)throw t.error}}}if(this.client.hasIssuerForBlockchain(wo.EVM,!0)){var C=xf(Cr.Socios);i+=this.getWalletButtonHtml(C)}if(this.client.hasIssuerForBlockchain(wo.SOLANA)){var M=xf(Cr.Phantom);i+=this.getWalletButtonHtml(M)}if(this.client.hasIssuerForBlockchain(wo.FLOW)){var k=xf(Cr.Flow);i+=this.getWalletButtonHtml(k)}if(this.client.hasIssuerForBlockchain(wo.ULTRA)){var R=xf(Cr.Ultra);i+=this.getWalletButtonHtml(R)}this.viewContainer.innerHTML=`
@@ -308,7 +308,7 @@ if (cid) { `).concat(t.imgBig,`

`).concat(t.label,`

- `)},e.prototype.connectWallet=function(t){var n,f,i,a;return IY(this,void 0,void 0,function(){var o,l,s,u=this;return CY(this,function(y){switch(y.label){case 0:o=t.currentTarget.dataset.wallet,l=t.currentTarget.dataset.walletlabel,l=l??o,nt(2,"Connect wallet: "+o),this.ui.setForceToOpen(!0),this.ui.showLoaderDelayed(["

Connecting to "+l+"...

","You may need to unlock your wallet to continue."],500),y.label=1;case 1:return y.trys.push([1,3,,4]),[4,this.client.negotiatorConnectToWallet(o)];case 2:return y.sent(),this.ui.dismissLoader(),!((f=(n=this.params)===null||n===void 0?void 0:n.data)===null||f===void 0)&&f.connectCallback?(a=(i=this.params)===null||i===void 0?void 0:i.data)===null||a===void 0||a.connectCallback():(this.client.enrichTokenLookupDataOnChainTokens(),this.ui.updateUI("main",{viewName:"main"},{viewTransition:"slide-in-right"})),this.ui.setForceToOpen(!1),[3,4];case 3:return s=y.sent(),nt(2,"negotiatorConnectToWallet error",t),this.ui.showError(s),setTimeout(function(){console.log("this.ui.setForceToOpen(false)"),u.ui.setForceToOpen(!1)},0),[3,4];case 4:return[2]}})})},e}(p5),C6=globalThis&&globalThis.__assign||function(){return C6=Object.assign||function(r){for(var e,t=1,n=arguments.length;t0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]0)&&!(f=n.next()).done;)i.push(f.value)}catch(o){a={error:o}}finally{try{f&&!f.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i},BY=globalThis&&globalThis.__spreadArray||function(r,e,t){if(t||arguments.length===2)for(var n=0,f=e.length,i;n-1){u=i?.viewTransition+"-tn",y=this.viewContainer;var _=document.createElement("div");this.transitionContainer.classList.add(u),_.classList.add("view-content-tn"),u==="slide-in-left-tn"||u==="slide-in-top-tn"?this.transitionContainer.prepend(_):this.transitionContainer.appendChild(_),this.viewContainer=_}i.componentIsFactory?(e=e,this.currentView=e(this.client,this,this.viewContainer,{options:this.options,viewOptions:i,data:t})):(e=e,this.currentView=new e(this.client,this,this.viewContainer,{options:this.options,viewOptions:i,data:t})),this.currentView.render(),u&&(setTimeout(function(){y.remove(),f.transitionContainer.classList.remove("slide-in",u)},300),this.transitionContainer.classList.add("slide-in")),this.client.eventSender("view-changed",{viewName:a,data:t})},r.prototype.viewIsNotStart=function(){return!this.isStartView},r.prototype.getCustomUserError=function(e){var t=e;return e&&e.contains&&e.contains("Failed to read the 'localStorage'")&&(t="Please enable cookies in your browser to use this feature or try a different browser."),t},r.prototype.showError=function(e,t){var n=this;if(t===void 0&&(t=!0),this.cancelDelayedLoader(),typeof e!="string"){if(e.name===u0.USER_ABORT)return this.dismissLoader();e=e.message?e.message:e.toString()}else if(e===u0.USER_ABORT)return this.dismissLoader();var f=this.loadContainer.querySelector(".loader-tn");f.style.display="none",this.retryButton.style.display="block";var i=this.getCustomUserError(e);if(this.loadContainer.querySelector(".loader-msg-tn").innerHTML='

'.concat(i,"

"),this.loadContainer.style.display="flex",!t){var a=this.loadContainer.querySelector(".dismiss-error-tn");a.style.display="none"}setTimeout(function(){n.setForceToOpen(!1)},0)},r.prototype.setErrorRetryCallback=function(e){this.retryCallback=e,this.retryButton.innerText="Retry"},r.prototype.showLoaderDelayed=function(e,t,n){var f=this;n===void 0&&(n=!1),this.loadTimer&&clearTimeout(this.loadTimer),this.loadTimer=setTimeout(function(){f.showLoader.apply(f,BY([],gw(e),!1)),n&&f.openOverlay()},t)},r.prototype.cancelDelayedLoader=function(){this.loadTimer&&(clearTimeout(this.loadTimer),this.loadTimer=null)},r.prototype.showLoader=function(){for(var e=[],t=0;tConnecting to "+l+"...","You may need to unlock your wallet to continue."],500),y.label=1;case 1:return y.trys.push([1,3,,4]),[4,this.client.negotiatorConnectToWallet(o)];case 2:return y.sent(),this.ui.dismissLoader(),!((f=(n=this.params)===null||n===void 0?void 0:n.data)===null||f===void 0)&&f.connectCallback?(a=(i=this.params)===null||i===void 0?void 0:i.data)===null||a===void 0||a.connectCallback():(this.client.enrichTokenLookupDataOnChainTokens(),this.ui.updateUI("main",{viewName:"main"},{viewTransition:"slide-in-right"})),this.ui.setForceToOpen(!1),[3,4];case 3:return s=y.sent(),nt(2,"negotiatorConnectToWallet error",t),this.ui.showError(s),setTimeout(function(){console.log("this.ui.setForceToOpen(false)"),u.ui.setForceToOpen(!1)},0),[3,4];case 4:return[2]}})})},e}(p5),C6=globalThis&&globalThis.__assign||function(){return C6=Object.assign||function(r){for(var e,t=1,n=arguments.length;t0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]0)&&!(f=n.next()).done;)i.push(f.value)}catch(o){a={error:o}}finally{try{f&&!f.done&&(t=n.return)&&t.call(n)}finally{if(a)throw a.error}}return i},CY=globalThis&&globalThis.__spreadArray||function(r,e,t){if(t||arguments.length===2)for(var n=0,f=e.length,i;n-1){u=i?.viewTransition+"-tn",y=this.viewContainer;var _=document.createElement("div");this.transitionContainer.classList.add(u),_.classList.add("view-content-tn"),u==="slide-in-left-tn"||u==="slide-in-top-tn"?this.transitionContainer.prepend(_):this.transitionContainer.appendChild(_),this.viewContainer=_}i.componentIsFactory?(e=e,this.currentView=e(this.client,this,this.viewContainer,{options:this.options,viewOptions:i,data:t})):(e=e,this.currentView=new e(this.client,this,this.viewContainer,{options:this.options,viewOptions:i,data:t})),this.currentView.render(),u&&(setTimeout(function(){y.remove(),f.transitionContainer.classList.remove("slide-in",u)},300),this.transitionContainer.classList.add("slide-in")),this.client.eventSender("view-changed",{viewName:a,data:t})},r.prototype.viewIsNotStart=function(){return!this.isStartView},r.prototype.getCustomUserError=function(e){var t=e;return e&&e.contains&&e.contains("Failed to read the 'localStorage'")&&(t="Please enable cookies in your browser to use this feature or try a different browser."),t},r.prototype.showError=function(e,t){var n=this;if(t===void 0&&(t=!0),this.cancelDelayedLoader(),typeof e!="string"){if(e.name===u0.USER_ABORT)return this.dismissLoader();e=e.message?e.message:e.toString()}else if(e===u0.USER_ABORT)return this.dismissLoader();var f=this.loadContainer.querySelector(".loader-tn");f.style.display="none",this.retryButton.style.display="block";var i=this.getCustomUserError(e);if(this.loadContainer.querySelector(".loader-msg-tn").innerHTML='

'.concat(i,"

"),this.loadContainer.style.display="flex",!t){var a=this.loadContainer.querySelector(".dismiss-error-tn");a.style.display="none"}setTimeout(function(){n.setForceToOpen(!1)},0)},r.prototype.setErrorRetryCallback=function(e){this.retryCallback=e,this.retryButton.innerText="Retry"},r.prototype.showLoaderDelayed=function(e,t,n){var f=this;n===void 0&&(n=!1),this.loadTimer&&clearTimeout(this.loadTimer),this.loadTimer=setTimeout(function(){f.showLoader.apply(f,CY([],hw(e),!1)),n&&f.openOverlay()},t)},r.prototype.cancelDelayedLoader=function(){this.loadTimer&&(clearTimeout(this.loadTimer),this.loadTimer=null)},r.prototype.showLoader=function(){for(var e=[],t=0;t - `);document.body.insertAdjacentHTML("beforeend",s),document.getElementById("tn-access-accept").addEventListener("click",function(){var y,x,_,S=document.getElementsByClassName("tn-permission-cb"),C=[];try{for(var M=Tu(S),k=M.next();!k.done;k=M.next()){var R=k.value,O=R.getAttribute("data-issuer");!((_=n.storedWhitelist[e])===null||_===void 0)&&_.issuers||(n.storedWhitelist[e]={issuers:[]}),R.checked&&C.push(O)}}catch(D){y={error:D}}finally{try{k&&!k.done&&(x=M.return)&&x.call(M)}finally{if(y)throw y.error}}n.storedWhitelist[e].issuers=C,n.saveWhitelist(),f()});var u=function(){n.storedWhitelist[e]&&delete n.storedWhitelist[e],n.saveWhitelist(),HQ("tn-user-denied-access-to-connection",!0,10)};document.getElementById("tn-access-deny").addEventListener("click",function(){u(),i(new Error("USER_ABORT"))}),n.showWhitelistCallback()})},r.STORAGE_KEY="tn-whitelist",r}(),bre=globalThis&&globalThis.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,f){n.__proto__=f}||function(n,f){for(var i in f)Object.prototype.hasOwnProperty.call(f,i)&&(n[i]=f[i])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),hg=globalThis&&globalThis.__assign||function(){return hg=Object.assign||function(r){for(var e,t=1,n=arguments.length;t0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},yre={whitelistDialogWidth:"450px",whitelistDialogHeight:"350px"},xh={max_width:typeof window<"u"&&window.innerWidth<700?"400px":"450px",min_height:typeof window<"u"&&window.innerHeight<600?"600px":"650px"};(function(r){bre(e,r);function e(t,n){n===void 0&&(n=null);var f=r.call(this,t)||this;if(f.tokenConfig=t,f.tokenConfig=Object.assign(yre,t),f.whitelist=new pre(f.tokenConfig,function(){var a=f.getDataFromQuery("evtid");f.sendMessageResponse({evtid:a,evt:Nf.SHOW_FRAME,max_width:f.tokenConfig.whitelistDialogWidth,min_height:f.tokenConfig.whitelistDialogHeight})}),n)f.urlParams=n;else{var i=window.location.hash.length>1?"?"+window.location.hash.substring(1):window.location.search;f.urlParams=new URLSearchParams(i)}return f.pageOnLoadEventHandler().catch(function(a){console.error(a),nt(2,"Outlet pageOnLoadEventHandler error: "+a.message)}),f}return e.prototype.getDataFromQuery=function(t){return this.urlParams?this.urlParams.has(Bn+t)?this.urlParams.get(Bn+t):this.urlParams.get(t):null},e.prototype.getCallbackUrlKey=function(t){return Bn+t},e.prototype.pageOnLoadEventHandler=function(){var t;return Su(this,void 0,void 0,function(){var n,f,i,a,o;return ku(this,function(l){switch(l.label){case 0:n=this.getDataFromQuery("evtid"),f=this.getDataFromQuery("action"),i=this.getDataFromQuery("requestor"),i&&(this.redirectCallbackUrl=new URL(i)),nt(2,"Outlet received event ID "+n+" action "+f+" at "+window.location.href),l.label=1;case 1:switch(l.trys.push([1,15,,16]),a=f,a){case Zr.GET_ISSUER_TOKENS:return[3,2];case Zr.EMAIL_ATTEST_CALLBACK:return[3,4];case Zr.GET_PROOF:return[3,6];case Zr.GET_MUTLI_PROOF:return[3,8]}return[3,10];case 2:return[4,this.sendTokens(n)];case 3:return l.sent(),[3,14];case 4:return this.getDataFromQuery("localClient")==="true"?[2]:[4,this.processAttestationIdCallback(n)];case 5:return l.sent(),[3,14];case 6:return[4,this.sendTokenProof(n)];case 7:return l.sent(),[3,14];case 8:return[4,this.sendMultiTokenProof(n)];case 9:return l.sent(),[3,14];case 10:return this.getDataFromQuery("ticket")?[4,this.readMagicLink()]:[3,13];case 11:return l.sent(),[4,this.sendTokens(n)];case 12:l.sent(),l.label=13;case 13:return[3,14];case 14:return[3,16];case 15:return o=l.sent(),console.error(o),this.sendErrorResponse(n,(t=o?.message)!==null&&t!==void 0?t:o,this.getDataFromQuery("issuer")),[3,16];case 16:return[2]}})})},e.prototype.processAttestationIdCallback=function(t){var n=this.redirectCallbackUrl,f=this.getDataFromQuery("issuer");try{var i=new z1;i.captureAttestationIdCallback(this.urlParams);var a=this.getDataFromQuery("orig-action");switch(a){case Zr.GET_PROOF:this.sendTokenProof(t);break;case Zr.GET_MUTLI_PROOF:this.sendMultiTokenProof(t);break;default:throw new Error("Original action not defined in attestation.id callback")}}catch(o){if(console.error(o),n)return this.proofRedirectError(f,o.message)}window.location.hash=Y8(this.urlParams,["attestation","requestSecret","address","wallet"]).toString()},e.prototype.getIssuerConfigById=function(t){var n,f;if(this.tokenConfig.issuers){try{for(var i=Mu(this.tokenConfig.issuers),a=i.next();!a.done;a=i.next()){var o=a.value;if(o.collectionID===t)return o}}catch(l){n={error:l}}finally{try{a&&!a.done&&(f=i.return)&&f.call(i)}finally{if(n)throw n.error}}throw new Error("Issuer "+t+" not found")}},e.prototype.readMagicLink=function(){return Su(this,void 0,void 0,function(){return ku(this,function(t){switch(t.label){case 0:return this.urlParams.has("ticket")?[4,this.ticketStorage.importTicketFromMagicLink(this.urlParams)]:[2];case 1:return t.sent(),[2]}})})},e.prototype.sendMultiTokenProof=function(t){return Su(this,void 0,void 0,function(){var n,f,i,a,o,l,s,u,y,x=this;return ku(this,function(_){switch(_.label){case 0:n=this.getDataFromQuery("tokens"),f=this.getDataFromQuery("wallet"),i=this.getDataFromQuery("address"),Ea(n,"unsigned token is missing"),a=this.getDataFromQuery("redirect")==="true"?window.location.href:!1,_.label=1;case 1:return _.trys.push([1,3,,4]),o=JSON.parse(n),[4,this.authenticateMany(o,i,f,a,function(){x.sendMessageResponse({evtid:t,evt:Nf.SHOW_FRAME,max_width:xh.max_width,min_height:xh.min_height})})];case 2:return l=_.sent(),this.redirectCallbackUrl?(s=this.redirectCallbackUrl,u=new URLSearchParams(s.hash.substring(1)),u.set(this.getCallbackUrlKey("action"),"proof-callback"),u.set(this.getCallbackUrlKey("multi-token"),"true"),u.set(this.getCallbackUrlKey("tokens"),JSON.stringify(l)),s.hash=u.toString(),window.location.href=s.href,[2]):(this.sendMessageResponse({evtid:t,evt:cc.PROOF,data:l}),[3,4]);case 3:return y=_.sent(),nt(2,y),a?[2,this.proofRedirectError(this.getDataFromQuery("issuer"),y.message)]:(this.sendErrorResponse(t,y.message),[3,4]);case 4:return[2]}})})},e.prototype.sendTokenProof=function(t){return Su(this,void 0,void 0,function(){var n,f,i,a,o,l,s,u,y,x,_,S,C,M,k=this;return ku(this,function(R){switch(R.label){case 0:n=this.getDataFromQuery("issuer"),f=this.getDataFromQuery("token"),i=this.getDataFromQuery("wallet"),a=this.getDataFromQuery("address"),Ea(f,"unsigned token is missing"),o=JSON.parse(f),l=this.getDataFromQuery("redirect")==="true"?window.location.href:!1,R.label=1;case 1:return R.trys.push([1,5,,6]),s=this.getIssuerConfigById(n),[4,this.ticketStorage.getStoredTicketFromDecodedTokenOrId(Wa(s),o)];case 2:return u=R.sent(),y=new z1(s.attestationOrigin,function(){k.sendMessageResponse({evtid:t,evt:Nf.SHOW_FRAME,max_width:xh.max_width,min_height:xh.min_height})},l),[4,y.getIdentifierAttestation(u.id,i,a,{action:Zr.GET_PROOF,issuer:n,token:JSON.stringify(o)})];case 3:return x=R.sent(),[4,dg(s,x.attestation,x.identifierSecret,u)];case 4:return _=R.sent(),this.redirectCallbackUrl?(S=this.redirectCallbackUrl,C=new URLSearchParams(S.hash.substring(1)),C.set(this.getCallbackUrlKey("action"),"proof-callback"),C.set(this.getCallbackUrlKey("issuer"),n),C.set(this.getCallbackUrlKey("attestation"),_.proof),C.set(this.getCallbackUrlKey("type"),u.type),C.set(this.getCallbackUrlKey("token"),f),S.hash=C.toString(),window.location.href=S.href,[2]):(this.sendMessageResponse({evtid:t,evt:cc.PROOF,data:hg({issuer:s.collectionID},_)}),[3,6]);case 5:return M=R.sent(),nt(2,M),l?[2,this.proofRedirectError(this.getDataFromQuery("issuer"),M.message)]:(this.sendErrorResponse(t,M.message),[3,6]);case 6:return[2]}})})},e.prototype.sendTokens=function(t){return Su(this,void 0,void 0,function(){var n,f,i,a,S,o,l,s,R,u,S,y,x,R,_,S,C,M,k,R,O,D,j,K,Z,te,se,he,F,P,v,c;return ku(this,function(h){switch(h.label){case 0:if(n=JSON.parse(this.getDataFromQuery("request")),!n)return[2];f={};try{for(i=Mu(this.tokenConfig.issuers),a=i.next();!a.done;a=i.next()){S=a.value,o=Wa(S);try{for(l=(se=void 0,Mu(o)),s=l.next();!s.done;s=l.next())R=s.value,f[R]=S}catch(g){se={error:g}}finally{try{s&&!s.done&&(he=l.return)&&he.call(l)}finally{if(se)throw se.error}}}}catch(g){Z={error:g}}finally{try{a&&!a.done&&(te=i.return)&&te.call(i)}finally{if(Z)throw Z.error}}u=[];for(S in n)try{for(y=(F=void 0,Mu(n[S])),x=y.next();!x.done;x=y.next())R=x.value,f[R]&&u.indexOf(f[R])===-1&&u.push(f[R])}catch(g){F={error:g}}finally{try{x&&!x.done&&(P=y.return)&&P.call(y)}finally{if(F)throw F.error}}return[4,this.whitelist.whitelistCheck(u,!1)];case 1:_=h.sent();for(S in n){C=[];try{for(M=(v=void 0,Mu(n[S])),k=M.next();!k.done;k=M.next())R=k.value,f[R]&&_.indexOf(f[R].collectionID)>-1&&C.push(R)}catch(g){v={error:g}}finally{try{k&&!k.done&&(c=M.return)&&c.call(M)}finally{if(v)throw v.error}}n[S]=C}return[4,this.ticketStorage.getDecodedTokens(n)];case 2:if(O=h.sent(),nt(2,"issuerTokens: (Outlet.sendTokens)",O),this.redirectCallbackUrl)try{return D=this.redirectCallbackUrl,j=new URLSearchParams(D.hash.substring(1)),j.set(this.getCallbackUrlKey("action"),Zr.GET_ISSUER_TOKENS+"-response"),j.set(this.getCallbackUrlKey("tokens"),JSON.stringify(O)),D.hash="#"+j.toString(),K=D.href,nt(2,"tokens ready. go to: ",K),window.location.href=K,[2]}catch(g){nt(2,"Requestor redirect Error. ",g)}return this.sendMessageResponse({evtid:t,evt:cc.ISSUER_TOKENS,data:{tokens:O}}),[2]}})})},e.prototype.sendErrorResponse=function(t,n,f,i){if(i===void 0&&(i="error"),this.redirectCallbackUrl){var a=this.redirectCallbackUrl,o=new URLSearchParams(a.hash.substring(1));o.set(this.getCallbackUrlKey("action"),Nf.ERROR),o.set(this.getCallbackUrlKey("issuer"),f),o.set(this.getCallbackUrlKey("type"),i),o.set(this.getCallbackUrlKey("error"),n),a.hash="#"+o.toString(),window.location.href=a.href;return}this.sendMessageResponse({evtid:t,evt:Nf.ERROR,errors:[n]})},e.prototype.proofRedirectError=function(t,n){var f=this.redirectCallbackUrl,i=new URLSearchParams(f.hash.substring(1));i.set(this.getCallbackUrlKey("action"),"proof-callback"),i.set(this.getCallbackUrlKey("issuer"),t),i.set(this.getCallbackUrlKey("error"),n),f.hash=i.toString(),window.location.href=f.href},e.prototype.sendMessageResponse=function(t){if(!!document.referrer){var n;window.opener&&window.opener!==window?n=window.opener:window.parent!==window&&(n=window.parent),n&&n.postMessage(t,"*")}},e})(uc);const gre=r=>(NA("data-v-9dacf319"),r=r(),UA(),r),vre=gre(()=>Vt("img",{alt:"Vue logo",class:"logo",src:EB,width:"125",height:"125"},null,-1)),mre={class:"wrapper"},xre=rr("Home"),wre=rr("About"),_re={__name:"App",setup(r){const e=jc({client:void 0});return VA(()=>{e.client=new ure({type:"active",issuers:[{collectionID:"penthouse-panther-club",collectionAddress:"ff846ef2eed57e5367cf8826e63f4d53fe28d28aa67417accb6e4b48cbd19136",onChain:!0,collectionSymbol:"PPC",chain:"mainnet",blockchain:"solana"},{collectionID:"pixel",collectionAddress:"166424b16c4c7f40eb852f9eb2d0d6869a9ed7ac54a8e6afbd516676bfbbeb19",onChain:!0,collectionSymbol:"PIXEL",chain:"mainnet",blockchain:"solana"},{onChain:!0,collectionID:"expansion-punks",contract:"0x0d0167a823c6619d430b1a96ad85b888bcf97c37",chain:"eth",blockchain:"ethereum"},{onChain:!0,collectionID:"Perion",contract:"0x96af92ae2d822a0f191455ceca4d4e7ee227668e",chain:"mumbai",blockchain:"evm"},{collectionID:"COOLCATS-#2426-14",onChain:!0,contract:"0x3C7e352481F4b2fdEc1e642a3f0018661c77513D",chain:"eth",openSeaSlug:"devcon-vi-suit-up-collection"},{collectionID:"Town-Hall",onChain:!0,contract:"0x81b30ff521D1fEB67EDE32db726D95714eb00637",chain:"Optimism"},{collectionID:"Blusteak Kangaroo #64",onChain:!0,contract:"0xa996F7F3BC647EebC98C684aB0A302c9b85d2FA1",chain:"Avalanche"},{collectionID:"Alone Pirate",onChain:!0,contract:"0x36535ec384B94342558e37282527b5052587af6A",chain:"Arbitrum"},{collectionID:"TNM",onChain:!0,contract:"0x3cC6c9c6DC13814c6ba4da3520d2Ae40332A831F",chain:"goerli",fungible:!0},{collectionID:"Tether-USD",onChain:!0,contract:"0xdac17f958d2ee523a2206206994597c13d831ec7",chain:"eth",fungible:!0},{collectionID:"AdEx-Network",onChain:!0,contract:"0xade00c28244d5ce17d72e40330b1c318cd12b7c3",chain:"eth",fungible:!0},{collectionID:"AAVEPool",contract:"0xb7fd3398484ea4eff33e003db4c85d4984f8d62e",fungible:!0,onChain:!0,chain:"polygon"},{collectionID:"Minereum-AVAX",contract:"0xf9d922c055a3f1759299467dafafdf43be844f7a",fungible:!0,onChain:!0,chain:"Avalanche"},{collectionID:"Testv4",contract:"0x499d11e0b6eac7c0593d8fb292dcbbf815fb29ae",fungible:!0,onChain:!0,chain:"goerli"},{collectionID:"Dummy ERC20",contract:"0xfe4f5145f6e09952a5ba9e956ed0c25e3fa4c7f1",fungible:!0,onChain:!0,chain:"mumbai"},{collectionID:"Domains",onChain:!0,contract:"A.233eb012d34b0070.Domains",chain:"mainnet",blockchain:"flow"},{collectionID:"AllDay",onChain:!0,contract:"A.e4cf4bdc1751c65d.AllDay",chain:"mainnet",blockchain:"flow"},{collectionID:"NBA",onChain:!0,contract:"A.0b2a3299cc857e29.TopShot",chain:"mainnet",blockchain:"flow"}],uiOptions:{openingHeading:"Open a new world of perks, benefits and opportunities with your attestation, collectible or token.",issuerHeading:"Get discount with Ticket",repeatAction:"try again",theme:"dark",position:"top-right"},unSupportedUserAgent:{authentication:{config:{metaMaskAndroid:!0,alphaWalletAndroid:!0,mewAndroid:!0,imTokenAndroid:!0},errorMessage:"No Support for Authentication with this user agent. Try Chrome, Safari or Edge instead."},full:{config:{iE:!0,iE9:!0},errorMessage:"This browser is not supported. Please try using Chrome, Edge, FireFox or Safari."}}}),e.client.on("connected-wallet",t=>{console.log("connected wallet",t),e.client.ui.openOverlay()}),e.client.on("tokens-selected",t=>{console.log(t)}),e.client.on("token-proof",t=>{console.log(t)}),e.client.negotiate()}),(t,n)=>(w0(),cf(_i,null,[Vt("header",null,[vre,Vt("div",mre,[_r(CD,{msg:"You did it!"}),Vt("nav",null,[_r(zf(l8),{to:"/"},{default:sn(()=>[xre]),_:1}),_r(zf(l8),{to:"/about"},{default:sn(()=>[wre]),_:1})])])]),_r(zf(vE))],64))}},Are=Ja(_re,[["__scopeId","data-v-9dacf319"]]);const Ere={},Tre={class:"item"},Sre={class:"details"};function kre(r,e){return w0(),cf("div",Tre,[Vt("em",null,[K5(r.$slots,"icon",{},void 0,!0)]),Vt("div",Sre,[Vt("h3",null,[K5(r.$slots,"heading",{},void 0,!0)]),K5(r.$slots,"default",{},void 0,!0)])])}const Pu=Ja(Ere,[["render",kre],["__scopeId","data-v-72623109"]]),Mre={},Pre={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"17",fill:"currentColor"},Ire=Vt("path",{d:"M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"},null,-1),Cre=[Ire];function Rre(r,e){return w0(),cf("svg",Pre,Cre)}const Ore=Ja(Mre,[["render",Rre]]),Bre={},Dre={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",class:"iconify iconify--mdi",width:"24",height:"24",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},Nre=Vt("path",{d:"M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z",fill:"currentColor"},null,-1),Ure=[Nre];function Lre(r,e){return w0(),cf("svg",Dre,Ure)}const Fre=Ja(Bre,[["render",Lre]]),zre={},jre={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"20",fill:"currentColor"},$re=Vt("path",{d:"M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"},null,-1),Vre=[$re];function Hre(r,e){return w0(),cf("svg",jre,Vre)}const Kre=Ja(zre,[["render",Hre]]),qre={},Gre={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor"},Wre=Vt("path",{d:"M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"},null,-1),Qre=[Wre];function Yre(r,e){return w0(),cf("svg",Gre,Qre)}const Zre=Ja(qre,[["render",Yre]]),Jre={},Xre={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor"},ene=Vt("path",{d:"M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"},null,-1),tne=[ene];function rne(r,e){return w0(),cf("svg",Xre,tne)}const nne=Ja(Jre,[["render",rne]]),ine=rr("Documentation"),fne=rr(" Vue\u2019s "),ane=Vt("a",{target:"_blank",href:"https://vuejs.org/",rel:"noopener"},"official documentation",-1),one=rr(" provides you with all information you need to get started. "),sne=rr("Tooling"),cne=rr(" This project is served and bundled with "),lne=Vt("a",{href:"https://vitejs.dev/guide/features.html",target:"_blank",rel:"noopener"},"Vite",-1),une=rr(". The recommended IDE setup is "),dne=Vt("a",{href:"https://code.visualstudio.com/",target:"_blank",rel:"noopener"},"VSCode",-1),hne=rr(" + "),pne=Vt("a",{href:"https://github.com/johnsoncodehk/volar",target:"_blank",rel:"noopener"},"Volar",-1),bne=rr(". If you need to test your components and web pages, check out "),yne=Vt("a",{href:"https://www.cypress.io/",target:"_blank",rel:"noopener"},"Cypress",-1),gne=rr(" and "),vne=Vt("a",{href:"https://on.cypress.io/component",target:"_blank",rel:"noopener"},"Cypress Component Testing",-1),mne=rr(". "),xne=Vt("br",null,null,-1),wne=rr(" More instructions are available in "),_ne=Vt("code",null,"README.md",-1),Ane=rr(". "),Ene=rr("Ecosystem"),Tne=rr(" Get official tools and libraries for your project: "),Sne=Vt("a",{target:"_blank",href:"https://pinia.vuejs.org/",rel:"noopener"},"Pinia",-1),kne=rr(", "),Mne=Vt("a",{target:"_blank",href:"https://router.vuejs.org/",rel:"noopener"},"Vue Router",-1),Pne=rr(", "),Ine=Vt("a",{target:"_blank",href:"https://test-utils.vuejs.org/",rel:"noopener"},"Vue Test Utils",-1),Cne=rr(", and "),Rne=Vt("a",{target:"_blank",href:"https://github.com/vuejs/devtools",rel:"noopener"},"Vue Dev Tools",-1),One=rr(". If you need more resources, we suggest paying "),Bne=Vt("a",{target:"_blank",href:"https://github.com/vuejs/awesome-vue",rel:"noopener"},"Awesome Vue",-1),Dne=rr(" a visit. "),Nne=rr("Community"),Une=rr(" Got stuck? Ask your question on "),Lne=Vt("a",{target:"_blank",href:"https://chat.vuejs.org",rel:"noopener"},"Vue Land",-1),Fne=rr(", our official Discord server, or "),zne=Vt("a",{target:"_blank",href:"https://stackoverflow.com/questions/tagged/vue.js",rel:"noopener"},"StackOverflow",-1),jne=rr(". You should also subscribe to "),$ne=Vt("a",{target:"_blank",href:"https://news.vuejs.org",rel:"noopener"},"our mailing list",-1),Vne=rr(" and follow the official "),Hne=Vt("a",{target:"_blank",href:"https://twitter.com/vuejs",rel:"noopener"},"@vuejs",-1),Kne=rr(" twitter account for latest news in the Vue world. "),qne=rr("Support Vue"),Gne=rr(" As an independent project, Vue relies on community backing for its sustainability. You can help us by "),Wne=Vt("a",{target:"_blank",href:"https://vuejs.org/sponsor/",rel:"noopener"},"becoming a sponsor",-1),Qne=rr(". "),Yne={__name:"TheWelcome",setup(r){return(e,t)=>(w0(),cf(_i,null,[_r(Pu,null,{icon:sn(()=>[_r(Ore)]),heading:sn(()=>[ine]),default:sn(()=>[fne,ane,one]),_:1}),_r(Pu,null,{icon:sn(()=>[_r(Fre)]),heading:sn(()=>[sne]),default:sn(()=>[cne,lne,une,dne,hne,pne,bne,yne,gne,vne,mne,xne,wne,_ne,Ane]),_:1}),_r(Pu,null,{icon:sn(()=>[_r(Kre)]),heading:sn(()=>[Ene]),default:sn(()=>[Tne,Sne,kne,Mne,Pne,Ine,Cne,Rne,One,Bne,Dne]),_:1}),_r(Pu,null,{icon:sn(()=>[_r(Zre)]),heading:sn(()=>[Nne]),default:sn(()=>[Une,Lne,Fne,zne,jne,$ne,Vne,Hne,Kne]),_:1}),_r(Pu,null,{icon:sn(()=>[_r(nne)]),heading:sn(()=>[qne]),default:sn(()=>[Gne,Wne,Qne]),_:1})],64))}},Zne={__name:"HomeView",setup(r){return(e,t)=>(w0(),cf("main",null,[_r(Yne)]))}},Jne=ED({history:$B("/token-negotiator-examples/vue-vite-boilerplate/"),routes:[{path:"/",name:"home",component:Zne},{path:"/about",name:"about",component:()=>F0(()=>import("./AboutView.e6f35452.js"),["assets/AboutView.e6f35452.js","assets/AboutView.4d995ba2.css"])}]});const rR=_B(Are);rR.use(Jne);rR.mount("#app");export{Ja as _,Vt as a,ge as b,cf as c,JX as d,Iq as e,FP as f,Rr as g,aa as h,zP as i,fG as j,e5 as k,A6 as l,lie as m,cie as n,w0 as o,eie as p,_0 as r,Cq as t}; + `);document.body.insertAdjacentHTML("beforeend",s),document.getElementById("tn-access-accept").addEventListener("click",function(){var y,x,_,S=document.getElementsByClassName("tn-permission-cb"),C=[];try{for(var M=Tu(S),k=M.next();!k.done;k=M.next()){var R=k.value,O=R.getAttribute("data-issuer");!((_=n.storedWhitelist[e])===null||_===void 0)&&_.issuers||(n.storedWhitelist[e]={issuers:[]}),R.checked&&C.push(O)}}catch(D){y={error:D}}finally{try{k&&!k.done&&(x=M.return)&&x.call(M)}finally{if(y)throw y.error}}n.storedWhitelist[e].issuers=C,n.saveWhitelist(),f()});var u=function(){n.storedWhitelist[e]&&delete n.storedWhitelist[e],n.saveWhitelist(),jQ("tn-user-denied-access-to-connection",!0,10)};document.getElementById("tn-access-deny").addEventListener("click",function(){u(),i(new Error("USER_ABORT"))}),n.showWhitelistCallback()})},r.STORAGE_KEY="tn-whitelist",r}(),dre=globalThis&&globalThis.__extends||function(){var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,f){n.__proto__=f}||function(n,f){for(var i in f)Object.prototype.hasOwnProperty.call(f,i)&&(n[i]=f[i])},r(e,t)};return function(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");r(e,t);function n(){this.constructor=e}e.prototype=t===null?Object.create(t):(n.prototype=t.prototype,new n)}}(),ug=globalThis&&globalThis.__assign||function(){return ug=Object.assign||function(r){for(var e,t=1,n=arguments.length;t0&&i[i.length-1])&&(s[0]===6||s[0]===2)){t=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")},hre={whitelistDialogWidth:"450px",whitelistDialogHeight:"350px"},xh={max_width:typeof window<"u"&&window.innerWidth<700?"400px":"450px",min_height:typeof window<"u"&&window.innerHeight<600?"600px":"650px"};(function(r){dre(e,r);function e(t,n){n===void 0&&(n=null);var f=r.call(this,t)||this;if(f.tokenConfig=t,f.tokenConfig=Object.assign(hre,t),f.whitelist=new ure(f.tokenConfig,function(){var a=f.getDataFromQuery("evtid");f.sendMessageResponse({evtid:a,evt:Nf.SHOW_FRAME,max_width:f.tokenConfig.whitelistDialogWidth,min_height:f.tokenConfig.whitelistDialogHeight})}),n)f.urlParams=n;else{var i=window.location.hash.length>1?"?"+window.location.hash.substring(1):window.location.search;f.urlParams=new URLSearchParams(i)}return f.pageOnLoadEventHandler().catch(function(a){console.error(a),nt(2,"Outlet pageOnLoadEventHandler error: "+a.message)}),f}return e.prototype.getDataFromQuery=function(t){return this.urlParams?this.urlParams.has(Bn+t)?this.urlParams.get(Bn+t):this.urlParams.get(t):null},e.prototype.getCallbackUrlKey=function(t){return Bn+t},e.prototype.pageOnLoadEventHandler=function(){var t;return Su(this,void 0,void 0,function(){var n,f,i,a,o;return ku(this,function(l){switch(l.label){case 0:n=this.getDataFromQuery("evtid"),f=this.getDataFromQuery("action"),i=this.getDataFromQuery("requestor"),i&&(this.redirectCallbackUrl=new URL(i)),nt(2,"Outlet received event ID "+n+" action "+f+" at "+window.location.href),l.label=1;case 1:switch(l.trys.push([1,15,,16]),a=f,a){case Zr.GET_ISSUER_TOKENS:return[3,2];case Zr.EMAIL_ATTEST_CALLBACK:return[3,4];case Zr.GET_PROOF:return[3,6];case Zr.GET_MUTLI_PROOF:return[3,8]}return[3,10];case 2:return[4,this.sendTokens(n)];case 3:return l.sent(),[3,14];case 4:return this.getDataFromQuery("localClient")==="true"?[2]:[4,this.processAttestationIdCallback(n)];case 5:return l.sent(),[3,14];case 6:return[4,this.sendTokenProof(n)];case 7:return l.sent(),[3,14];case 8:return[4,this.sendMultiTokenProof(n)];case 9:return l.sent(),[3,14];case 10:return this.getDataFromQuery("ticket")?[4,this.readMagicLink()]:[3,13];case 11:return l.sent(),[4,this.sendTokens(n)];case 12:l.sent(),l.label=13;case 13:return[3,14];case 14:return[3,16];case 15:return o=l.sent(),console.error(o),this.sendErrorResponse(n,(t=o?.message)!==null&&t!==void 0?t:o,this.getDataFromQuery("issuer")),[3,16];case 16:return[2]}})})},e.prototype.processAttestationIdCallback=function(t){var n=this.redirectCallbackUrl,f=this.getDataFromQuery("issuer");try{var i=new z1;i.captureAttestationIdCallback(this.urlParams);var a=this.getDataFromQuery("orig-action");switch(a){case Zr.GET_PROOF:this.sendTokenProof(t);break;case Zr.GET_MUTLI_PROOF:this.sendMultiTokenProof(t);break;default:throw new Error("Original action not defined in attestation.id callback")}}catch(o){if(console.error(o),n)return this.proofRedirectError(f,o.message)}window.location.hash=W8(this.urlParams,["attestation","requestSecret","address","wallet"]).toString()},e.prototype.getIssuerConfigById=function(t){var n,f;if(this.tokenConfig.issuers){try{for(var i=Mu(this.tokenConfig.issuers),a=i.next();!a.done;a=i.next()){var o=a.value;if(o.collectionID===t)return o}}catch(l){n={error:l}}finally{try{a&&!a.done&&(f=i.return)&&f.call(i)}finally{if(n)throw n.error}}throw new Error("Issuer "+t+" not found")}},e.prototype.readMagicLink=function(){return Su(this,void 0,void 0,function(){return ku(this,function(t){switch(t.label){case 0:return this.urlParams.has("ticket")?[4,this.ticketStorage.importTicketFromMagicLink(this.urlParams)]:[2];case 1:return t.sent(),[2]}})})},e.prototype.sendMultiTokenProof=function(t){return Su(this,void 0,void 0,function(){var n,f,i,a,o,l,s,u,y,x=this;return ku(this,function(_){switch(_.label){case 0:n=this.getDataFromQuery("tokens"),f=this.getDataFromQuery("wallet"),i=this.getDataFromQuery("address"),Ea(n,"unsigned token is missing"),a=this.getDataFromQuery("redirect")==="true"?window.location.href:!1,_.label=1;case 1:return _.trys.push([1,3,,4]),o=JSON.parse(n),[4,this.authenticateMany(o,i,f,a,function(){x.sendMessageResponse({evtid:t,evt:Nf.SHOW_FRAME,max_width:xh.max_width,min_height:xh.min_height})})];case 2:return l=_.sent(),this.redirectCallbackUrl?(s=this.redirectCallbackUrl,u=new URLSearchParams(s.hash.substring(1)),u.set(this.getCallbackUrlKey("action"),"proof-callback"),u.set(this.getCallbackUrlKey("multi-token"),"true"),u.set(this.getCallbackUrlKey("tokens"),JSON.stringify(l)),s.hash=u.toString(),window.location.href=s.href,[2]):(this.sendMessageResponse({evtid:t,evt:cc.PROOF,data:l}),[3,4]);case 3:return y=_.sent(),nt(2,y),a?[2,this.proofRedirectError(this.getDataFromQuery("issuer"),y.message)]:(this.sendErrorResponse(t,y.message),[3,4]);case 4:return[2]}})})},e.prototype.sendTokenProof=function(t){return Su(this,void 0,void 0,function(){var n,f,i,a,o,l,s,u,y,x,_,S,C,M,k=this;return ku(this,function(R){switch(R.label){case 0:n=this.getDataFromQuery("issuer"),f=this.getDataFromQuery("token"),i=this.getDataFromQuery("wallet"),a=this.getDataFromQuery("address"),Ea(f,"unsigned token is missing"),o=JSON.parse(f),l=this.getDataFromQuery("redirect")==="true"?window.location.href:!1,R.label=1;case 1:return R.trys.push([1,5,,6]),s=this.getIssuerConfigById(n),[4,this.ticketStorage.getStoredTicketFromDecodedTokenOrId(Wa(s),o)];case 2:return u=R.sent(),y=new z1(s.attestationOrigin,function(){k.sendMessageResponse({evtid:t,evt:Nf.SHOW_FRAME,max_width:xh.max_width,min_height:xh.min_height})},l),[4,y.getIdentifierAttestation(u.id,i,a,{action:Zr.GET_PROOF,issuer:n,token:JSON.stringify(o)})];case 3:return x=R.sent(),[4,lg(s,x.attestation,x.identifierSecret,u)];case 4:return _=R.sent(),this.redirectCallbackUrl?(S=this.redirectCallbackUrl,C=new URLSearchParams(S.hash.substring(1)),C.set(this.getCallbackUrlKey("action"),"proof-callback"),C.set(this.getCallbackUrlKey("issuer"),n),C.set(this.getCallbackUrlKey("attestation"),_.proof),C.set(this.getCallbackUrlKey("type"),u.type),C.set(this.getCallbackUrlKey("token"),f),S.hash=C.toString(),window.location.href=S.href,[2]):(this.sendMessageResponse({evtid:t,evt:cc.PROOF,data:ug({issuer:s.collectionID},_)}),[3,6]);case 5:return M=R.sent(),nt(2,M),l?[2,this.proofRedirectError(this.getDataFromQuery("issuer"),M.message)]:(this.sendErrorResponse(t,M.message),[3,6]);case 6:return[2]}})})},e.prototype.sendTokens=function(t){return Su(this,void 0,void 0,function(){var n,f,i,a,S,o,l,s,R,u,S,y,x,R,_,S,C,M,k,R,O,D,j,K,Z,te,se,he,F,P,v,c;return ku(this,function(h){switch(h.label){case 0:if(n=JSON.parse(this.getDataFromQuery("request")),!n)return[2];f={};try{for(i=Mu(this.tokenConfig.issuers),a=i.next();!a.done;a=i.next()){S=a.value,o=Wa(S);try{for(l=(se=void 0,Mu(o)),s=l.next();!s.done;s=l.next())R=s.value,f[R]=S}catch(g){se={error:g}}finally{try{s&&!s.done&&(he=l.return)&&he.call(l)}finally{if(se)throw se.error}}}}catch(g){Z={error:g}}finally{try{a&&!a.done&&(te=i.return)&&te.call(i)}finally{if(Z)throw Z.error}}u=[];for(S in n)try{for(y=(F=void 0,Mu(n[S])),x=y.next();!x.done;x=y.next())R=x.value,f[R]&&u.indexOf(f[R])===-1&&u.push(f[R])}catch(g){F={error:g}}finally{try{x&&!x.done&&(P=y.return)&&P.call(y)}finally{if(F)throw F.error}}return[4,this.whitelist.whitelistCheck(u,!1)];case 1:_=h.sent();for(S in n){C=[];try{for(M=(v=void 0,Mu(n[S])),k=M.next();!k.done;k=M.next())R=k.value,f[R]&&_.indexOf(f[R].collectionID)>-1&&C.push(R)}catch(g){v={error:g}}finally{try{k&&!k.done&&(c=M.return)&&c.call(M)}finally{if(v)throw v.error}}n[S]=C}return[4,this.ticketStorage.getDecodedTokens(n)];case 2:if(O=h.sent(),nt(2,"issuerTokens: (Outlet.sendTokens)",O),this.redirectCallbackUrl)try{return D=this.redirectCallbackUrl,j=new URLSearchParams(D.hash.substring(1)),j.set(this.getCallbackUrlKey("action"),Zr.GET_ISSUER_TOKENS+"-response"),j.set(this.getCallbackUrlKey("tokens"),JSON.stringify(O)),D.hash="#"+j.toString(),K=D.href,nt(2,"tokens ready. go to: ",K),window.location.href=K,[2]}catch(g){nt(2,"Requestor redirect Error. ",g)}return this.sendMessageResponse({evtid:t,evt:cc.ISSUER_TOKENS,data:{tokens:O}}),[2]}})})},e.prototype.sendErrorResponse=function(t,n,f,i){if(i===void 0&&(i="error"),this.redirectCallbackUrl){var a=this.redirectCallbackUrl,o=new URLSearchParams(a.hash.substring(1));o.set(this.getCallbackUrlKey("action"),Nf.ERROR),o.set(this.getCallbackUrlKey("issuer"),f),o.set(this.getCallbackUrlKey("type"),i),o.set(this.getCallbackUrlKey("error"),n),a.hash="#"+o.toString(),window.location.href=a.href;return}this.sendMessageResponse({evtid:t,evt:Nf.ERROR,errors:[n]})},e.prototype.proofRedirectError=function(t,n){var f=this.redirectCallbackUrl,i=new URLSearchParams(f.hash.substring(1));i.set(this.getCallbackUrlKey("action"),"proof-callback"),i.set(this.getCallbackUrlKey("issuer"),t),i.set(this.getCallbackUrlKey("error"),n),f.hash=i.toString(),window.location.href=f.href},e.prototype.sendMessageResponse=function(t){if(!!document.referrer){var n;window.opener&&window.opener!==window?n=window.opener:window.parent!==window&&(n=window.parent),n&&n.postMessage(t,"*")}},e})(uc);const pre=r=>(RA("data-v-9dacf319"),r=r(),OA(),r),bre=pre(()=>Vt("img",{alt:"Vue logo",class:"logo",src:xB,width:"125",height:"125"},null,-1)),yre={class:"wrapper"},gre=rr("Home"),vre=rr("About"),mre={__name:"App",setup(r){const e=jc({client:void 0});return FA(()=>{e.client=new sre({type:"active",issuers:[{collectionID:"penthouse-panther-club",collectionAddress:"ff846ef2eed57e5367cf8826e63f4d53fe28d28aa67417accb6e4b48cbd19136",onChain:!0,collectionSymbol:"PPC",chain:"mainnet",blockchain:"solana"},{collectionID:"pixel",collectionAddress:"166424b16c4c7f40eb852f9eb2d0d6869a9ed7ac54a8e6afbd516676bfbbeb19",onChain:!0,collectionSymbol:"PIXEL",chain:"mainnet",blockchain:"solana"},{onChain:!0,collectionID:"expansion-punks",contract:"0x0d0167a823c6619d430b1a96ad85b888bcf97c37",chain:"eth",blockchain:"ethereum"},{onChain:!0,collectionID:"Perion",contract:"0x96af92ae2d822a0f191455ceca4d4e7ee227668e",chain:"mumbai",blockchain:"evm"},{collectionID:"COOLCATS-#2426-14",onChain:!0,contract:"0x3C7e352481F4b2fdEc1e642a3f0018661c77513D",chain:"eth",openSeaSlug:"devcon-vi-suit-up-collection"},{collectionID:"Town-Hall",onChain:!0,contract:"0x81b30ff521D1fEB67EDE32db726D95714eb00637",chain:"Optimism"},{collectionID:"Blusteak Kangaroo #64",onChain:!0,contract:"0xa996F7F3BC647EebC98C684aB0A302c9b85d2FA1",chain:"Avalanche"},{collectionID:"Alone Pirate",onChain:!0,contract:"0x36535ec384B94342558e37282527b5052587af6A",chain:"Arbitrum"},{collectionID:"TNM",onChain:!0,contract:"0x3cC6c9c6DC13814c6ba4da3520d2Ae40332A831F",chain:"goerli",fungible:!0},{collectionID:"Tether-USD",onChain:!0,contract:"0xdac17f958d2ee523a2206206994597c13d831ec7",chain:"eth",fungible:!0},{collectionID:"AdEx-Network",onChain:!0,contract:"0xade00c28244d5ce17d72e40330b1c318cd12b7c3",chain:"eth",fungible:!0},{collectionID:"AAVEPool",contract:"0xb7fd3398484ea4eff33e003db4c85d4984f8d62e",fungible:!0,onChain:!0,chain:"polygon"},{collectionID:"Minereum-AVAX",contract:"0xf9d922c055a3f1759299467dafafdf43be844f7a",fungible:!0,onChain:!0,chain:"Avalanche"},{collectionID:"Testv4",contract:"0x499d11e0b6eac7c0593d8fb292dcbbf815fb29ae",fungible:!0,onChain:!0,chain:"goerli"},{collectionID:"Dummy ERC20",contract:"0xfe4f5145f6e09952a5ba9e956ed0c25e3fa4c7f1",fungible:!0,onChain:!0,chain:"mumbai"},{collectionID:"Domains",onChain:!0,contract:"A.233eb012d34b0070.Domains",chain:"mainnet",blockchain:"flow"},{collectionID:"AllDay",onChain:!0,contract:"A.e4cf4bdc1751c65d.AllDay",chain:"mainnet",blockchain:"flow"},{collectionID:"NBA",onChain:!0,contract:"A.0b2a3299cc857e29.TopShot",chain:"mainnet",blockchain:"flow"}],uiOptions:{openingHeading:"Open a new world of perks, benefits and opportunities with your attestation, collectible or token.",issuerHeading:"Get discount with Ticket",repeatAction:"try again",theme:"dark",position:"top-right"},unSupportedUserAgent:{authentication:{config:{metaMaskAndroid:!0,alphaWalletAndroid:!0,mewAndroid:!0,imTokenAndroid:!0},errorMessage:"No Support for Authentication with this user agent. Try Chrome, Safari or Edge instead."},full:{config:{iE:!0,iE9:!0},errorMessage:"This browser is not supported. Please try using Chrome, Edge, FireFox or Safari."}}}),e.client.on("connected-wallet",t=>{console.log("connected wallet",t),e.client.ui.openOverlay()}),e.client.on("tokens-selected",t=>{console.log(t)}),e.client.on("token-proof",t=>{console.log(t)}),e.client.negotiate()}),(t,n)=>(w0(),cf(_i,null,[Vt("header",null,[bre,Vt("div",yre,[_r(kD,{msg:"You did it!"}),Vt("nav",null,[_r(zf(s8),{to:"/"},{default:sn(()=>[gre]),_:1}),_r(zf(s8),{to:"/about"},{default:sn(()=>[vre]),_:1})])])]),_r(zf(pE))],64))}},xre=Ja(mre,[["__scopeId","data-v-9dacf319"]]);const wre={},_re={class:"item"},Are={class:"details"};function Ere(r,e){return w0(),cf("div",_re,[Vt("em",null,[K5(r.$slots,"icon",{},void 0,!0)]),Vt("div",Are,[Vt("h3",null,[K5(r.$slots,"heading",{},void 0,!0)]),K5(r.$slots,"default",{},void 0,!0)])])}const Pu=Ja(wre,[["render",Ere],["__scopeId","data-v-72623109"]]),Tre={},Sre={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"17",fill:"currentColor"},kre=Vt("path",{d:"M11 2.253a1 1 0 1 0-2 0h2zm-2 13a1 1 0 1 0 2 0H9zm.447-12.167a1 1 0 1 0 1.107-1.666L9.447 3.086zM1 2.253L.447 1.42A1 1 0 0 0 0 2.253h1zm0 13H0a1 1 0 0 0 1.553.833L1 15.253zm8.447.833a1 1 0 1 0 1.107-1.666l-1.107 1.666zm0-14.666a1 1 0 1 0 1.107 1.666L9.447 1.42zM19 2.253h1a1 1 0 0 0-.447-.833L19 2.253zm0 13l-.553.833A1 1 0 0 0 20 15.253h-1zm-9.553-.833a1 1 0 1 0 1.107 1.666L9.447 14.42zM9 2.253v13h2v-13H9zm1.553-.833C9.203.523 7.42 0 5.5 0v2c1.572 0 2.961.431 3.947 1.086l1.107-1.666zM5.5 0C3.58 0 1.797.523.447 1.42l1.107 1.666C2.539 2.431 3.928 2 5.5 2V0zM0 2.253v13h2v-13H0zm1.553 13.833C2.539 15.431 3.928 15 5.5 15v-2c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM5.5 15c1.572 0 2.961.431 3.947 1.086l1.107-1.666C9.203 13.523 7.42 13 5.5 13v2zm5.053-11.914C11.539 2.431 12.928 2 14.5 2V0c-1.92 0-3.703.523-5.053 1.42l1.107 1.666zM14.5 2c1.573 0 2.961.431 3.947 1.086l1.107-1.666C18.203.523 16.421 0 14.5 0v2zm3.5.253v13h2v-13h-2zm1.553 12.167C18.203 13.523 16.421 13 14.5 13v2c1.573 0 2.961.431 3.947 1.086l1.107-1.666zM14.5 13c-1.92 0-3.703.523-5.053 1.42l1.107 1.666C11.539 15.431 12.928 15 14.5 15v-2z"},null,-1),Mre=[kre];function Pre(r,e){return w0(),cf("svg",Sre,Mre)}const Ire=Ja(Tre,[["render",Pre]]),Cre={},Rre={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":"true",role:"img",class:"iconify iconify--mdi",width:"24",height:"24",preserveAspectRatio:"xMidYMid meet",viewBox:"0 0 24 24"},Ore=Vt("path",{d:"M20 18v-4h-3v1h-2v-1H9v1H7v-1H4v4h16M6.33 8l-1.74 4H7v-1h2v1h6v-1h2v1h2.41l-1.74-4H6.33M9 5v1h6V5H9m12.84 7.61c.1.22.16.48.16.8V18c0 .53-.21 1-.6 1.41c-.4.4-.85.59-1.4.59H4c-.55 0-1-.19-1.4-.59C2.21 19 2 18.53 2 18v-4.59c0-.32.06-.58.16-.8L4.5 7.22C4.84 6.41 5.45 6 6.33 6H7V5c0-.55.18-1 .57-1.41C7.96 3.2 8.44 3 9 3h6c.56 0 1.04.2 1.43.59c.39.41.57.86.57 1.41v1h.67c.88 0 1.49.41 1.83 1.22l2.34 5.39z",fill:"currentColor"},null,-1),Bre=[Ore];function Dre(r,e){return w0(),cf("svg",Rre,Bre)}const Nre=Ja(Cre,[["render",Dre]]),Ure={},Lre={xmlns:"http://www.w3.org/2000/svg",width:"18",height:"20",fill:"currentColor"},Fre=Vt("path",{d:"M11.447 8.894a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm0 1.789a1 1 0 1 0 .894-1.789l-.894 1.789zM7.447 7.106a1 1 0 1 0-.894 1.789l.894-1.789zM10 9a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0H8zm9.447-5.606a1 1 0 1 0-.894-1.789l.894 1.789zm-2.894-.789a1 1 0 1 0 .894 1.789l-.894-1.789zm2 .789a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zM18 5a1 1 0 1 0-2 0h2zm-2 2.5a1 1 0 1 0 2 0h-2zm-5.447-4.606a1 1 0 1 0 .894-1.789l-.894 1.789zM9 1l.447-.894a1 1 0 0 0-.894 0L9 1zm-2.447.106a1 1 0 1 0 .894 1.789l-.894-1.789zm-6 3a1 1 0 1 0 .894 1.789L.553 4.106zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zm-2-.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 2.789a1 1 0 1 0 .894-1.789l-.894 1.789zM2 5a1 1 0 1 0-2 0h2zM0 7.5a1 1 0 1 0 2 0H0zm8.553 12.394a1 1 0 1 0 .894-1.789l-.894 1.789zm-1.106-2.789a1 1 0 1 0-.894 1.789l.894-1.789zm1.106 1a1 1 0 1 0 .894 1.789l-.894-1.789zm2.894.789a1 1 0 1 0-.894-1.789l.894 1.789zM8 19a1 1 0 1 0 2 0H8zm2-2.5a1 1 0 1 0-2 0h2zm-7.447.394a1 1 0 1 0 .894-1.789l-.894 1.789zM1 15H0a1 1 0 0 0 .553.894L1 15zm1-2.5a1 1 0 1 0-2 0h2zm12.553 2.606a1 1 0 1 0 .894 1.789l-.894-1.789zM17 15l.447.894A1 1 0 0 0 18 15h-1zm1-2.5a1 1 0 1 0-2 0h2zm-7.447-5.394l-2 1 .894 1.789 2-1-.894-1.789zm-1.106 1l-2-1-.894 1.789 2 1 .894-1.789zM8 9v2.5h2V9H8zm8.553-4.894l-2 1 .894 1.789 2-1-.894-1.789zm.894 0l-2-1-.894 1.789 2 1 .894-1.789zM16 5v2.5h2V5h-2zm-4.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zm-2.894-1l-2 1 .894 1.789 2-1L8.553.106zM1.447 5.894l2-1-.894-1.789-2 1 .894 1.789zm-.894 0l2 1 .894-1.789-2-1-.894 1.789zM0 5v2.5h2V5H0zm9.447 13.106l-2-1-.894 1.789 2 1 .894-1.789zm0 1.789l2-1-.894-1.789-2 1 .894 1.789zM10 19v-2.5H8V19h2zm-6.553-3.894l-2-1-.894 1.789 2 1 .894-1.789zM2 15v-2.5H0V15h2zm13.447 1.894l2-1-.894-1.789-2 1 .894 1.789zM18 15v-2.5h-2V15h2z"},null,-1),zre=[Fre];function jre(r,e){return w0(),cf("svg",Lre,zre)}const $re=Ja(Ure,[["render",jre]]),Vre={},Hre={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor"},Kre=Vt("path",{d:"M15 4a1 1 0 1 0 0 2V4zm0 11v-1a1 1 0 0 0-1 1h1zm0 4l-.707.707A1 1 0 0 0 16 19h-1zm-4-4l.707-.707A1 1 0 0 0 11 14v1zm-4.707-1.293a1 1 0 0 0-1.414 1.414l1.414-1.414zm-.707.707l-.707-.707.707.707zM9 11v-1a1 1 0 0 0-.707.293L9 11zm-4 0h1a1 1 0 0 0-1-1v1zm0 4H4a1 1 0 0 0 1.707.707L5 15zm10-9h2V4h-2v2zm2 0a1 1 0 0 1 1 1h2a3 3 0 0 0-3-3v2zm1 1v6h2V7h-2zm0 6a1 1 0 0 1-1 1v2a3 3 0 0 0 3-3h-2zm-1 1h-2v2h2v-2zm-3 1v4h2v-4h-2zm1.707 3.293l-4-4-1.414 1.414 4 4 1.414-1.414zM11 14H7v2h4v-2zm-4 0c-.276 0-.525-.111-.707-.293l-1.414 1.414C5.42 15.663 6.172 16 7 16v-2zm-.707 1.121l3.414-3.414-1.414-1.414-3.414 3.414 1.414 1.414zM9 12h4v-2H9v2zm4 0a3 3 0 0 0 3-3h-2a1 1 0 0 1-1 1v2zm3-3V3h-2v6h2zm0-6a3 3 0 0 0-3-3v2a1 1 0 0 1 1 1h2zm-3-3H3v2h10V0zM3 0a3 3 0 0 0-3 3h2a1 1 0 0 1 1-1V0zM0 3v6h2V3H0zm0 6a3 3 0 0 0 3 3v-2a1 1 0 0 1-1-1H0zm3 3h2v-2H3v2zm1-1v4h2v-4H4zm1.707 4.707l.586-.586-1.414-1.414-.586.586 1.414 1.414z"},null,-1),qre=[Kre];function Gre(r,e){return w0(),cf("svg",Hre,qre)}const Wre=Ja(Vre,[["render",Gre]]),Qre={},Yre={xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",fill:"currentColor"},Zre=Vt("path",{d:"M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.666.105 5.5 5.5 0 0 0-.114 7.665L10 18.78l8.39-8.4a5.5 5.5 0 0 0-.114-7.665 5.5 5.5 0 0 0-7.666-.105l-.61.61z"},null,-1),Jre=[Zre];function Xre(r,e){return w0(),cf("svg",Yre,Jre)}const ene=Ja(Qre,[["render",Xre]]),tne=rr("Documentation"),rne=rr(" Vue\u2019s "),nne=Vt("a",{target:"_blank",href:"https://vuejs.org/",rel:"noopener"},"official documentation",-1),ine=rr(" provides you with all information you need to get started. "),fne=rr("Tooling"),ane=rr(" This project is served and bundled with "),one=Vt("a",{href:"https://vitejs.dev/guide/features.html",target:"_blank",rel:"noopener"},"Vite",-1),sne=rr(". The recommended IDE setup is "),cne=Vt("a",{href:"https://code.visualstudio.com/",target:"_blank",rel:"noopener"},"VSCode",-1),lne=rr(" + "),une=Vt("a",{href:"https://github.com/johnsoncodehk/volar",target:"_blank",rel:"noopener"},"Volar",-1),dne=rr(". If you need to test your components and web pages, check out "),hne=Vt("a",{href:"https://www.cypress.io/",target:"_blank",rel:"noopener"},"Cypress",-1),pne=rr(" and "),bne=Vt("a",{href:"https://on.cypress.io/component",target:"_blank",rel:"noopener"},"Cypress Component Testing",-1),yne=rr(". "),gne=Vt("br",null,null,-1),vne=rr(" More instructions are available in "),mne=Vt("code",null,"README.md",-1),xne=rr(". "),wne=rr("Ecosystem"),_ne=rr(" Get official tools and libraries for your project: "),Ane=Vt("a",{target:"_blank",href:"https://pinia.vuejs.org/",rel:"noopener"},"Pinia",-1),Ene=rr(", "),Tne=Vt("a",{target:"_blank",href:"https://router.vuejs.org/",rel:"noopener"},"Vue Router",-1),Sne=rr(", "),kne=Vt("a",{target:"_blank",href:"https://test-utils.vuejs.org/",rel:"noopener"},"Vue Test Utils",-1),Mne=rr(", and "),Pne=Vt("a",{target:"_blank",href:"https://github.com/vuejs/devtools",rel:"noopener"},"Vue Dev Tools",-1),Ine=rr(". If you need more resources, we suggest paying "),Cne=Vt("a",{target:"_blank",href:"https://github.com/vuejs/awesome-vue",rel:"noopener"},"Awesome Vue",-1),Rne=rr(" a visit. "),One=rr("Community"),Bne=rr(" Got stuck? Ask your question on "),Dne=Vt("a",{target:"_blank",href:"https://chat.vuejs.org",rel:"noopener"},"Vue Land",-1),Nne=rr(", our official Discord server, or "),Une=Vt("a",{target:"_blank",href:"https://stackoverflow.com/questions/tagged/vue.js",rel:"noopener"},"StackOverflow",-1),Lne=rr(". You should also subscribe to "),Fne=Vt("a",{target:"_blank",href:"https://news.vuejs.org",rel:"noopener"},"our mailing list",-1),zne=rr(" and follow the official "),jne=Vt("a",{target:"_blank",href:"https://twitter.com/vuejs",rel:"noopener"},"@vuejs",-1),$ne=rr(" twitter account for latest news in the Vue world. "),Vne=rr("Support Vue"),Hne=rr(" As an independent project, Vue relies on community backing for its sustainability. You can help us by "),Kne=Vt("a",{target:"_blank",href:"https://vuejs.org/sponsor/",rel:"noopener"},"becoming a sponsor",-1),qne=rr(". "),Gne={__name:"TheWelcome",setup(r){return(e,t)=>(w0(),cf(_i,null,[_r(Pu,null,{icon:sn(()=>[_r(Ire)]),heading:sn(()=>[tne]),default:sn(()=>[rne,nne,ine]),_:1}),_r(Pu,null,{icon:sn(()=>[_r(Nre)]),heading:sn(()=>[fne]),default:sn(()=>[ane,one,sne,cne,lne,une,dne,hne,pne,bne,yne,gne,vne,mne,xne]),_:1}),_r(Pu,null,{icon:sn(()=>[_r($re)]),heading:sn(()=>[wne]),default:sn(()=>[_ne,Ane,Ene,Tne,Sne,kne,Mne,Pne,Ine,Cne,Rne]),_:1}),_r(Pu,null,{icon:sn(()=>[_r(Wre)]),heading:sn(()=>[One]),default:sn(()=>[Bne,Dne,Nne,Une,Lne,Fne,zne,jne,$ne]),_:1}),_r(Pu,null,{icon:sn(()=>[_r(ene)]),heading:sn(()=>[Vne]),default:sn(()=>[Hne,Kne,qne]),_:1})],64))}},Wne={__name:"HomeView",setup(r){return(e,t)=>(w0(),cf("main",null,[_r(Gne)]))}},Qne=xD({history:LB("/token-negotiator-examples/vue-vite-boilerplate/"),routes:[{path:"/",name:"home",component:Wne},{path:"/about",name:"about",component:()=>F0(()=>import("./AboutView.2129ee57.js"),["assets/AboutView.2129ee57.js","assets/AboutView.4d995ba2.css"])}]});const JC=vB(xre);JC.use(Qne);JC.mount("#app");export{Ja as _,Vt as a,ge as b,cf as c,QX as d,kq as e,DP as f,Rr as g,aa as h,NP as i,rG as j,e5 as k,A6 as l,oie as m,aie as n,w0 as o,Zne as p,_0 as r,Mq as t}; diff --git a/vue-vite-boilerplate/index.html b/vue-vite-boilerplate/index.html index 4d133b468..7b8c0c8a2 100644 --- a/vue-vite-boilerplate/index.html +++ b/vue-vite-boilerplate/index.html @@ -1,11 +1,11 @@ - + TKN Vite Dapp - +