@revenuecat/purchases-ui-js
Version:
Web components for Paywalls. Powered by RevenueCat
1,036 lines (1,035 loc) • 1.48 MB
JavaScript
export const uiConfigData = {
app: {
fonts: {
"RCFM:1230882_font0e7d7b0b8b0442579e69b3bc11384832:Poppins-Black": {
android: {
family: "Poppins",
hash: "14d00dab1f6802e787183ecab5cce85e",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_cfd1522bdc89e965bf85.ttf",
value: "Poppins-Black",
weight: 900,
},
ios: {
family: "Poppins",
hash: "14d00dab1f6802e787183ecab5cce85e",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_cfd1522bdc89e965bf85.ttf",
value: "Poppins-Black",
weight: 900,
},
web: {
family: "Poppins",
hash: "14d00dab1f6802e787183ecab5cce85e",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_cfd1522bdc89e965bf85.ttf",
weight: 900,
},
},
"RCFM:1230882_font145e8f0807b54d6db414d1b822d1713d:Poppins-SemiBold": {
android: {
family: "Poppins",
hash: "6f1520d107205975713ba09df778f93f",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_eec47bc89a13cd34854f.ttf",
value: "Poppins-SemiBold",
weight: 600,
},
ios: {
family: "Poppins",
hash: "6f1520d107205975713ba09df778f93f",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_eec47bc89a13cd34854f.ttf",
value: "Poppins-SemiBold",
weight: 600,
},
web: {
family: "Poppins",
hash: "6f1520d107205975713ba09df778f93f",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_eec47bc89a13cd34854f.ttf",
weight: 600,
},
},
"RCFM:1230882_font28d6959be9974764b537d598dd260835:Poppins-ExtraBold": {
android: {
family: "Poppins",
hash: "d45bdbc2d4a98c1ecb17821a1dbbd3a4",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_7a1236512a51a2a5f18c.ttf",
value: "Poppins-ExtraBold",
weight: 800,
},
ios: {
family: "Poppins",
hash: "d45bdbc2d4a98c1ecb17821a1dbbd3a4",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_7a1236512a51a2a5f18c.ttf",
value: "Poppins-ExtraBold",
weight: 800,
},
web: {
family: "Poppins",
hash: "d45bdbc2d4a98c1ecb17821a1dbbd3a4",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_7a1236512a51a2a5f18c.ttf",
weight: 800,
},
},
"RCFM:1230882_font358141674263464393ce03f8932e5766:Poppins-BlackItalic": {
android: {
family: "Poppins",
hash: "e9c5c588e39d0765d30bcd6594734102",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_4a0a60ed40cd61a1dbdc.ttf",
value: "Poppins-BlackItalic",
weight: 900,
},
ios: {
family: "Poppins",
hash: "e9c5c588e39d0765d30bcd6594734102",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_4a0a60ed40cd61a1dbdc.ttf",
value: "Poppins-BlackItalic",
weight: 900,
},
web: {
family: "Poppins",
hash: "e9c5c588e39d0765d30bcd6594734102",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_4a0a60ed40cd61a1dbdc.ttf",
weight: 900,
},
},
"RCFM:1230882_font4d2368733dbd4121b0aefb1ed6b24d08:Poppins-Medium": {
android: {
family: "Poppins",
hash: "bf59c687bc6d3a70204d3944082c5cc0",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_ccebcff805b610418739.ttf",
value: "Poppins-Medium",
weight: 500,
},
ios: {
family: "Poppins",
hash: "bf59c687bc6d3a70204d3944082c5cc0",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_ccebcff805b610418739.ttf",
value: "Poppins-Medium",
weight: 500,
},
web: {
family: "Poppins",
hash: "bf59c687bc6d3a70204d3944082c5cc0",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_ccebcff805b610418739.ttf",
weight: 500,
},
},
"RCFM:1230882_font4e18f49af65b43e98dd0937d1d4636f1:Poppins-Bold": {
android: {
family: "Poppins",
hash: "08c20a487911694291bd8c5de41315ad",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_40093c64ed077a0fafd4.ttf",
value: "Poppins-Bold",
weight: 700,
},
ios: {
family: "Poppins",
hash: "08c20a487911694291bd8c5de41315ad",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_40093c64ed077a0fafd4.ttf",
value: "Poppins-Bold",
weight: 700,
},
web: {
family: "Poppins",
hash: "08c20a487911694291bd8c5de41315ad",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_40093c64ed077a0fafd4.ttf",
weight: 700,
},
},
"RCFM:1230882_font5320b2c53870475a8f094686e9b9b8be:Poppins-Thin": {
android: {
family: "Poppins",
hash: "9ec263601ee3fcd71763941207c9ad0d",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_4f85976cdedb5ec9332c.ttf",
value: "Poppins-Thin",
weight: 250,
},
ios: {
family: "Poppins",
hash: "9ec263601ee3fcd71763941207c9ad0d",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_4f85976cdedb5ec9332c.ttf",
value: "Poppins-Thin",
weight: 250,
},
web: {
family: "Poppins",
hash: "9ec263601ee3fcd71763941207c9ad0d",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_4f85976cdedb5ec9332c.ttf",
weight: 250,
},
},
"RCFM:1230882_font5ad8a248818c4579b1187aa71199a2d4:Poppins-LightItalic": {
android: {
family: "Poppins",
hash: "0613c488cf7911af70db821bdd05dfc4",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_6c66390a3501cff02e22.ttf",
value: "Poppins-LightItalic",
weight: 300,
},
ios: {
family: "Poppins",
hash: "0613c488cf7911af70db821bdd05dfc4",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_6c66390a3501cff02e22.ttf",
value: "Poppins-LightItalic",
weight: 300,
},
web: {
family: "Poppins",
hash: "0613c488cf7911af70db821bdd05dfc4",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_6c66390a3501cff02e22.ttf",
weight: 300,
},
},
"RCFM:1230882_font5b0746732fd04165acb957fe090b49b2:Poppins-ThinItalic": {
android: {
family: "Poppins",
hash: "01555d25092b213d2ea3a982123722c9",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_4dbb86eef551f95d62df.ttf",
value: "Poppins-ThinItalic",
weight: 250,
},
ios: {
family: "Poppins",
hash: "01555d25092b213d2ea3a982123722c9",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_4dbb86eef551f95d62df.ttf",
value: "Poppins-ThinItalic",
weight: 250,
},
web: {
family: "Poppins",
hash: "01555d25092b213d2ea3a982123722c9",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_4dbb86eef551f95d62df.ttf",
weight: 250,
},
},
"RCFM:1230882_font6a5dd381dd304b0e9f7d1e7315b70238:Poppins-BoldItalic": {
android: {
family: "Poppins",
hash: "19406f767addf00d2ea82cdc9ab104ce",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_94ddb22f5d2eefc122c9.ttf",
value: "Poppins-BoldItalic",
weight: 700,
},
ios: {
family: "Poppins",
hash: "19406f767addf00d2ea82cdc9ab104ce",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_94ddb22f5d2eefc122c9.ttf",
value: "Poppins-BoldItalic",
weight: 700,
},
web: {
family: "Poppins",
hash: "19406f767addf00d2ea82cdc9ab104ce",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_94ddb22f5d2eefc122c9.ttf",
weight: 700,
},
},
"RCFM:1230882_font6acd4b3fdd1847149ccda00885c06be0:Poppins-MediumItalic": {
android: {
family: "Poppins",
hash: "cf5ba39d9ac24652e25df8c291121506",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_78a0e041f26147d616ed.ttf",
value: "Poppins-MediumItalic",
weight: 500,
},
ios: {
family: "Poppins",
hash: "cf5ba39d9ac24652e25df8c291121506",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_78a0e041f26147d616ed.ttf",
value: "Poppins-MediumItalic",
weight: 500,
},
web: {
family: "Poppins",
hash: "cf5ba39d9ac24652e25df8c291121506",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_78a0e041f26147d616ed.ttf",
weight: 500,
},
},
"RCFM:1230882_font6b2c44bdcf794cef9d3b4039ec01a5c2:Poppins-Regular": {
android: {
family: "Poppins",
hash: "093ee89be9ede30383f39a899c485a82",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_387b9b69a1b81a8b9fd0.ttf",
value: "Poppins-Regular",
weight: 400,
},
ios: {
family: "Poppins",
hash: "093ee89be9ede30383f39a899c485a82",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_387b9b69a1b81a8b9fd0.ttf",
value: "Poppins-Regular",
weight: 400,
},
web: {
family: "Poppins",
hash: "093ee89be9ede30383f39a899c485a82",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_387b9b69a1b81a8b9fd0.ttf",
weight: 400,
},
},
"RCFM:1230882_fonta0da5903e9ad43cb846153fe45c92427:Poppins-Light": {
android: {
family: "Poppins",
hash: "fcc40ae9a542d001971e53eaed948410",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_1229726fd9767832085c.ttf",
value: "Poppins-Light",
weight: 300,
},
ios: {
family: "Poppins",
hash: "fcc40ae9a542d001971e53eaed948410",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_1229726fd9767832085c.ttf",
value: "Poppins-Light",
weight: 300,
},
web: {
family: "Poppins",
hash: "fcc40ae9a542d001971e53eaed948410",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_1229726fd9767832085c.ttf",
weight: 300,
},
},
"RCFM:1230882_fontb4237ee287564ec7bef031c59e4b5d72:Poppins-ExtraLight": {
android: {
family: "Poppins",
hash: "6f8391bbdaeaa540388796c858dfd8ca",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_9828861661d7c14c3a9b.ttf",
value: "Poppins-ExtraLight",
weight: 275,
},
ios: {
family: "Poppins",
hash: "6f8391bbdaeaa540388796c858dfd8ca",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_9828861661d7c14c3a9b.ttf",
value: "Poppins-ExtraLight",
weight: 275,
},
web: {
family: "Poppins",
hash: "6f8391bbdaeaa540388796c858dfd8ca",
style: "normal",
type: "name",
url: "https://fonts.pawwalls.com/1230882_9828861661d7c14c3a9b.ttf",
weight: 275,
},
},
"RCFM:1230882_fontf60cc9f2f45c4843ad5f965999e54e8f:Poppins-SemiBoldItalic": {
android: {
family: "Poppins",
hash: "9841f3d906521f7479a5ba70612aa8c8",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_e2ab4ceda2a19904d2a5.ttf",
value: "Poppins-SemiBoldItalic",
weight: 600,
},
ios: {
family: "Poppins",
hash: "9841f3d906521f7479a5ba70612aa8c8",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_e2ab4ceda2a19904d2a5.ttf",
value: "Poppins-SemiBoldItalic",
weight: 600,
},
web: {
family: "Poppins",
hash: "9841f3d906521f7479a5ba70612aa8c8",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_e2ab4ceda2a19904d2a5.ttf",
weight: 600,
},
},
"RCFM:1230882_fontf9fc1730e38245998fbb465f365ed412:Poppins-Italic": {
android: {
family: "Poppins",
hash: "c1034239929f4651cc17d09ed3a28c69",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_77a5ada9a76011b2272f.ttf",
value: "Poppins-Italic",
weight: 400,
},
ios: {
family: "Poppins",
hash: "c1034239929f4651cc17d09ed3a28c69",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_77a5ada9a76011b2272f.ttf",
value: "Poppins-Italic",
weight: 400,
},
web: {
family: "Poppins",
hash: "c1034239929f4651cc17d09ed3a28c69",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_77a5ada9a76011b2272f.ttf",
weight: 400,
},
},
"RCFM:1230882_fontfbd063d2b79e4d5da3e921a5b6ad6160:Poppins-ExtraBoldItalic": {
android: {
family: "Poppins",
hash: "8afe4dc13b83b66fec0ea671419954cc",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_104cea86fc95f7669e46.ttf",
value: "Poppins-ExtraBoldItalic",
weight: 800,
},
ios: {
family: "Poppins",
hash: "8afe4dc13b83b66fec0ea671419954cc",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_104cea86fc95f7669e46.ttf",
value: "Poppins-ExtraBoldItalic",
weight: 800,
},
web: {
family: "Poppins",
hash: "8afe4dc13b83b66fec0ea671419954cc",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_104cea86fc95f7669e46.ttf",
weight: 800,
},
},
"RCFM:1230882_fontfce619a87fbb4763970cf879c2f0380b:Poppins-ExtraLightItalic": {
android: {
family: "Poppins",
hash: "a9bed017984a258097841902b696a7a6",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_ec2ccd1d150420ff8b72.ttf",
value: "Poppins-ExtraLightItalic",
weight: 275,
},
ios: {
family: "Poppins",
hash: "a9bed017984a258097841902b696a7a6",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_ec2ccd1d150420ff8b72.ttf",
value: "Poppins-ExtraLightItalic",
weight: 275,
},
web: {
family: "Poppins",
hash: "a9bed017984a258097841902b696a7a6",
style: "italic",
type: "name",
url: "https://fonts.pawwalls.com/1230882_ec2ccd1d150420ff8b72.ttf",
weight: 275,
},
},
},
},
custom_variables: {
username: {
default_value: "test_user",
type: "string",
},
email: {
default_value: "test@revenuecat.com",
type: "string",
},
},
};
export const paywallData = {
asset_base_url: "https://assets.pawwalls.com",
components_config: {
base: {
stack: {
background_color: {
light: {
type: "hex",
value: "#ffffff",
},
},
border: null,
components: [
{
background_color: {
light: {
type: "hex",
value: "#292631",
},
},
border: null,
components: [
{
background_color: null,
border: null,
components: [
{
background_color: null,
color: {
light: {
type: "hex",
value: "#ffffff",
},
},
components: [],
font_name: null,
font_size: "heading_m",
font_weight: "extra_bold",
horizontal_alignment: "center",
id: "DzVq2Or-BZ",
margin: {
bottom: 0,
leading: 0,
top: 0,
trailing: 6,
},
name: "",
padding: {
bottom: 0,
leading: 0,
top: 0,
trailing: 0,
},
size: {
height: {
type: "fit",
value: null,
},
width: {
type: "fit",
value: null,
},
},
text_lid: "dkKKOS047e",
type: "text",
},
{
background_color: null,
color: {
light: {
type: "hex",
value: "#ffffff",
},
},
components: [],
font_name: null,
font_size: "heading_m",
font_weight: "extra_bold",
horizontal_alignment: "center",
id: "HMLfUp0LlO",
margin: {
bottom: 0,
leading: 0,
top: 0,
trailing: 0,
},
name: "",
padding: {
bottom: 0,
leading: 0,
top: 0,
trailing: 0,
},
size: {
height: {
type: "fit",
value: null,
},
width: {
type: "fit",
value: null,
},
},
text_lid: "RkE6Zlo0W1",
type: "text",
},
{
background_color: null,
color: {
light: {
type: "hex",
value: "#cb7fff",
},
},
components: [],
font_name: null,
font_size: "heading_m",
font_weight: "extra_bold",
horizontal_alignment: "center",
id: "ORfWWjroIZ",
margin: {
bottom: 0,
leading: 0,
top: 0,
trailing: 0,
},
name: "",
padding: {
bottom: 0,
leading: 0,
top: 0,
trailing: 0,
},
size: {
height: {
type: "fit",
value: null,
},
width: {
type: "fit",
value: null,
},
},
text_lid: "XsseT19L5p",
type: "text",
},
{
background_color: null,
color: {
light: {
type: "hex",
value: "#ffffff",
},
},
components: [],
font_name: null,
font_size: "heading_m",
font_weight: "extra_bold",
horizontal_alignment: "center",
id: "BA31AkaWKO",
margin: {
bottom: 0,
leading: 6,
top: 0,
trailing: 0,
},
name: "",
padding: {
bottom: 0,
leading: 0,
top: 0,
trailing: 0,
},
size: {
height: {
type: "fit",
value: null,
},
width: {
type: "fit",
value: null,
},
},
text_lid: "6WBwoXOcRJ",
type: "text",
},
],
dimension: {
alignment: "center",
distribution: "center",
type: "horizontal",
},
id: "8x9LbaWq_o",
margin: {
bottom: 0,
leading: 0,
top: 0,
trailing: 0,
},
name: "Title",
padding: {
bottom: 0,
leading: 0,
top: 0,
trailing: 0,
},
shape: {
corners: {
bottom_leading: 0,
bottom_trailing: 0,
top_leading: 0,
top_trailing: 0,
},
type: "rectangle",
},
size: {
height: {
type: "fit",
value: null,
},
width: {
type: "fill",
value: null,
},
},
spacing: 0,
type: "stack",
},
{
id: "6rQSD5e2Kz",
is_selected_by_default: false,
name: "Package - Monthly",
package_id: "$rc_annual",
stack: {
background_color: {
light: {
type: "hex",
value: "#09090b",
},
},
border: {
color: {
light: {
type: "hex",
value: "#3b393f",
},
},
width: 1,
},
components: [
{
background_color: null,
color: {
light: {
type: "hex",
value: "#ffffff",
},
},
components: [],
font_name: null,
font_size: "heading_s",
font_weight: "bold",
horizontal_alignment: "center",
id: "aSK4Jf1zd4",
margin: {
bottom: 0,
leading: 0,
top: 0,
trailing: 0,
},
name: "",
padding: {
bottom: 0,
leading: 0,
top: 0,
trailing: 0,
},
size: {
height: {
type: "fit",
value: null,
},
width: {
type: "fit",
value: null,
},
},
text_lid: "BcX-6YwhoV",
type: "text",
},
{
background_color: {
light: {
type: "hex",
value: "#292631",
},
},
border: null,
components: [
{
background_color: null,
color: {
light: {
type: "hex",
value: "#ffffff",
},
},
components: [],
font_name: null,
font_size: "body_m",
font_weight: "extra_bold",
horizontal_alignment: "center",
id: "unosKAXGp4",
margin: {
bottom: 0,
leading: 0,
top: 0,
trailing: 0,
},
name: "",
padding: {
bottom: 8,
leading: 16,
top: 8,
trailing: 16,
},
size: {
height: {
type: "fit",
value: null,
},
width: {
type: "fit",
value: null,
},
},
text_lid: "QZ4ZmYsqjN",
type: "text",
},
],
dimension: {
alignment: "leading",
distribution: "space_between",
type: "vertical",
},
id: "-41AkrT2Ha",
margin: {
bottom: 0,
leading: 0,
top: 0,
trailing: 0,
},
name: "Stack",
padding: {
bottom: 0,
leading: 0,
top: 0,
trailing: 0,
},
shape: {
corners: {
bottom_leading: 8,
bottom_trailing: 8,
top_leading: 8,
top_trailing: 8,
},
type: "rectangle",
},
size: {
height: {
type: "fit",
value: null,
},
width: {
type: "fit",
value: null,
},
},
spacing: 8,
type: "stack",
},
],
dimension: {
alignment: "center",
distribution: "space_between",
type: "horizontal",
},
id: "u0KZLUZTQT",
margin: {
bottom: 0,
leading: 16,
top: 16,
trailing: 16,
},
name: "Stack",
padding: {
bottom: 16,
leading: 16,
top: 16,
trailing: 16,
},
shape: {
corners: {
bottom_leading: 0,
bottom_trailing: 0,
top_leading: 8,
top_trailing: 8,
},
type: "rectangle",
},
size: {
height: {
type: "fit",
value: null,
},
width: {
type: "fill",
value: null,
},
},
spacing: 8,
type: "stack",
},
type: "package",
},
{
id: "lPNvA6W9st",
is_selected_by_default: false,
name: "Package - Annual",
package_id: "$rc_annual",
stack: {
background_color: {
light: {
type: "hex",
value: "#09090b",
},
},
border: {
color: {
light: {
type: "hex",
value: "#cb7fff",
},
},
width: 1,
},
components: [
{
background_color: null,
color: {
light: {
type: "hex",
value: "#ffffff",
},
},
components: [],
font_name: null,
font_size: "heading_s",
font_weight: "bold",
horizontal_alignment: "center",
id: "6rNQTqGN6t",
margin: {
bottom: 0,
leading: 0,
top: 0,
trailing: 0,
},
name: "",
padding: {
bottom: 0,
leading: 0,
top: 0,
trailing: 0,
},
size: {
height: {
type: "fit",
value: null,
},
width: {
type: "fit",
value: null,
},
},
text_lid: "zwOsIynvC9",
type: "text",
},
{
background_color: {
light: {
type: "hex",
value: "#292631",
},
},
border: null,
components: [
{
background_color: null,
color: {
light: {
type: "hex",
value: "#ffffff",
},
},
components: [],
font_name: null,
font_size: "body_m",
font_weight: "extra_bold",
horizontal_alignment: "center",
id: "HHAFMWi6k9",
margin: {
bottom: 0,
leading: 0,
top: 0,
trailing: 0,