webs-sdk 0.18.85 → 0.18.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +451 -451
- package/dist/components/ARFilters/ARFilters.js +54 -54
- package/dist/components/AvatarAI.js +6 -6
- package/dist/components/CookieConsent/constants.js +31 -31
- package/dist/components/CookieConsent/translations.d.ts.map +1 -1
- package/dist/components/CookieConsent/translations.js +32 -0
- package/dist/components/CookieConsent/translations.js.map +1 -1
- package/dist/components/CreativeFaceSwap.js +12 -12
- package/dist/components/MemeGenerator.js +12 -12
- package/dist/components/PasswordReset/constants.js +33 -33
- package/dist/components/RecoveryPassword/constants.js +27 -27
- package/dist/components/SpinningWheel/SpinningWheel.js +7 -7
- package/dist/components/WallpapersName.d.ts +4 -2
- package/dist/components/WallpapersName.d.ts.map +1 -1
- package/dist/components/WallpapersName.js +6 -1
- package/dist/components/WallpapersName.js.map +1 -1
- package/package.json +79 -79
- package/public/spin2win/assets/border-afristream.svg +26 -26
- package/public/spin2win/assets/border-efc.svg +23 -23
- package/public/spin2win/assets/border-totalgym.svg +27 -27
- package/public/spin2win/assets/border-womantoday.svg +26 -26
- package/public/spin2win/assets/indicator-afristream.svg +28 -28
- package/public/spin2win/assets/indicator-efc.svg +29 -29
- package/public/spin2win/assets/indicator-totalgym.svg +29 -29
- package/public/spin2win/fonts/switzer/README.md +22 -22
- package/dist/libraries/globals.d.ts +0 -17
- package/dist/libraries/globals.d.ts.map +0 -1
- package/dist/libraries/globals.js +0 -38
- package/dist/libraries/globals.js.map +0 -1
|
@@ -7,60 +7,60 @@ const useDeepAR_1 = require("./useDeepAR");
|
|
|
7
7
|
const FilterCarousel_1 = require("./FilterCarousel");
|
|
8
8
|
const Popups_1 = require("./Popups");
|
|
9
9
|
const constants_1 = require("./constants");
|
|
10
|
-
const DEEPAR_CSS = `
|
|
11
|
-
.deepar-container{position:relative;width:100%;max-width:800px;margin:0 auto;aspect-ratio:4/3;background-color:#000;border-radius:16px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.5),0 8px 16px rgba(0,0,0,.3)}
|
|
12
|
-
@media(max-width:768px){.deepar-container{max-width:100%;aspect-ratio:auto;height:70vh;max-height:600px;border-radius:8px}}
|
|
13
|
-
.deepar-canvas{width:100%;height:100%;object-fit:contain}
|
|
14
|
-
.deepar-loading-veil{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.8);display:flex;align-items:center;justify-content:center;z-index:10}
|
|
15
|
-
.deepar-loading-items{display:flex;flex-direction:column;align-items:center;gap:16px}
|
|
16
|
-
.deepar-loading-spinner{width:48px;height:48px;border:4px solid rgba(255,255,255,.1);border-top-color:#fff;border-radius:50%;animation:deepar-spin 1s linear infinite}
|
|
17
|
-
@keyframes deepar-spin{to{transform:rotate(360deg)}}
|
|
18
|
-
.deepar-loading-text{color:#fff;font-size:16px;font-weight:500}
|
|
19
|
-
.deepar-top-buttons{position:absolute;top:0;right:0;display:flex;gap:12px;padding:16px;z-index:20}
|
|
20
|
-
.deepar-fullscreen-button{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:rgba(0,0,0,.6);border:2px solid rgba(255,255,255,.3);border-radius:8px;cursor:pointer;transition:all .2s;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
|
|
21
|
-
.deepar-fullscreen-button:hover{background:rgba(0,0,0,.8);border-color:rgba(255,255,255,.5)}
|
|
22
|
-
.deepar-fullscreen-button:active{transform:scale(.95);background:rgba(0,0,0,.9)}
|
|
23
|
-
@media(max-width:768px){.deepar-fullscreen-button{width:56px;height:56px;background:rgba(0,0,0,.7)}}
|
|
24
|
-
.deepar-recording-progress-bar{position:absolute;top:24px;left:50%;transform:translateX(-50%);width:calc(100% - 48px);max-width:400px;height:8px;background:rgba(255,255,255,.2);border-radius:17px;overflow:hidden;z-index:5}
|
|
25
|
-
.deepar-time-progress{height:100%;background:#dc2626;border-radius:17px;transition:width 100ms linear}
|
|
26
|
-
.deepar-pause-recording-container{position:absolute;bottom:48px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;z-index:5}
|
|
27
|
-
.deepar-pause-recording-button{display:flex;align-items:center;justify-content:center;width:80px;height:80px;background:rgba(0,0,0,.5);border:3px solid #fff;border-radius:50%;cursor:pointer;transition:all .2s}
|
|
28
|
-
.deepar-pause-recording-inner{width:24px;height:24px;background:#dc2626;border-radius:4px}
|
|
29
|
-
.deepar-carousel-container{position:absolute;bottom:0;left:0;width:100%;visibility:hidden;opacity:0;transition:opacity .3s;z-index:4}
|
|
30
|
-
.deepar-carousel-container.visible{visibility:visible;opacity:1}
|
|
31
|
-
.deepar-carousel-wrapper{position:relative;display:flex;align-items:center;justify-content:center;padding:24px 0;background:linear-gradient(to top,rgba(0,0,0,1) 0%,rgba(0,0,0,.95) 50%,rgba(0,0,0,0) 100%)}
|
|
32
|
-
.deepar-carousel-content{position:relative;display:flex;align-items:center;justify-content:center;flex:1}
|
|
33
|
-
.deepar-carousel{max-width:368px;overflow:hidden;padding:0 20px}
|
|
34
|
-
@media(max-width:768px){.deepar-carousel{max-width:280px;padding:0 10px}}
|
|
35
|
-
.deepar-carousel-slides{display:flex;gap:16px}
|
|
36
|
-
.deepar-carousel-slide{flex:0 0 auto;cursor:pointer;transition:all .3s ease;opacity:.6}
|
|
37
|
-
.deepar-carousel-slide:hover{opacity:.8}
|
|
38
|
-
.deepar-carousel-slide.active{opacity:1}
|
|
39
|
-
.deepar-filter-thumb{width:64px;height:64px;border-radius:50%;overflow:hidden;transition:all .3s ease;border:3px solid rgba(255,255,255,.2)}
|
|
40
|
-
.deepar-carousel-slide.active .deepar-filter-thumb{width:76px;height:76px;border:3px solid rgba(255,255,255,1);box-shadow:0 0 0 8px rgba(0,0,0,.4)}
|
|
41
|
-
.deepar-carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:rgba(0,0,0,.4);border:1px solid rgba(255,255,255,.3);border-radius:50%;cursor:pointer;transition:all .3s;z-index:5;color:#fff}
|
|
42
|
-
.deepar-carousel-arrow.prev{left:16px}
|
|
43
|
-
.deepar-carousel-arrow.next{right:16px}
|
|
44
|
-
.deepar-carousel-arrow:hover:not(:disabled){transform:translateY(-50%) scale(1.1);background:rgba(0,0,0,.6)}
|
|
45
|
-
.deepar-carousel-arrow:disabled{opacity:.3;cursor:not-allowed}
|
|
46
|
-
.deepar-selection-ring{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:110px;height:110px;background:rgba(0,0,0,.4);border:4px solid rgba(255,255,255,.9);border-radius:50%;cursor:pointer;z-index:6;transition:all .3s;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 8px rgba(0,0,0,.3)}
|
|
47
|
-
.deepar-selection-ring:hover{transform:translate(-50%,-50%) scale(1.05);border-color:#fff}
|
|
48
|
-
.deepar-selection-ring-camera{color:#fff}
|
|
49
|
-
.deepar-creation-container{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;z-index:8}
|
|
50
|
-
.deepar-created-video,.deepar-created-image{width:100%;height:100%;object-fit:cover}
|
|
51
|
-
.deepar-creation-buttons{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}
|
|
52
|
-
.deepar-creation-buttons>*{pointer-events:all}
|
|
53
|
-
.deepar-discard-button{position:absolute;top:24px;left:24px;display:flex;align-items:center;gap:8px;padding:12px 20px;background:rgba(0,0,0,.5);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}
|
|
54
|
-
.deepar-bottom-buttons-creation{position:absolute;bottom:42px;left:50%;transform:translateX(-50%);display:flex;gap:16px}
|
|
55
|
-
.deepar-creation-button{display:flex;align-items:center;justify-content:center;width:80px;height:80px;background:rgba(0,0,0,.5);border:3px solid #fff;border-radius:50%;cursor:pointer;transition:all .2s}
|
|
56
|
-
.deepar-creation-button:hover{background:rgba(0,0,0,.7);transform:scale(1.1)}
|
|
57
|
-
.deepar-popup{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.8);display:flex;align-items:center;justify-content:center;z-index:50}
|
|
58
|
-
.deepar-popup-box{background:#fff;border-radius:12px;padding:48px 32px;max-width:400px;width:90%;text-align:center}
|
|
59
|
-
.deepar-popup-image{margin:0 auto 20px;display:flex;align-items:center;justify-content:center}
|
|
60
|
-
.deepar-popup-title{font-size:18px;font-weight:600;color:#111;margin-bottom:24px}
|
|
61
|
-
.deepar-popup-button{display:inline-block;padding:14px 32px;border-radius:8px;font-size:16px;font-weight:600;border:none;cursor:pointer;transition:all .2s}
|
|
62
|
-
.deepar-popup-button:hover{transform:scale(1.05)}
|
|
63
|
-
.deepar-download-success{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:16px 32px;background:rgba(34,197,94,.95);color:#fff;border-radius:8px;font-size:16px;font-weight:600;z-index:100}
|
|
10
|
+
const DEEPAR_CSS = `
|
|
11
|
+
.deepar-container{position:relative;width:100%;max-width:800px;margin:0 auto;aspect-ratio:4/3;background-color:#000;border-radius:16px;overflow:hidden;box-shadow:0 20px 60px rgba(0,0,0,.5),0 8px 16px rgba(0,0,0,.3)}
|
|
12
|
+
@media(max-width:768px){.deepar-container{max-width:100%;aspect-ratio:auto;height:70vh;max-height:600px;border-radius:8px}}
|
|
13
|
+
.deepar-canvas{width:100%;height:100%;object-fit:contain}
|
|
14
|
+
.deepar-loading-veil{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.8);display:flex;align-items:center;justify-content:center;z-index:10}
|
|
15
|
+
.deepar-loading-items{display:flex;flex-direction:column;align-items:center;gap:16px}
|
|
16
|
+
.deepar-loading-spinner{width:48px;height:48px;border:4px solid rgba(255,255,255,.1);border-top-color:#fff;border-radius:50%;animation:deepar-spin 1s linear infinite}
|
|
17
|
+
@keyframes deepar-spin{to{transform:rotate(360deg)}}
|
|
18
|
+
.deepar-loading-text{color:#fff;font-size:16px;font-weight:500}
|
|
19
|
+
.deepar-top-buttons{position:absolute;top:0;right:0;display:flex;gap:12px;padding:16px;z-index:20}
|
|
20
|
+
.deepar-fullscreen-button{display:flex;align-items:center;justify-content:center;width:48px;height:48px;background:rgba(0,0,0,.6);border:2px solid rgba(255,255,255,.3);border-radius:8px;cursor:pointer;transition:all .2s;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
|
|
21
|
+
.deepar-fullscreen-button:hover{background:rgba(0,0,0,.8);border-color:rgba(255,255,255,.5)}
|
|
22
|
+
.deepar-fullscreen-button:active{transform:scale(.95);background:rgba(0,0,0,.9)}
|
|
23
|
+
@media(max-width:768px){.deepar-fullscreen-button{width:56px;height:56px;background:rgba(0,0,0,.7)}}
|
|
24
|
+
.deepar-recording-progress-bar{position:absolute;top:24px;left:50%;transform:translateX(-50%);width:calc(100% - 48px);max-width:400px;height:8px;background:rgba(255,255,255,.2);border-radius:17px;overflow:hidden;z-index:5}
|
|
25
|
+
.deepar-time-progress{height:100%;background:#dc2626;border-radius:17px;transition:width 100ms linear}
|
|
26
|
+
.deepar-pause-recording-container{position:absolute;bottom:48px;left:50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;z-index:5}
|
|
27
|
+
.deepar-pause-recording-button{display:flex;align-items:center;justify-content:center;width:80px;height:80px;background:rgba(0,0,0,.5);border:3px solid #fff;border-radius:50%;cursor:pointer;transition:all .2s}
|
|
28
|
+
.deepar-pause-recording-inner{width:24px;height:24px;background:#dc2626;border-radius:4px}
|
|
29
|
+
.deepar-carousel-container{position:absolute;bottom:0;left:0;width:100%;visibility:hidden;opacity:0;transition:opacity .3s;z-index:4}
|
|
30
|
+
.deepar-carousel-container.visible{visibility:visible;opacity:1}
|
|
31
|
+
.deepar-carousel-wrapper{position:relative;display:flex;align-items:center;justify-content:center;padding:24px 0;background:linear-gradient(to top,rgba(0,0,0,1) 0%,rgba(0,0,0,.95) 50%,rgba(0,0,0,0) 100%)}
|
|
32
|
+
.deepar-carousel-content{position:relative;display:flex;align-items:center;justify-content:center;flex:1}
|
|
33
|
+
.deepar-carousel{max-width:368px;overflow:hidden;padding:0 20px}
|
|
34
|
+
@media(max-width:768px){.deepar-carousel{max-width:280px;padding:0 10px}}
|
|
35
|
+
.deepar-carousel-slides{display:flex;gap:16px}
|
|
36
|
+
.deepar-carousel-slide{flex:0 0 auto;cursor:pointer;transition:all .3s ease;opacity:.6}
|
|
37
|
+
.deepar-carousel-slide:hover{opacity:.8}
|
|
38
|
+
.deepar-carousel-slide.active{opacity:1}
|
|
39
|
+
.deepar-filter-thumb{width:64px;height:64px;border-radius:50%;overflow:hidden;transition:all .3s ease;border:3px solid rgba(255,255,255,.2)}
|
|
40
|
+
.deepar-carousel-slide.active .deepar-filter-thumb{width:76px;height:76px;border:3px solid rgba(255,255,255,1);box-shadow:0 0 0 8px rgba(0,0,0,.4)}
|
|
41
|
+
.deepar-carousel-arrow{position:absolute;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:40px;height:40px;background:rgba(0,0,0,.4);border:1px solid rgba(255,255,255,.3);border-radius:50%;cursor:pointer;transition:all .3s;z-index:5;color:#fff}
|
|
42
|
+
.deepar-carousel-arrow.prev{left:16px}
|
|
43
|
+
.deepar-carousel-arrow.next{right:16px}
|
|
44
|
+
.deepar-carousel-arrow:hover:not(:disabled){transform:translateY(-50%) scale(1.1);background:rgba(0,0,0,.6)}
|
|
45
|
+
.deepar-carousel-arrow:disabled{opacity:.3;cursor:not-allowed}
|
|
46
|
+
.deepar-selection-ring{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:110px;height:110px;background:rgba(0,0,0,.4);border:4px solid rgba(255,255,255,.9);border-radius:50%;cursor:pointer;z-index:6;transition:all .3s;display:flex;align-items:center;justify-content:center;box-shadow:0 0 0 8px rgba(0,0,0,.3)}
|
|
47
|
+
.deepar-selection-ring:hover{transform:translate(-50%,-50%) scale(1.05);border-color:#fff}
|
|
48
|
+
.deepar-selection-ring-camera{color:#fff}
|
|
49
|
+
.deepar-creation-container{position:absolute;top:0;left:0;width:100%;height:100%;background:#000;z-index:8}
|
|
50
|
+
.deepar-created-video,.deepar-created-image{width:100%;height:100%;object-fit:cover}
|
|
51
|
+
.deepar-creation-buttons{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none}
|
|
52
|
+
.deepar-creation-buttons>*{pointer-events:all}
|
|
53
|
+
.deepar-discard-button{position:absolute;top:24px;left:24px;display:flex;align-items:center;gap:8px;padding:12px 20px;background:rgba(0,0,0,.5);color:#fff;border:none;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s}
|
|
54
|
+
.deepar-bottom-buttons-creation{position:absolute;bottom:42px;left:50%;transform:translateX(-50%);display:flex;gap:16px}
|
|
55
|
+
.deepar-creation-button{display:flex;align-items:center;justify-content:center;width:80px;height:80px;background:rgba(0,0,0,.5);border:3px solid #fff;border-radius:50%;cursor:pointer;transition:all .2s}
|
|
56
|
+
.deepar-creation-button:hover{background:rgba(0,0,0,.7);transform:scale(1.1)}
|
|
57
|
+
.deepar-popup{position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0,0,0,.8);display:flex;align-items:center;justify-content:center;z-index:50}
|
|
58
|
+
.deepar-popup-box{background:#fff;border-radius:12px;padding:48px 32px;max-width:400px;width:90%;text-align:center}
|
|
59
|
+
.deepar-popup-image{margin:0 auto 20px;display:flex;align-items:center;justify-content:center}
|
|
60
|
+
.deepar-popup-title{font-size:18px;font-weight:600;color:#111;margin-bottom:24px}
|
|
61
|
+
.deepar-popup-button{display:inline-block;padding:14px 32px;border-radius:8px;font-size:16px;font-weight:600;border:none;cursor:pointer;transition:all .2s}
|
|
62
|
+
.deepar-popup-button:hover{transform:scale(1.05)}
|
|
63
|
+
.deepar-download-success{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);padding:16px 32px;background:rgba(34,197,94,.95);color:#fff;border-radius:8px;font-size:16px;font-weight:600;z-index:100}
|
|
64
64
|
`;
|
|
65
65
|
function ARFilters(props) {
|
|
66
66
|
(0, react_1.useEffect)(() => {
|
|
@@ -5,12 +5,12 @@ exports.AvatarAIForYouCard = AvatarAIForYouCard;
|
|
|
5
5
|
exports.AvatarAIPage = AvatarAIPage;
|
|
6
6
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
7
7
|
const react_1 = require("react");
|
|
8
|
-
const AVATAR_AI_CSS = `
|
|
9
|
-
.avatarai-styles-grid::-webkit-scrollbar { width: 6px; }
|
|
10
|
-
.avatarai-styles-grid::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; }
|
|
11
|
-
.avatarai-styles-grid::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
|
|
12
|
-
@keyframes avatarai-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
|
|
13
|
-
@keyframes avatarai-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
|
|
8
|
+
const AVATAR_AI_CSS = `
|
|
9
|
+
.avatarai-styles-grid::-webkit-scrollbar { width: 6px; }
|
|
10
|
+
.avatarai-styles-grid::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; }
|
|
11
|
+
.avatarai-styles-grid::-webkit-scrollbar-thumb { background: #ccc; border-radius: 3px; }
|
|
12
|
+
@keyframes avatarai-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
|
|
13
|
+
@keyframes avatarai-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
|
|
14
14
|
`;
|
|
15
15
|
const defaultStyles = [
|
|
16
16
|
{ id: 1, name: 'Pirate', image: 'https://cdn.smarthubtech.net/upload/20240426_135427_99796_1_cuadrada.png' },
|
|
@@ -5,36 +5,36 @@ exports.COOKIE_CONSENT_COOKIE_NAME = 'cookieConsent';
|
|
|
5
5
|
exports.COOKIE_CONSENT_COOKIE_MAX_AGE = 60 * 60 * 24 * 365;
|
|
6
6
|
exports.TRACKING_PERMISSION_KEY = 'TRACKING_PERMISSION';
|
|
7
7
|
exports.FUNCTIONAL_PERMISSION_KEY = 'FUNCTIONAL_PERMISSION';
|
|
8
|
-
exports.COOKIE_CONSENT_CSS = `
|
|
9
|
-
.cc-overlay{position:fixed;bottom:0;left:0;right:0;z-index:9999;padding:16px;box-sizing:border-box}
|
|
10
|
-
.cc-banner{max-width:960px;margin:0 auto;padding:24px 28px;border-radius:12px;box-shadow:0 -4px 32px rgba(0,0,0,.18),0 2px 8px rgba(0,0,0,.12);display:flex;gap:20px;align-items:flex-start;flex-wrap:wrap}
|
|
11
|
-
@media(min-width:640px){.cc-banner{flex-wrap:nowrap;align-items:center}}
|
|
12
|
-
.cc-content{flex:1;min-width:0}
|
|
13
|
-
.cc-title{font-size:16px;font-weight:700;margin:0 0 6px 0;line-height:1.3}
|
|
14
|
-
.cc-description{font-size:13px;line-height:1.55;margin:0;opacity:.85}
|
|
15
|
-
.cc-link{text-decoration:underline;cursor:pointer;margin-left:4px}
|
|
16
|
-
.cc-actions{display:flex;gap:8px;flex-shrink:0;flex-direction:column;align-items:stretch}
|
|
17
|
-
@media(min-width:480px){.cc-actions{flex-direction:row;align-items:center}}
|
|
18
|
-
.cc-btn{padding:10px 20px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;border:none;transition:opacity .2s;white-space:nowrap;line-height:1}
|
|
19
|
-
.cc-btn:hover{opacity:.88}
|
|
20
|
-
.cc-btn-essential{background:transparent}
|
|
21
|
-
.cc-config-link{background:none;border:none;cursor:pointer;font-size:12px;text-decoration:underline;padding:4px 0;font-family:inherit;line-height:1;opacity:.7;white-space:nowrap;display:block;text-align:center}
|
|
22
|
-
.cc-config-link:hover{opacity:1}
|
|
23
|
-
.cc-banner.cc-settings-mode{display:block}
|
|
24
|
-
.cc-settings-title{font-size:15px;font-weight:700;margin:0 0 14px 0}
|
|
25
|
-
.cc-settings-sep{border:none;border-top:1px solid rgba(255,255,255,.12);margin:0 0 16px}
|
|
26
|
-
.cc-category{display:flex;flex-direction:column;gap:5px;margin-bottom:14px}
|
|
27
|
-
.cc-category:last-of-type{margin-bottom:0}
|
|
28
|
-
.cc-category-row{display:flex;align-items:center;gap:10px}
|
|
29
|
-
.cc-category-label{font-size:13px;font-weight:600;cursor:pointer;user-select:none;line-height:1.3}
|
|
30
|
-
.cc-category-label.cc-mandatory{cursor:default;opacity:.55}
|
|
31
|
-
.cc-category-desc{font-size:12px;line-height:1.55;opacity:.7;padding-left:26px;margin:0}
|
|
32
|
-
.cc-checkbox{width:15px;height:15px;flex-shrink:0;cursor:pointer;margin:0}
|
|
33
|
-
.cc-checkbox:disabled{cursor:default}
|
|
34
|
-
.cc-settings-footer{display:flex;justify-content:flex-end;margin-top:20px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12)}
|
|
35
|
-
.cc-enter{animation:cc-slideup .28s ease-out}
|
|
36
|
-
.cc-exit{animation:cc-slidedown .22s ease-in forwards}
|
|
37
|
-
@keyframes cc-slideup{from{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}
|
|
38
|
-
@keyframes cc-slidedown{from{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}
|
|
8
|
+
exports.COOKIE_CONSENT_CSS = `
|
|
9
|
+
.cc-overlay{position:fixed;bottom:0;left:0;right:0;z-index:9999;padding:16px;box-sizing:border-box}
|
|
10
|
+
.cc-banner{max-width:960px;margin:0 auto;padding:24px 28px;border-radius:12px;box-shadow:0 -4px 32px rgba(0,0,0,.18),0 2px 8px rgba(0,0,0,.12);display:flex;gap:20px;align-items:flex-start;flex-wrap:wrap}
|
|
11
|
+
@media(min-width:640px){.cc-banner{flex-wrap:nowrap;align-items:center}}
|
|
12
|
+
.cc-content{flex:1;min-width:0}
|
|
13
|
+
.cc-title{font-size:16px;font-weight:700;margin:0 0 6px 0;line-height:1.3}
|
|
14
|
+
.cc-description{font-size:13px;line-height:1.55;margin:0;opacity:.85}
|
|
15
|
+
.cc-link{text-decoration:underline;cursor:pointer;margin-left:4px}
|
|
16
|
+
.cc-actions{display:flex;gap:8px;flex-shrink:0;flex-direction:column;align-items:stretch}
|
|
17
|
+
@media(min-width:480px){.cc-actions{flex-direction:row;align-items:center}}
|
|
18
|
+
.cc-btn{padding:10px 20px;border-radius:8px;font-size:14px;font-weight:600;cursor:pointer;border:none;transition:opacity .2s;white-space:nowrap;line-height:1}
|
|
19
|
+
.cc-btn:hover{opacity:.88}
|
|
20
|
+
.cc-btn-essential{background:transparent}
|
|
21
|
+
.cc-config-link{background:none;border:none;cursor:pointer;font-size:12px;text-decoration:underline;padding:4px 0;font-family:inherit;line-height:1;opacity:.7;white-space:nowrap;display:block;text-align:center}
|
|
22
|
+
.cc-config-link:hover{opacity:1}
|
|
23
|
+
.cc-banner.cc-settings-mode{display:block}
|
|
24
|
+
.cc-settings-title{font-size:15px;font-weight:700;margin:0 0 14px 0}
|
|
25
|
+
.cc-settings-sep{border:none;border-top:1px solid rgba(255,255,255,.12);margin:0 0 16px}
|
|
26
|
+
.cc-category{display:flex;flex-direction:column;gap:5px;margin-bottom:14px}
|
|
27
|
+
.cc-category:last-of-type{margin-bottom:0}
|
|
28
|
+
.cc-category-row{display:flex;align-items:center;gap:10px}
|
|
29
|
+
.cc-category-label{font-size:13px;font-weight:600;cursor:pointer;user-select:none;line-height:1.3}
|
|
30
|
+
.cc-category-label.cc-mandatory{cursor:default;opacity:.55}
|
|
31
|
+
.cc-category-desc{font-size:12px;line-height:1.55;opacity:.7;padding-left:26px;margin:0}
|
|
32
|
+
.cc-checkbox{width:15px;height:15px;flex-shrink:0;cursor:pointer;margin:0}
|
|
33
|
+
.cc-checkbox:disabled{cursor:default}
|
|
34
|
+
.cc-settings-footer{display:flex;justify-content:flex-end;margin-top:20px;padding-top:16px;border-top:1px solid rgba(255,255,255,.12)}
|
|
35
|
+
.cc-enter{animation:cc-slideup .28s ease-out}
|
|
36
|
+
.cc-exit{animation:cc-slidedown .22s ease-in forwards}
|
|
37
|
+
@keyframes cc-slideup{from{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}
|
|
38
|
+
@keyframes cc-slidedown{from{transform:translateY(0);opacity:1}to{transform:translateY(100%);opacity:0}}
|
|
39
39
|
`;
|
|
40
40
|
//# sourceMappingURL=constants.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/components/CookieConsent/translations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,QAAA,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,
|
|
1
|
+
{"version":3,"file":"translations.d.ts","sourceRoot":"","sources":["../../../src/components/CookieConsent/translations.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,QAAA,MAAM,oBAAoB,EAAE,MAAM,CAAC,MAAM,EAAE,kBAAkB,CAiL5D,CAAC;AAEF,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,MAAM,GAAG,kBAAkB,CAExE;AAED,eAAe,oBAAoB,CAAC"}
|
|
@@ -130,6 +130,38 @@ const COOKIE_CONSENT_TEXTS = {
|
|
|
130
130
|
analyticalDescription: 'Permit urmărirea și analiza comportamentului utilizatorilor pentru a îmbunătăți serviciul.',
|
|
131
131
|
saveSettingsButton: 'Salvați setările',
|
|
132
132
|
},
|
|
133
|
+
pt: {
|
|
134
|
+
bannerTitle: 'Utilizamos cookies',
|
|
135
|
+
bannerDescription: 'Utilizamos cookies e tecnologias semelhantes para melhorar a sua experiência e analisar a utilização do site. Pode aceitar todos os cookies ou apenas os essenciais necessários para o funcionamento.',
|
|
136
|
+
acceptAllButton: 'Aceitar todos',
|
|
137
|
+
essentialOnlyButton: 'Rejeitar',
|
|
138
|
+
privacyPolicyLinkText: 'Política de privacidade',
|
|
139
|
+
configLinkText: 'Gerir cookies',
|
|
140
|
+
settingsTitle: 'As suas preferências de cookies',
|
|
141
|
+
mandatoryLabel: 'Obrigatórios',
|
|
142
|
+
mandatoryDescription: 'São estritamente necessários para o funcionamento básico deste website e para garantir o seu correto desempenho.',
|
|
143
|
+
functionalLabel: 'Cookies funcionais',
|
|
144
|
+
functionalDescription: 'São necessários para que o website seja apresentado corretamente e proporcionem uma melhor experiência de navegação.',
|
|
145
|
+
analyticalLabel: 'Cookies analíticos',
|
|
146
|
+
analyticalDescription: 'Permitem o rastreamento e a análise do comportamento do utilizador para melhorar o serviço.',
|
|
147
|
+
saveSettingsButton: 'Guardar preferências',
|
|
148
|
+
},
|
|
149
|
+
pl: {
|
|
150
|
+
bannerTitle: 'Używamy plików cookie',
|
|
151
|
+
bannerDescription: 'Używamy plików cookie i podobnych technologii, aby poprawić Twoje wrażenia i analizować korzystanie z witryny. Możesz zaakceptować wszystkie pliki cookie lub tylko niezbędne.',
|
|
152
|
+
acceptAllButton: 'Zaakceptuj wszystkie',
|
|
153
|
+
essentialOnlyButton: 'Odrzuć',
|
|
154
|
+
privacyPolicyLinkText: 'Polityka prywatności',
|
|
155
|
+
configLinkText: 'Zarządzaj cookies',
|
|
156
|
+
settingsTitle: 'Twoje ustawienia plików cookie',
|
|
157
|
+
mandatoryLabel: 'Obowiązkowe',
|
|
158
|
+
mandatoryDescription: 'Są ściśle niezbędne do podstawowego działania tej witryny i zapewnienia jej prawidłowego funkcjonowania.',
|
|
159
|
+
functionalLabel: 'Funkcjonalne pliki cookie',
|
|
160
|
+
functionalDescription: 'Są potrzebne do prawidłowego wyświetlania strony i zapewnienia lepszego doświadczenia przeglądania.',
|
|
161
|
+
analyticalLabel: 'Analityczne pliki cookie',
|
|
162
|
+
analyticalDescription: 'Umożliwiają śledzenie i analizę zachowania użytkowników w celu ulepszenia usługi.',
|
|
163
|
+
saveSettingsButton: 'Zapisz ustawienia',
|
|
164
|
+
},
|
|
133
165
|
tr: {
|
|
134
166
|
bannerTitle: 'Çerezleri kullanıyoruz',
|
|
135
167
|
bannerDescription: 'Deneyiminizi geliştirmek ve site kullanımını analiz etmek için çerezler ve benzer teknolojiler kullanıyoruz. Tüm çerezleri veya yalnızca gerekli olanları kabul edebilirsiniz.',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"translations.js","sourceRoot":"","sources":["../../../src/components/CookieConsent/translations.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"translations.js","sourceRoot":"","sources":["../../../src/components/CookieConsent/translations.ts"],"names":[],"mappings":";;AAqLA,sDAEC;AArLD,MAAM,oBAAoB,GAAuC;IAC/D,EAAE,EAAE;QACF,WAAW,EAAE,gBAAgB;QAC7B,iBAAiB,EAAE,iLAAiL;QACpM,eAAe,EAAE,YAAY;QAC7B,mBAAmB,EAAE,QAAQ;QAC7B,qBAAqB,EAAE,gBAAgB;QACvC,cAAc,EAAE,gBAAgB;QAChC,aAAa,EAAE,sBAAsB;QACrC,cAAc,EAAE,WAAW;QAC3B,oBAAoB,EAAE,4GAA4G;QAClI,eAAe,EAAE,oBAAoB;QACrC,qBAAqB,EAAE,0GAA0G;QACjI,eAAe,EAAE,oBAAoB;QACrC,qBAAqB,EAAE,0GAA0G;QACjI,kBAAkB,EAAE,eAAe;KACpC;IACD,EAAE,EAAE;QACF,WAAW,EAAE,gBAAgB;QAC7B,iBAAiB,EAAE,2LAA2L;QAC9M,eAAe,EAAE,eAAe;QAChC,mBAAmB,EAAE,UAAU;QAC/B,qBAAqB,EAAE,wBAAwB;QAC/C,cAAc,EAAE,mBAAmB;QACnC,aAAa,EAAE,0BAA0B;QACzC,cAAc,EAAE,cAAc;QAC9B,oBAAoB,EAAE,yHAAyH;QAC/I,eAAe,EAAE,qBAAqB;QACtC,qBAAqB,EAAE,mHAAmH;QAC1I,eAAe,EAAE,oBAAoB;QACrC,qBAAqB,EAAE,6FAA6F;QACpH,kBAAkB,EAAE,uBAAuB;KAC5C;IACD,EAAE,EAAE;QACF,WAAW,EAAE,4BAA4B;QACzC,iBAAiB,EAAE,kMAAkM;QACrN,eAAe,EAAE,eAAe;QAChC,mBAAmB,EAAE,SAAS;QAC9B,qBAAqB,EAAE,8BAA8B;QACrD,cAAc,EAAE,mBAAm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const react_1 = require("react");
|
|
|
11
11
|
const link_1 = __importDefault(require("next/link"));
|
|
12
12
|
const ui_1 = require("./ui");
|
|
13
13
|
const utils_1 = require("../libraries/utils");
|
|
14
|
-
const FACESWAP_CSS = `
|
|
15
|
-
.faceswap-layout { display: flex; flex-direction: row; align-items: stretch; }
|
|
16
|
-
.faceswap-col-left { width: 30%; min-width: 280px; background: white; border: 1px solid #e5e7eb; display: flex; flex-direction: column; }
|
|
17
|
-
.faceswap-col-right { flex: 1; background: white; border: 1px solid #e5e7eb; border-left: none; display: flex; flex-direction: column; }
|
|
18
|
-
.faceswap-col-right > div:first-child { flex: 0 0 auto; }
|
|
19
|
-
.faceswap-col-right > div:last-child { flex: 1; display: flex; flex-direction: column; }
|
|
20
|
-
.faceswap-col-right > div:last-child > .faceswap-result-area { flex: 1; min-height: 0; }
|
|
21
|
-
@media (max-width: 768px) {
|
|
22
|
-
.faceswap-layout { flex-direction: column; }
|
|
23
|
-
.faceswap-col-left { width: 100%; min-width: unset; }
|
|
24
|
-
.faceswap-col-right { border-left: 1px solid #e5e7eb; border-top: none; width: 100%; }
|
|
25
|
-
}
|
|
14
|
+
const FACESWAP_CSS = `
|
|
15
|
+
.faceswap-layout { display: flex; flex-direction: row; align-items: stretch; }
|
|
16
|
+
.faceswap-col-left { width: 30%; min-width: 280px; background: white; border: 1px solid #e5e7eb; display: flex; flex-direction: column; }
|
|
17
|
+
.faceswap-col-right { flex: 1; background: white; border: 1px solid #e5e7eb; border-left: none; display: flex; flex-direction: column; }
|
|
18
|
+
.faceswap-col-right > div:first-child { flex: 0 0 auto; }
|
|
19
|
+
.faceswap-col-right > div:last-child { flex: 1; display: flex; flex-direction: column; }
|
|
20
|
+
.faceswap-col-right > div:last-child > .faceswap-result-area { flex: 1; min-height: 0; }
|
|
21
|
+
@media (max-width: 768px) {
|
|
22
|
+
.faceswap-layout { flex-direction: column; }
|
|
23
|
+
.faceswap-col-left { width: 100%; min-width: unset; }
|
|
24
|
+
.faceswap-col-right { border-left: 1px solid #e5e7eb; border-top: none; width: 100%; }
|
|
25
|
+
}
|
|
26
26
|
`;
|
|
27
27
|
function CreativeFaceSwapForYouCard({ title, description, ctaText, ctaHref, desktopImage, mobileImage, imageAlt = "", imageOnRight = true, titleColor = "#001B5E", descriptionColor = "#001B5E", ctaColor = "#FF5500", ctaHoverColor = "#ff1600", backgroundColor = "#F9F9F9", paddingClass = "py-12 md:py-16 lg:py-20", }) {
|
|
28
28
|
const effectiveMobileImage = mobileImage || desktopImage;
|
|
@@ -31,18 +31,18 @@ const defaultTexts = {
|
|
|
31
31
|
noMemes: 'No memes available',
|
|
32
32
|
};
|
|
33
33
|
const TEXT_SHADOW = '2px 2px 0 #000, -2px -2px 0 #000, 2px -2px 0 #000, -2px 2px 0 #000';
|
|
34
|
-
const MEME_CSS = `
|
|
35
|
-
.memegen-grid {
|
|
36
|
-
display: grid;
|
|
37
|
-
grid-template-columns: 1fr;
|
|
38
|
-
gap: 24px;
|
|
39
|
-
align-items: stretch;
|
|
40
|
-
}
|
|
41
|
-
@media (min-width: 1024px) {
|
|
42
|
-
.memegen-grid {
|
|
43
|
-
grid-template-columns: 1fr 1fr;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
34
|
+
const MEME_CSS = `
|
|
35
|
+
.memegen-grid {
|
|
36
|
+
display: grid;
|
|
37
|
+
grid-template-columns: 1fr;
|
|
38
|
+
gap: 24px;
|
|
39
|
+
align-items: stretch;
|
|
40
|
+
}
|
|
41
|
+
@media (min-width: 1024px) {
|
|
42
|
+
.memegen-grid {
|
|
43
|
+
grid-template-columns: 1fr 1fr;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
46
|
`;
|
|
47
47
|
function MemeGenerator({ memes: memesProp, config, fonts = defaultFonts, defaultMemeIndex = 0, theme = {}, texts = {}, imageProxyUrl, onDownload, }) {
|
|
48
48
|
const mergedTheme = Object.assign(Object.assign({}, defaultTheme), theme);
|
|
@@ -23,38 +23,38 @@ exports.DEFAULT_PASSWORD_RULES = {
|
|
|
23
23
|
requireNumber: true,
|
|
24
24
|
requireSpecialChar: false,
|
|
25
25
|
};
|
|
26
|
-
exports.PASSWORD_RESET_CSS = `
|
|
27
|
-
.pr-page{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;padding:24px 16px;box-sizing:border-box}
|
|
28
|
-
.pr-logo-wrap{margin-bottom:24px;text-align:center}
|
|
29
|
-
.pr-logo{display:block;max-width:200px;max-height:60px;width:auto;height:auto;object-fit:contain;margin:0 auto}
|
|
30
|
-
.pr-card{width:100%;max-width:var(--pr-card-max-width,400px);padding:32px 24px;border-radius:16px;box-sizing:border-box}
|
|
31
|
-
.pr-title{font-size:32px;font-weight:600;text-align:center;margin:0;line-height:1.2}
|
|
32
|
-
.pr-subtitle{font-size:20px;text-align:center;margin:24px 0 0 0;line-height:1.4;font-weight:400;opacity:0.8}
|
|
33
|
-
.pr-field{margin-bottom:16px}
|
|
34
|
-
.pr-label{display:block;font-size:20px;font-weight:500;margin-bottom:12px}
|
|
35
|
-
.pr-input-wrap{position:relative;display:flex;align-items:center}
|
|
36
|
-
.pr-input-icon{position:absolute;left:14px;width:20px;height:20px;flex-shrink:0;pointer-events:none;display:flex;align-items:center;justify-content:center}
|
|
37
|
-
.pr-input-icon svg{width:20px;height:20px;display:block}
|
|
38
|
-
.pr-input{width:100%;padding:14px 44px;border-radius:999px;border:1.5px solid;font-size:16px;outline:none;transition:border-color .18s,opacity .18s;box-sizing:border-box;font-family:inherit;line-height:1.4}
|
|
39
|
-
.pr-input::placeholder{color:var(--pr-ph,rgba(255,255,255,0.35))}
|
|
40
|
-
.pr-input:disabled{opacity:.6;cursor:not-allowed}
|
|
41
|
-
.pr-input-eye{position:absolute;right:14px;background:none;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:opacity .18s;line-height:0}
|
|
42
|
-
.pr-input-eye:hover{opacity:.7}
|
|
43
|
-
.pr-input-eye svg{width:20px;height:20px;display:block}
|
|
44
|
-
.pr-btn{width:100%;padding:16px 24px;border-radius:999px;border:none;font-size:18px;font-weight:700;cursor:pointer;transition:opacity .18s,transform .1s;margin-top:12px;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:8px;line-height:1}
|
|
45
|
-
.pr-btn:hover:not(:disabled){opacity:.85}
|
|
46
|
-
.pr-btn:active:not(:disabled){transform:scale(.98)}
|
|
47
|
-
.pr-btn:disabled{cursor:not-allowed;opacity:.5}
|
|
48
|
-
.pr-spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:pr-spin .65s linear infinite;flex-shrink:0}
|
|
49
|
-
@keyframes pr-spin{to{transform:rotate(360deg)}}
|
|
50
|
-
.pr-error-msg{font-size:15px;text-align:center;margin:16px 0 0 0;line-height:1.5}
|
|
51
|
-
.pr-success{text-align:center;padding:8px 0}
|
|
52
|
-
.pr-success-icon{font-size:52px;margin-bottom:24px;line-height:1}
|
|
53
|
-
.pr-success-text{font-size:18px;line-height:1.65;margin:0}
|
|
54
|
-
.pr-rules{margin:14px 0 4px 6px;display:flex;flex-direction:column;gap:10px}
|
|
55
|
-
.pr-rule{display:flex;align-items:center;gap:10px;font-size:15px;line-height:1.3;transition:color .2s}
|
|
56
|
-
.pr-rule-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0;transition:background-color .2s}
|
|
57
|
-
@media(min-width:768px){.pr-card{max-width:var(--pr-card-max-width,448px);padding:32px}.pr-subtitle{margin:32px 0 0 0}.pr-field{margin-bottom:20px}}
|
|
58
|
-
@media(min-width:1024px){.pr-card{max-width:var(--pr-card-max-width,512px);padding:40px}.pr-subtitle{margin:40px 0 0 0}.pr-field{margin-bottom:24px}}
|
|
26
|
+
exports.PASSWORD_RESET_CSS = `
|
|
27
|
+
.pr-page{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;padding:24px 16px;box-sizing:border-box}
|
|
28
|
+
.pr-logo-wrap{margin-bottom:24px;text-align:center}
|
|
29
|
+
.pr-logo{display:block;max-width:200px;max-height:60px;width:auto;height:auto;object-fit:contain;margin:0 auto}
|
|
30
|
+
.pr-card{width:100%;max-width:var(--pr-card-max-width,400px);padding:32px 24px;border-radius:16px;box-sizing:border-box}
|
|
31
|
+
.pr-title{font-size:32px;font-weight:600;text-align:center;margin:0;line-height:1.2}
|
|
32
|
+
.pr-subtitle{font-size:20px;text-align:center;margin:24px 0 0 0;line-height:1.4;font-weight:400;opacity:0.8}
|
|
33
|
+
.pr-field{margin-bottom:16px}
|
|
34
|
+
.pr-label{display:block;font-size:20px;font-weight:500;margin-bottom:12px}
|
|
35
|
+
.pr-input-wrap{position:relative;display:flex;align-items:center}
|
|
36
|
+
.pr-input-icon{position:absolute;left:14px;width:20px;height:20px;flex-shrink:0;pointer-events:none;display:flex;align-items:center;justify-content:center}
|
|
37
|
+
.pr-input-icon svg{width:20px;height:20px;display:block}
|
|
38
|
+
.pr-input{width:100%;padding:14px 44px;border-radius:999px;border:1.5px solid;font-size:16px;outline:none;transition:border-color .18s,opacity .18s;box-sizing:border-box;font-family:inherit;line-height:1.4}
|
|
39
|
+
.pr-input::placeholder{color:var(--pr-ph,rgba(255,255,255,0.35))}
|
|
40
|
+
.pr-input:disabled{opacity:.6;cursor:not-allowed}
|
|
41
|
+
.pr-input-eye{position:absolute;right:14px;background:none;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:opacity .18s;line-height:0}
|
|
42
|
+
.pr-input-eye:hover{opacity:.7}
|
|
43
|
+
.pr-input-eye svg{width:20px;height:20px;display:block}
|
|
44
|
+
.pr-btn{width:100%;padding:16px 24px;border-radius:999px;border:none;font-size:18px;font-weight:700;cursor:pointer;transition:opacity .18s,transform .1s;margin-top:12px;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:8px;line-height:1}
|
|
45
|
+
.pr-btn:hover:not(:disabled){opacity:.85}
|
|
46
|
+
.pr-btn:active:not(:disabled){transform:scale(.98)}
|
|
47
|
+
.pr-btn:disabled{cursor:not-allowed;opacity:.5}
|
|
48
|
+
.pr-spinner{width:18px;height:18px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:pr-spin .65s linear infinite;flex-shrink:0}
|
|
49
|
+
@keyframes pr-spin{to{transform:rotate(360deg)}}
|
|
50
|
+
.pr-error-msg{font-size:15px;text-align:center;margin:16px 0 0 0;line-height:1.5}
|
|
51
|
+
.pr-success{text-align:center;padding:8px 0}
|
|
52
|
+
.pr-success-icon{font-size:52px;margin-bottom:24px;line-height:1}
|
|
53
|
+
.pr-success-text{font-size:18px;line-height:1.65;margin:0}
|
|
54
|
+
.pr-rules{margin:14px 0 4px 6px;display:flex;flex-direction:column;gap:10px}
|
|
55
|
+
.pr-rule{display:flex;align-items:center;gap:10px;font-size:15px;line-height:1.3;transition:color .2s}
|
|
56
|
+
.pr-rule-dot{width:9px;height:9px;border-radius:50%;flex-shrink:0;transition:background-color .2s}
|
|
57
|
+
@media(min-width:768px){.pr-card{max-width:var(--pr-card-max-width,448px);padding:32px}.pr-subtitle{margin:32px 0 0 0}.pr-field{margin-bottom:20px}}
|
|
58
|
+
@media(min-width:1024px){.pr-card{max-width:var(--pr-card-max-width,512px);padding:40px}.pr-subtitle{margin:40px 0 0 0}.pr-field{margin-bottom:24px}}
|
|
59
59
|
`;
|
|
60
60
|
//# sourceMappingURL=constants.js.map
|
|
@@ -24,32 +24,32 @@ exports.SENDPIN_ERROR_REASONS = [
|
|
|
24
24
|
'ERROR_EN_ENVIO_SMS',
|
|
25
25
|
'ERROR_EN_ENVIO_MAIL',
|
|
26
26
|
];
|
|
27
|
-
exports.RECOVERY_CSS = `
|
|
28
|
-
.rp-page{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;padding:24px 16px;box-sizing:border-box}
|
|
29
|
-
.rp-logo-wrap{margin-bottom:24px;text-align:center}
|
|
30
|
-
.rp-logo{display:block;max-width:200px;max-height:60px;width:auto;height:auto;object-fit:contain;margin:0 auto}
|
|
31
|
-
.rp-card{width:100%;max-width:var(--rp-card-max-width,448px);padding:32px 24px;border-radius:16px;box-sizing:border-box}
|
|
32
|
-
.rp-title{font-size:24px;font-weight:600;text-align:center;margin:0 0 12px 0;line-height:1.3}
|
|
33
|
-
.rp-subtitle{font-size:16px;text-align:center;margin:0 0 24px 0;line-height:1.6;font-weight:400;opacity:0.8}
|
|
34
|
-
.rp-field{margin-bottom:16px}
|
|
35
|
-
.rp-label{display:block;font-size:15px;font-weight:500;margin-bottom:8px}
|
|
36
|
-
.rp-input-wrap{position:relative;display:flex;align-items:center}
|
|
37
|
-
.rp-input-icon{position:absolute;left:14px;width:20px;height:20px;flex-shrink:0;pointer-events:none;display:flex;align-items:center;justify-content:center}
|
|
38
|
-
.rp-input-icon svg{width:20px;height:20px;display:block}
|
|
39
|
-
.rp-input{width:100%;padding:14px 44px;border-radius:999px;border:1.5px solid;font-size:16px;outline:none;transition:border-color .18s,opacity .18s;box-sizing:border-box;font-family:inherit;line-height:1.4}
|
|
40
|
-
.rp-input::placeholder{color:var(--rp-ph,rgba(255,255,255,0.35))}
|
|
41
|
-
.rp-input:disabled{opacity:.6;cursor:not-allowed}
|
|
42
|
-
.rp-btn{width:100%;padding:14px 24px;border-radius:999px;border:none;font-size:16px;font-weight:700;cursor:pointer;transition:opacity .18s,transform .1s;margin-top:8px;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:8px;line-height:1}
|
|
43
|
-
.rp-btn:hover:not(:disabled){opacity:.85}
|
|
44
|
-
.rp-btn:active:not(:disabled){transform:scale(.98)}
|
|
45
|
-
.rp-btn:disabled{cursor:not-allowed;opacity:.5}
|
|
46
|
-
.rp-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:rp-spin .65s linear infinite;flex-shrink:0}
|
|
47
|
-
@keyframes rp-spin{to{transform:rotate(360deg)}}
|
|
48
|
-
.rp-error-msg{font-size:14px;text-align:center;margin:12px 0 0 0;line-height:1.5}
|
|
49
|
-
.rp-success{text-align:center;padding:8px 0}
|
|
50
|
-
.rp-success-icon{font-size:48px;margin-bottom:20px;line-height:1}
|
|
51
|
-
.rp-success-text{font-size:17px;line-height:1.65;margin:0}
|
|
52
|
-
@media(min-width:768px){.rp-card{max-width:var(--rp-card-max-width,448px);padding:32px}}
|
|
53
|
-
@media(min-width:1024px){.rp-card{max-width:var(--rp-card-max-width,512px);padding:40px}}
|
|
27
|
+
exports.RECOVERY_CSS = `
|
|
28
|
+
.rp-page{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:100vh;padding:24px 16px;box-sizing:border-box}
|
|
29
|
+
.rp-logo-wrap{margin-bottom:24px;text-align:center}
|
|
30
|
+
.rp-logo{display:block;max-width:200px;max-height:60px;width:auto;height:auto;object-fit:contain;margin:0 auto}
|
|
31
|
+
.rp-card{width:100%;max-width:var(--rp-card-max-width,448px);padding:32px 24px;border-radius:16px;box-sizing:border-box}
|
|
32
|
+
.rp-title{font-size:24px;font-weight:600;text-align:center;margin:0 0 12px 0;line-height:1.3}
|
|
33
|
+
.rp-subtitle{font-size:16px;text-align:center;margin:0 0 24px 0;line-height:1.6;font-weight:400;opacity:0.8}
|
|
34
|
+
.rp-field{margin-bottom:16px}
|
|
35
|
+
.rp-label{display:block;font-size:15px;font-weight:500;margin-bottom:8px}
|
|
36
|
+
.rp-input-wrap{position:relative;display:flex;align-items:center}
|
|
37
|
+
.rp-input-icon{position:absolute;left:14px;width:20px;height:20px;flex-shrink:0;pointer-events:none;display:flex;align-items:center;justify-content:center}
|
|
38
|
+
.rp-input-icon svg{width:20px;height:20px;display:block}
|
|
39
|
+
.rp-input{width:100%;padding:14px 44px;border-radius:999px;border:1.5px solid;font-size:16px;outline:none;transition:border-color .18s,opacity .18s;box-sizing:border-box;font-family:inherit;line-height:1.4}
|
|
40
|
+
.rp-input::placeholder{color:var(--rp-ph,rgba(255,255,255,0.35))}
|
|
41
|
+
.rp-input:disabled{opacity:.6;cursor:not-allowed}
|
|
42
|
+
.rp-btn{width:100%;padding:14px 24px;border-radius:999px;border:none;font-size:16px;font-weight:700;cursor:pointer;transition:opacity .18s,transform .1s;margin-top:8px;font-family:inherit;display:flex;align-items:center;justify-content:center;gap:8px;line-height:1}
|
|
43
|
+
.rp-btn:hover:not(:disabled){opacity:.85}
|
|
44
|
+
.rp-btn:active:not(:disabled){transform:scale(.98)}
|
|
45
|
+
.rp-btn:disabled{cursor:not-allowed;opacity:.5}
|
|
46
|
+
.rp-spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,.3);border-top-color:#fff;border-radius:50%;animation:rp-spin .65s linear infinite;flex-shrink:0}
|
|
47
|
+
@keyframes rp-spin{to{transform:rotate(360deg)}}
|
|
48
|
+
.rp-error-msg{font-size:14px;text-align:center;margin:12px 0 0 0;line-height:1.5}
|
|
49
|
+
.rp-success{text-align:center;padding:8px 0}
|
|
50
|
+
.rp-success-icon{font-size:48px;margin-bottom:20px;line-height:1}
|
|
51
|
+
.rp-success-text{font-size:17px;line-height:1.65;margin:0}
|
|
52
|
+
@media(min-width:768px){.rp-card{max-width:var(--rp-card-max-width,448px);padding:32px}}
|
|
53
|
+
@media(min-width:1024px){.rp-card{max-width:var(--rp-card-max-width,512px);padding:40px}}
|
|
54
54
|
`;
|
|
55
55
|
//# sourceMappingURL=constants.js.map
|
|
@@ -231,13 +231,13 @@ function SpinningWheel({ config: configProp, onResult, onError, canSpin = true,
|
|
|
231
231
|
}
|
|
232
232
|
};
|
|
233
233
|
const backgroundAsset = currentTheme.backgroundAsset;
|
|
234
|
-
return ((0, jsx_runtime_1.jsxs)("div", { style: { position: 'relative', display: 'flex', flexDirection: 'column', alignItems: 'center', gap: '32px', padding: '32px', minHeight: '100vh', overflow: 'hidden' }, children: [backgroundAsset && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("style", { children: `
|
|
235
|
-
.sw-bg-desktop { display: block; }
|
|
236
|
-
.sw-bg-mobile { display: none; }
|
|
237
|
-
@media (max-width: 767px) {
|
|
238
|
-
.sw-bg-desktop { display: none; }
|
|
239
|
-
.sw-bg-mobile { display: block; }
|
|
240
|
-
}
|
|
234
|
+
return ((0, jsx_runtime_1.jsxs)("div", { style: { position: 'relative', display: 'flex', flexDirection: 'column', alignItems: 'center', gap: '32px', padding: '32px', minHeight: '100vh', overflow: 'hidden' }, children: [backgroundAsset && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("style", { children: `
|
|
235
|
+
.sw-bg-desktop { display: block; }
|
|
236
|
+
.sw-bg-mobile { display: none; }
|
|
237
|
+
@media (max-width: 767px) {
|
|
238
|
+
.sw-bg-desktop { display: none; }
|
|
239
|
+
.sw-bg-mobile { display: block; }
|
|
240
|
+
}
|
|
241
241
|
` }), (0, jsx_runtime_1.jsx)("img", { src: backgroundAsset.desktop, alt: "", className: "sw-bg-desktop", style: {
|
|
242
242
|
position: 'absolute',
|
|
243
243
|
top: 0,
|
|
@@ -148,10 +148,12 @@ export interface WallpapersNamePageProps {
|
|
|
148
148
|
texts?: WallpapersNamePageTexts;
|
|
149
149
|
theme?: WallpapersNamePageTheme;
|
|
150
150
|
howItWorksSteps?: WallpapersNameHowItWorksStep[];
|
|
151
|
-
aeTemplatesConfig
|
|
151
|
+
aeTemplatesConfig?: AETemplatesConfig;
|
|
152
152
|
aeTemplatesTexts?: AETemplatesTexts;
|
|
153
153
|
aeTemplatesTheme?: AETemplatesTheme;
|
|
154
|
+
componentProps?: WallpapersNameProps;
|
|
155
|
+
backgroundColor?: string;
|
|
154
156
|
}
|
|
155
|
-
export declare function WallpapersNamePage({ texts, theme, howItWorksSteps, aeTemplatesConfig, aeTemplatesTexts, aeTemplatesTheme, }: WallpapersNamePageProps): import("react/jsx-runtime").JSX.Element;
|
|
157
|
+
export declare function WallpapersNamePage({ texts, theme, howItWorksSteps, aeTemplatesConfig, aeTemplatesTexts, aeTemplatesTheme, componentProps, backgroundColor, }: WallpapersNamePageProps): import("react/jsx-runtime").JSX.Element | null;
|
|
156
158
|
export default WallpapersName;
|
|
157
159
|
//# sourceMappingURL=WallpapersName.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WallpapersName.d.ts","sourceRoot":"","sources":["../../src/components/WallpapersName.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,kBAAkB;IACjC,EAAE,EAAE,MAAM,GAAG,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB;AAED,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,mBAAmB;IAClC,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAA;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,oBAAoB,CAAC,EAAE,MAAM,CAAA;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,MAAM,WAAW,mBAAmB;IAClC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,oBAAoB;IAEnC,M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EAAE,uBAAuB,kDA2GzB;AAED,eAAe,cAAc,CAAA"}
|
|
@@ -448,10 +448,15 @@ const defaultWallpapersNamePageTheme = {
|
|
|
448
448
|
textColor: '#001B5E',
|
|
449
449
|
backgroundColor: '#F9F9F9',
|
|
450
450
|
};
|
|
451
|
-
function WallpapersNamePage({ texts = {}, theme = {}, howItWorksSteps = [], aeTemplatesConfig, aeTemplatesTexts, aeTemplatesTheme, }) {
|
|
451
|
+
function WallpapersNamePage({ texts = {}, theme = {}, howItWorksSteps = [], aeTemplatesConfig, aeTemplatesTexts, aeTemplatesTheme, componentProps, backgroundColor, }) {
|
|
452
452
|
const mergedTexts = Object.assign(Object.assign({}, defaultWallpapersNamePageTexts), texts);
|
|
453
453
|
const mergedTheme = Object.assign(Object.assign({}, defaultWallpapersNamePageTheme), theme);
|
|
454
454
|
const [currentStep, setCurrentStep] = (0, react_1.useState)(0);
|
|
455
|
+
if (componentProps && !aeTemplatesConfig) {
|
|
456
|
+
return ((0, jsx_runtime_1.jsx)("div", { style: { backgroundColor: backgroundColor !== null && backgroundColor !== void 0 ? backgroundColor : '#F9F9F9' }, children: (0, jsx_runtime_1.jsx)(WallpapersName, Object.assign({}, componentProps)) }));
|
|
457
|
+
}
|
|
458
|
+
if (!aeTemplatesConfig)
|
|
459
|
+
return null;
|
|
455
460
|
return ((0, jsx_runtime_1.jsxs)("div", { style: { backgroundColor: mergedTheme.backgroundColor }, children: [(0, jsx_runtime_1.jsx)("section", { style: { padding: '48px 40px 0' }, children: (0, jsx_runtime_1.jsxs)("div", { style: { maxWidth: '1440px', margin: '0 auto' }, children: [(0, jsx_runtime_1.jsx)("h1", { style: {
|
|
456
461
|
fontSize: 'clamp(1.75rem, 3vw, 2.5rem)',
|
|
457
462
|
fontWeight: 700,
|