infinity-forge 0.0.7 → 0.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sites/components/counter/component.d.ts +0 -2
- package/dist/sites/components/counter/component.js +0 -28
- package/dist/sites/components/counter/componente.stories.js +1 -1
- package/dist/sites/components/counter/index.d.ts +0 -1
- package/dist/sites/components/counter/index.js +0 -18
- package/dist/sites/components/counter/interfaces.d.ts +0 -12
- package/dist/sites/components/counter/versions/version-01/box/index.d.ts +0 -2
- package/dist/sites/components/counter/versions/version-01/box/index.js +0 -38
- package/dist/sites/components/head/component.d.ts +0 -2
- package/dist/sites/components/head/index.d.ts +0 -2
- package/dist/sites/components/head/index.js +0 -19
- package/dist/sites/components/header-link/componente.stories.js +3 -3
- package/dist/sites/components/header-link/interfaces.d.ts +1 -2
- package/dist/sites/components/mvv/component.d.ts +0 -2
- package/dist/sites/components/mvv/component.js +0 -28
- package/dist/sites/components/mvv/componente.stories.js +2 -2
- package/dist/sites/components/mvv/index.d.ts +0 -1
- package/dist/sites/components/mvv/index.js +0 -18
- package/dist/sites/components/mvv/interfaces.d.ts +0 -9
- package/dist/sites/components/mvv/versions/index.d.ts +0 -1
- package/dist/sites/components/mvv/versions/index.js +0 -18
- package/dist/sites/components/mvv/versions/version-01/component.d.ts +0 -2
- package/dist/sites/components/mvv/versions/version-01/component.js +0 -35
- package/dist/sites/components/mvv/versions/version-01/component.stories.js +2 -2
- package/dist/sites/context/configs/context.d.ts +0 -6
- package/dist/sites/context/configs/context.js +0 -21
- package/dist/sites/context/configs/index.d.ts +0 -2
- package/dist/sites/context/configs/index.js +0 -19
- package/dist/sites/context/configs/scripts/acept-cookies/index.js +0 -70
- package/dist/sites/context/configs/scripts/acept-ratedr/index.js +0 -68
- package/dist/sites/context/configs/scripts/component.d.ts +0 -2
- package/dist/sites/context/configs/scripts/component.js +0 -42
- package/dist/sites/context/configs/scripts/index.d.ts +0 -5
- package/dist/sites/context/configs/scripts/index.js +0 -22
- package/dist/sites/context/configs/scripts/interfaces.d.ts +0 -6
- package/dist/sites/context/configs/scripts/whatsapp-fixed/index.js +0 -38
- package/dist/sites/context/index.d.ts +0 -1
- package/dist/sites/context/index.js +0 -18
- package/dist/system/components/data/sign-in/index.js +2 -2
- package/dist/system/components/data/sign-in/index.js.map +1 -1
- package/dist/system/components/data/sign-up/index.js +2 -2
- package/dist/system/components/data/sign-up/index.js.map +1 -1
- package/dist/system/components/layout/header/components/menu-right/profile/index.js +1 -1
- package/dist/system/components/layout/header/components/menu-right/profile/index.js.map +1 -1
- package/dist/system/hooks/ui/use-table/components/table/index.js +1 -1
- package/dist/system/hooks/ui/use-table/components/table/index.js.map +1 -1
- package/dist/ui/components/accordion/index..js +2 -2
- package/dist/ui/components/accordion/index..js.map +1 -1
- package/dist/ui/components/accordion/interfaces.d.ts +2 -3
- package/dist/ui/components/breadcrumb/index.d.ts +0 -2
- package/dist/ui/components/breadcrumb/index.js +0 -68
- package/dist/ui/components/button/component.d.ts +0 -2
- package/dist/ui/components/button/component.js +0 -62
- package/dist/ui/components/button/index.d.ts +0 -2
- package/dist/ui/components/button/index.js +0 -19
- package/dist/ui/components/button/interfaces.d.ts +0 -10
- package/dist/ui/components/container/index.d.ts +0 -2
- package/dist/ui/components/error-boundary/component.d.ts +0 -2
- package/dist/ui/components/error-boundary/component.js +0 -12
- package/dist/ui/components/error-boundary/error-body.d.ts +0 -2
- package/dist/ui/components/error-boundary/index.d.ts +0 -2
- package/dist/ui/components/error-boundary/index.js +0 -19
- package/dist/ui/components/form/checkbox/index.js +2 -2
- package/dist/ui/components/form/handler/custom-submit/index.d.ts +1 -1
- package/dist/ui/components/form/handler/custom-submit/index.js +1 -1
- package/dist/ui/components/form/handler/index.d.ts +1 -1
- package/dist/ui/components/form/handler/index.js +3 -3
- package/dist/ui/components/form/handler/interfaces.d.ts +2 -2
- package/dist/ui/components/form/helpers/index.d.ts +1 -1
- package/dist/ui/components/form/helpers/index.js +1 -1
- package/dist/ui/components/form/index.d.ts +12 -12
- package/dist/ui/components/form/index.js +12 -12
- package/dist/ui/components/form/input/index.d.ts +1 -1
- package/dist/ui/components/form/input/index.js +2 -2
- package/dist/ui/components/form/input-control/error/index.d.ts +1 -1
- package/dist/ui/components/form/input-control/error/index.js +1 -1
- package/dist/ui/components/form/input-control/index.d.ts +1 -1
- package/dist/ui/components/form/input-control/index.js +5 -5
- package/dist/ui/components/form/input-control/label/index.js +1 -1
- package/dist/ui/components/form/input-control/loader-input/index.js +2 -2
- package/dist/ui/components/form/input-cpf-cnpj/index.d.ts +0 -2
- package/dist/ui/components/form/input-cpf-cnpj/index.js +0 -38
- package/dist/ui/components/form/input-file/index.d.ts +1 -1
- package/dist/ui/components/form/input-file/index.js +1 -1
- package/dist/ui/components/form/input-mask/index.d.ts +1 -1
- package/dist/ui/components/form/input-mask/index.js +1 -1
- package/dist/ui/components/form/input-password/index.d.ts +0 -2
- package/dist/ui/components/form/input-password/index.js +0 -49
- package/dist/ui/components/form/radio/index.js +2 -2
- package/dist/ui/components/form/select/index.d.ts +1 -1
- package/dist/ui/components/form/select/index.js +2 -2
- package/dist/ui/components/form/select/interfaces.d.ts +1 -1
- package/dist/ui/components/form/textarea/index.d.ts +1 -1
- package/dist/ui/components/form/textarea/index.js +2 -2
- package/dist/ui/components/index.d.ts +0 -9
- package/dist/ui/components/index.js +0 -26
- package/dist/ui/components/index.js.map +1 -1
- package/dist/ui/components/loader-circle/index.d.ts +0 -2
- package/dist/ui/components/menu-mobile/components/nav-links/index.d.ts +0 -3
- package/dist/ui/components/menu-mobile/components/nav-links/index.js +0 -66
- package/dist/ui/components/menu-mobile/components/nav-links/interfaces.d.ts +0 -5
- package/dist/ui/components/menu-mobile/index.d.ts +0 -2
- package/dist/ui/components/menu-mobile/index.js +0 -78
- package/dist/ui/components/menu-mobile/top/index.d.ts +0 -2
- package/dist/ui/components/menu-mobile/top/index.js +0 -50
- package/dist/ui/components/menu-mobile/top/interfaces.d.ts +0 -6
- package/dist/ui/components/next-image/index.d.ts +0 -2
- package/dist/ui/components/next-image/index.js +0 -41
- package/dist/ui/contexts/index.d.ts +3 -3
- package/dist/ui/contexts/index.js +3 -3
- package/dist/ui/contexts/theme/context.js +1 -1
- package/dist/ui/contexts/theme/index.d.ts +2 -2
- package/dist/ui/contexts/theme/index.js +2 -2
- package/dist/ui/contexts/toast/index.d.ts +1 -1
- package/dist/ui/contexts/toast/index.js +3 -3
- package/dist/ui/contexts/toast/toast-item/index.d.ts +1 -1
- package/dist/ui/contexts/toast/toast-item/index.js +1 -1
- package/dist/ui/hooks/index.d.ts +2 -2
- package/dist/ui/hooks/index.js +2 -2
- package/dist/ui/icons/index.d.ts +39 -39
- package/dist/ui/icons/index.js +39 -39
- package/dist/ui/icons/render/Carousel-left-icon.d.ts +1 -1
- package/dist/ui/icons/render/Carousel-right-icon.d.ts +1 -1
- package/dist/ui/icons/render/Check.d.ts +1 -1
- package/dist/ui/icons/render/Clock.d.ts +1 -1
- package/dist/ui/icons/render/Close.d.ts +1 -1
- package/dist/ui/icons/render/Codie.d.ts +1 -1
- package/dist/ui/icons/render/Edit.d.ts +1 -1
- package/dist/ui/icons/render/Email.d.ts +1 -1
- package/dist/ui/icons/render/Facebook.d.ts +1 -1
- package/dist/ui/icons/render/File.d.ts +1 -1
- package/dist/ui/icons/render/Folder.d.ts +1 -1
- package/dist/ui/icons/render/Home.d.ts +1 -1
- package/dist/ui/icons/render/Insagram.d.ts +1 -1
- package/dist/ui/icons/render/Linkedin.d.ts +1 -1
- package/dist/ui/icons/render/Lupa.d.ts +1 -1
- package/dist/ui/icons/render/Map.d.ts +1 -1
- package/dist/ui/icons/render/Microphone.d.ts +1 -1
- package/dist/ui/icons/render/Minus.d.ts +1 -1
- package/dist/ui/icons/render/NavDown.d.ts +1 -1
- package/dist/ui/icons/render/NavLeft.d.ts +1 -1
- package/dist/ui/icons/render/NavRight.d.ts +1 -1
- package/dist/ui/icons/render/NavUp.d.ts +1 -1
- package/dist/ui/icons/render/Phone.d.ts +1 -1
- package/dist/ui/icons/render/Pin.d.ts +1 -1
- package/dist/ui/icons/render/Play.d.ts +1 -1
- package/dist/ui/icons/render/Plus.d.ts +1 -1
- package/dist/ui/icons/render/Share.d.ts +1 -1
- package/dist/ui/icons/render/TikTok.d.ts +1 -1
- package/dist/ui/icons/render/Twitter.d.ts +1 -1
- package/dist/ui/icons/render/YouTube.d.ts +1 -1
- package/dist/ui/icons/render/box.d.ts +1 -1
- package/dist/ui/icons/render/component.d.ts +1 -1
- package/dist/ui/icons/render/component.js +1 -1
- package/dist/ui/icons/render/phone-message.d.ts +1 -1
- package/dist/ui/icons/render/transparent-mail.d.ts +1 -1
- package/dist/ui/icons/render/transparent-phone.d.ts +1 -1
- package/dist/ui/icons/render/user.d.ts +1 -1
- package/dist/ui/icons/render/whats.d.ts +1 -1
- package/dist/ui/icons/render-icon/index.d.ts +1 -1
- package/dist/ui/icons/render-icon/index.js +1 -1
- package/dist/ui/index.d.ts +0 -5
- package/dist/ui/index.js +0 -22
- package/dist/ui/utils/facebook/index.d.ts +1 -1
- package/dist/ui/utils/facebook/index.js +1 -1
- package/dist/ui/utils/index.d.ts +5 -5
- package/dist/ui/utils/index.js +5 -5
- package/dist/ui/utils/libs/@tanstack/index.d.ts +1 -1
- package/dist/ui/utils/libs/@tanstack/index.js +1 -1
- package/dist/ui/utils/libs/@tanstack/react-query/index.d.ts +1 -1
- package/dist/ui/utils/libs/@tanstack/react-query/index.js +1 -1
- package/dist/ui/utils/libs/index.d.ts +2 -2
- package/dist/ui/utils/libs/index.js +2 -2
- package/dist/ui/utils/libs/next/index.d.ts +1 -1
- package/dist/ui/utils/libs/next/index.js +1 -1
- package/dist/ui/utils/validations/index.d.ts +2 -2
- package/dist/ui/utils/validations/index.js +2 -2
- package/package.json +2 -2
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.Counter = void 0;
|
|
15
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
-
var versions_1 = require("./versions");
|
|
17
|
-
function Counter(_a) {
|
|
18
|
-
var version = _a.version, data = _a.data;
|
|
19
|
-
switch (version) {
|
|
20
|
-
case 'Version01':
|
|
21
|
-
return (0, jsx_runtime_1.jsx)(versions_1.Version01, __assign({}, data));
|
|
22
|
-
default:
|
|
23
|
-
;
|
|
24
|
-
(0, jsx_runtime_1.jsx)(versions_1.Version01, __assign({}, data));
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
exports.Counter = Counter;
|
|
28
|
-
//# sourceMappingURL=component.js.map
|
|
@@ -13,7 +13,7 @@ var __assign = (this && this.__assign) || function () {
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.Default = void 0;
|
|
15
15
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
-
var component_1 = require("./component");
|
|
16
|
+
var component_1 = require("./component.js");
|
|
17
17
|
exports.default = {
|
|
18
18
|
component: component_1.Counter,
|
|
19
19
|
title: 'Components/Generics/Counter',
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './component';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./component"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.Box = void 0;
|
|
27
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var react_1 = require("react");
|
|
29
|
-
var ui_1 = require("@/ui");
|
|
30
|
-
var S = __importStar(require("./styles"));
|
|
31
|
-
function Box(_a) {
|
|
32
|
-
var titulo = _a.titulo, numero = _a.numero;
|
|
33
|
-
var ref = (0, react_1.useRef)(null);
|
|
34
|
-
// const isVisible = useIntersection({ element: ref, once: true })
|
|
35
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'Box', children: (0, jsx_runtime_1.jsxs)(S.Box, { ref: ref, "data-aos": 'fade-up', "data-aos-duration": '1000', "data-aos-delay": '200', "data-aos-easing": 'ease-in', children: [(0, jsx_runtime_1.jsx)("div", { className: 'font-64-medium', children: (0, jsx_runtime_1.jsx)("span", { children: "+" }) }), (0, jsx_runtime_1.jsx)("span", { className: 'font-24-regular title uppercase', children: titulo })] }) }));
|
|
36
|
-
}
|
|
37
|
-
exports.Box = Box;
|
|
38
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./component"), exports);
|
|
18
|
-
__exportStar(require("./interfaces"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -13,9 +13,9 @@ var __assign = (this && this.__assign) || function () {
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.Default = void 0;
|
|
15
15
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
-
var data_1 = require("./data");
|
|
17
|
-
var component_1 = require("./component");
|
|
18
|
-
var component_2 = require("./versions/version-01/component");
|
|
16
|
+
var data_1 = require("./data.js");
|
|
17
|
+
var component_1 = require("./component.js");
|
|
18
|
+
var component_2 = require("./versions/version-01/component.js");
|
|
19
19
|
exports.default = {
|
|
20
20
|
component: component_1.HeaderLink,
|
|
21
21
|
title: 'Components/Generics/HeaderLink',
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
|
-
exports.MVV = void 0;
|
|
15
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
-
var versions_1 = require("./versions");
|
|
17
|
-
function MVV(_a) {
|
|
18
|
-
var version = _a.version, data = _a.data;
|
|
19
|
-
switch (version) {
|
|
20
|
-
case 'Version01':
|
|
21
|
-
return (0, jsx_runtime_1.jsx)(versions_1.Version01, __assign({}, data));
|
|
22
|
-
default:
|
|
23
|
-
;
|
|
24
|
-
(0, jsx_runtime_1.jsx)(versions_1.Version01, __assign({}, data));
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
exports.MVV = MVV;
|
|
28
|
-
//# sourceMappingURL=component.js.map
|
|
@@ -13,8 +13,8 @@ var __assign = (this && this.__assign) || function () {
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.Default = void 0;
|
|
15
15
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
-
var data_1 = require("./data");
|
|
17
|
-
var component_1 = require("./component");
|
|
16
|
+
var data_1 = require("./data.js");
|
|
17
|
+
var component_1 = require("./component.js");
|
|
18
18
|
exports.default = {
|
|
19
19
|
component: component_1.MVV,
|
|
20
20
|
title: 'Components/Generics/MVV',
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './component';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./component"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './version-01/component';
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./version-01/component"), exports);
|
|
18
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
26
|
-
exports.Version01 = void 0;
|
|
27
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
28
|
-
var ui_1 = require("@/ui");
|
|
29
|
-
var S = __importStar(require("./styles"));
|
|
30
|
-
function Version01(_a) {
|
|
31
|
-
var list = _a.list;
|
|
32
|
-
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'MVV', children: (0, jsx_runtime_1.jsx)(S.MVV, { children: (0, jsx_runtime_1.jsx)(ui_1.Container, { children: list.map(function (mvv) { return ((0, jsx_runtime_1.jsxs)("div", { className: 'mvv-card', children: [mvv.imagem && ((0, jsx_runtime_1.jsx)("div", { className: 'icon', children: (0, jsx_runtime_1.jsx)(ui_1.NextImage, { src: mvv.imagem }) })), mvv.titulo && (0, jsx_runtime_1.jsx)("h2", { className: 'font-24-medium', children: mvv.titulo }), mvv.descricao && ((0, jsx_runtime_1.jsx)("div", { className: 'font-16 description', dangerouslySetInnerHTML: { __html: mvv.descricao || '' } }))] }, mvv.id)); }) }) }) }));
|
|
33
|
-
}
|
|
34
|
-
exports.Version01 = Version01;
|
|
35
|
-
//# sourceMappingURL=component.js.map
|
|
@@ -13,8 +13,8 @@ var __assign = (this && this.__assign) || function () {
|
|
|
13
13
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
14
|
exports.Version01MVV = void 0;
|
|
15
15
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
16
|
-
var data_1 = require("../../data");
|
|
17
|
-
var component_1 = require("./component");
|
|
16
|
+
var data_1 = require("../../data.js");
|
|
17
|
+
var component_1 = require("./component.js");
|
|
18
18
|
exports.default = {
|
|
19
19
|
title: 'Components/Generics/MVV',
|
|
20
20
|
component: component_1.Version01,
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { IConfigsSiteContext, IContextConfigSite } from './interfaces';
|
|
3
|
-
export declare const ConfigSiteContext: import("react").Context<IConfigsSiteContext>;
|
|
4
|
-
declare function ConfigSiteProvider({ children }: IContextConfigSite): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function useConfigSite(): IConfigsSiteContext;
|
|
6
|
-
export { ConfigSiteProvider, useConfigSite };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.useConfigSite = exports.ConfigSiteProvider = exports.ConfigSiteContext = void 0;
|
|
4
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
-
var react_1 = require("react");
|
|
6
|
-
var scripts_1 = require("./scripts");
|
|
7
|
-
var sites_1 = require("@/sites");
|
|
8
|
-
var ui_1 = require("@/ui");
|
|
9
|
-
var styled_components_1 = require("styled-components");
|
|
10
|
-
exports.ConfigSiteContext = (0, react_1.createContext)(undefined);
|
|
11
|
-
function ConfigSiteProvider(_a) {
|
|
12
|
-
var children = _a.children;
|
|
13
|
-
return ((0, jsx_runtime_1.jsxs)(exports.ConfigSiteContext.Provider, { value: undefined, children: [(0, jsx_runtime_1.jsx)(sites_1.HeadComponent, {}), (0, jsx_runtime_1.jsx)("div", { id: 'focus-to-top-page' }), (0, jsx_runtime_1.jsx)(styled_components_1.ThemeProvider, { theme: JSON.parse(process.env.theme), children: process.env.configurations && ((0, jsx_runtime_1.jsx)(scripts_1.Scripts, { children: (0, jsx_runtime_1.jsx)(ui_1.LoaderOnRouteChange, { children: children }), informations: JSON.parse(process.env.configurations) })) })] }));
|
|
14
|
-
}
|
|
15
|
-
exports.ConfigSiteProvider = ConfigSiteProvider;
|
|
16
|
-
function useConfigSite() {
|
|
17
|
-
var context = (0, react_1.useContext)(exports.ConfigSiteContext);
|
|
18
|
-
return context;
|
|
19
|
-
}
|
|
20
|
-
exports.useConfigSite = useConfigSite;
|
|
21
|
-
//# sourceMappingURL=context.js.map
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./context"), exports);
|
|
18
|
-
__exportStar(require("./interfaces"), exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.AceptCookies = void 0;
|
|
30
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
-
var react_1 = require("react");
|
|
32
|
-
var link_1 = __importDefault(require("next/link"));
|
|
33
|
-
var router_1 = require("next/router");
|
|
34
|
-
var ui_1 = require("@/ui");
|
|
35
|
-
var S = __importStar(require("./styles"));
|
|
36
|
-
function AceptCookies(_a) {
|
|
37
|
-
var children = _a.children;
|
|
38
|
-
var _b = (0, react_1.useState)('aceito'), acept = _b[0], setAcept = _b[1];
|
|
39
|
-
function getAcept() {
|
|
40
|
-
setAcept('aceito');
|
|
41
|
-
(0, ui_1.setCookie)('acept-cookie', 'aceito', 30);
|
|
42
|
-
}
|
|
43
|
-
function getRecuse() {
|
|
44
|
-
setAcept('recusado');
|
|
45
|
-
(0, ui_1.setCookie)('acept-cookie', 'recusado', 30);
|
|
46
|
-
}
|
|
47
|
-
var router = (0, router_1.useRouter)();
|
|
48
|
-
(0, react_1.useEffect)(function () {
|
|
49
|
-
if (process.browser) {
|
|
50
|
-
var aceptCookie = (0, ui_1.getCookie)('acept-cookie');
|
|
51
|
-
if (!aceptCookie || (aceptCookie !== 'aceito' && aceptCookie !== 'recusado')) {
|
|
52
|
-
setAcept('default');
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
if (aceptCookie === 'aceito') {
|
|
56
|
-
setAcept('aceito');
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
if (aceptCookie === 'recusado') {
|
|
60
|
-
setAcept('recusado');
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}, []);
|
|
65
|
-
// console.log(acept === "default" ||
|
|
66
|
-
// acept === "aceito")
|
|
67
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(acept === 'default' || acept === 'recusado') && !router.asPath.includes('politica') && ((0, jsx_runtime_1.jsxs)(S.AceptCookies, { id: 'cookies', children: [(0, jsx_runtime_1.jsx)("div", { className: 'overlay' }), (0, jsx_runtime_1.jsxs)("div", { className: 'bottom', children: [(0, jsx_runtime_1.jsxs)("p", { children: ["Utilizamos cookies para oferecer melhor experi\u00EAncia, melhorar o desempenho, analisar como voc\u00EA interage em nosso site e personalizar conte\u00FAdo. ", (0, jsx_runtime_1.jsx)(link_1.default, { href: '/politica-e-privacidade', children: "Saiba mais." })] }), (0, jsx_runtime_1.jsxs)("div", { className: 'actions-cookie', children: [acept !== 'recusado' && ((0, jsx_runtime_1.jsx)("button", { type: 'button', className: 'recusar', onClick: getRecuse, children: "Recusar Cookies" })), (0, jsx_runtime_1.jsx)("button", { type: 'button', className: 'aceitar', onClick: getAcept, children: "Aceitar Cookies" })] })] })] })), (acept === 'default' || acept === 'aceito' || router.asPath.includes('politica')) && (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children })] }));
|
|
68
|
-
}
|
|
69
|
-
exports.AceptCookies = AceptCookies;
|
|
70
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
|
19
|
-
if (mod && mod.__esModule) return mod;
|
|
20
|
-
var result = {};
|
|
21
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
22
|
-
__setModuleDefault(result, mod);
|
|
23
|
-
return result;
|
|
24
|
-
};
|
|
25
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
26
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
27
|
-
};
|
|
28
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.AceptRatedr = void 0;
|
|
30
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
|
-
var react_1 = require("react");
|
|
32
|
-
var link_1 = __importDefault(require("next/link"));
|
|
33
|
-
var router_1 = require("next/router");
|
|
34
|
-
var ui_1 = require("@/ui");
|
|
35
|
-
var S = __importStar(require("./styles"));
|
|
36
|
-
function AceptRatedr(_a) {
|
|
37
|
-
var children = _a.children;
|
|
38
|
-
var _b = (0, react_1.useState)('aceito'), acept = _b[0], setAcept = _b[1];
|
|
39
|
-
var router = (0, router_1.useRouter)();
|
|
40
|
-
function getAcept() {
|
|
41
|
-
setAcept('aceito');
|
|
42
|
-
(0, ui_1.setCookie)('acept-ratedr', 'aceito', 30);
|
|
43
|
-
}
|
|
44
|
-
function getRecuse() {
|
|
45
|
-
setAcept('recusado');
|
|
46
|
-
(0, ui_1.setCookie)('acept-ratedr', 'recusado', 30);
|
|
47
|
-
}
|
|
48
|
-
(0, react_1.useEffect)(function () {
|
|
49
|
-
if (process.browser) {
|
|
50
|
-
var aceptRatedr = (0, ui_1.getCookie)('acept-ratedr');
|
|
51
|
-
if (!aceptRatedr || (aceptRatedr !== 'aceito' && aceptRatedr !== 'recusado')) {
|
|
52
|
-
setAcept('default');
|
|
53
|
-
return;
|
|
54
|
-
}
|
|
55
|
-
if (aceptRatedr === 'aceito') {
|
|
56
|
-
setAcept('aceito');
|
|
57
|
-
return;
|
|
58
|
-
}
|
|
59
|
-
if (aceptRatedr === 'recusado') {
|
|
60
|
-
setAcept('recusado');
|
|
61
|
-
return;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}, []);
|
|
65
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(acept === 'default' || acept === 'recusado') && !router.asPath.includes('politica') && ((0, jsx_runtime_1.jsxs)(S.AceptCookies, { id: 'cookies', children: [(0, jsx_runtime_1.jsx)("div", { className: 'overlay' }), (0, jsx_runtime_1.jsxs)("div", { className: 'bottom', children: [(0, jsx_runtime_1.jsxs)("p", { children: ["Aviso: Conte\u00FAdo restrito para maiores de 18 anos. ", (0, jsx_runtime_1.jsx)(link_1.default, { href: '/politica-e-privacidade', children: "Saiba mais." })] }), (0, jsx_runtime_1.jsxs)("div", { className: 'actions-cookie', children: [acept !== 'recusado' && ((0, jsx_runtime_1.jsx)("button", { className: 'recusar', onClick: getRecuse, children: "Recusar" })), (0, jsx_runtime_1.jsx)("button", { type: 'button', className: 'aceitar', onClick: getAcept, children: "Aceitar que sou maior de 18 anos e entrar" })] })] })] })), (acept === 'default' || acept === 'aceito' || router.asPath.includes('politica')) && (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: children })] }));
|
|
66
|
-
}
|
|
67
|
-
exports.AceptRatedr = AceptRatedr;
|
|
68
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
-
};
|
|
5
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
-
exports.Scripts = void 0;
|
|
7
|
-
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
-
var react_1 = require("react");
|
|
9
|
-
var head_1 = __importDefault(require("next/head"));
|
|
10
|
-
var script_1 = __importDefault(require("next/script"));
|
|
11
|
-
var router_1 = require("next/router");
|
|
12
|
-
var react_ga_1 = require("react-ga");
|
|
13
|
-
var ui_1 = require("@/ui");
|
|
14
|
-
var acept_ratedr_1 = require("./acept-ratedr");
|
|
15
|
-
var acept_cookies_1 = require("./acept-cookies");
|
|
16
|
-
var whatsapp_fixed_1 = require("./whatsapp-fixed");
|
|
17
|
-
function Scripts(_a) {
|
|
18
|
-
var _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
|
|
19
|
-
var children = _a.children, informations = _a.informations;
|
|
20
|
-
var router = (0, router_1.useRouter)();
|
|
21
|
-
(0, react_1.useEffect)(function () {
|
|
22
|
-
var _a, _b;
|
|
23
|
-
if (process.browser && ((_a = informations === null || informations === void 0 ? void 0 : informations.google) === null || _a === void 0 ? void 0 : _a.ua)) {
|
|
24
|
-
var handleRouteChange_1 = function () {
|
|
25
|
-
(0, ui_1.pageview)(router.asPath);
|
|
26
|
-
};
|
|
27
|
-
(0, react_ga_1.initialize)((_b = informations === null || informations === void 0 ? void 0 : informations.google) === null || _b === void 0 ? void 0 : _b.ua);
|
|
28
|
-
(0, react_ga_1.pageview)(router === null || router === void 0 ? void 0 : router.asPath);
|
|
29
|
-
router.events.on('routeChangeComplete', handleRouteChange_1);
|
|
30
|
-
return function () {
|
|
31
|
-
router.events.off('routeChangeComplete', handleRouteChange_1);
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
}, [router.events, router.pathname, router.asPath, (_b = informations === null || informations === void 0 ? void 0 : informations.google) === null || _b === void 0 ? void 0 : _b.ua]);
|
|
35
|
-
return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsxs)(head_1.default, { children: [((_c = informations === null || informations === void 0 ? void 0 : informations.facebook) === null || _c === void 0 ? void 0 : _c.facebookDomainVerification) && ((0, jsx_runtime_1.jsx)("meta", { name: 'facebook-domain-verification', content: (_d = informations === null || informations === void 0 ? void 0 : informations.facebook) === null || _d === void 0 ? void 0 : _d.facebookDomainVerification })), (0, jsx_runtime_1.jsx)("link", { rel: 'preconnect', href: 'https://www.google-analytics.com' }), (0, jsx_runtime_1.jsx)("link", { rel: 'dns-prefetch', href: 'https://www.google-analytics.com' }), ((_e = informations === null || informations === void 0 ? void 0 : informations.facebook) === null || _e === void 0 ? void 0 : _e.pixelFacebook) && ((0, jsx_runtime_1.jsx)("script", { id: 'fb-pixel', dangerouslySetInnerHTML: {
|
|
36
|
-
__html: "\n !function(f,b,e,v,n,t,s)\n {if(f.fbq)return;n=f.fbq=function(){n.callMethod?\n n.callMethod.apply(n,arguments):n.queue.push(arguments)};\n if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0';\n n.queue=[];t=b.createElement(e);t.async=!0;\n t.src=v;s=b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t,s)}(window, document,'script',\n 'https://connect.facebook.net/en_US/fbevents.js');\n fbq('init', ".concat((_f = informations === null || informations === void 0 ? void 0 : informations.facebook) === null || _f === void 0 ? void 0 : _f.pixelFacebook, ");\n fbq('track', 'PageView');\n "),
|
|
37
|
-
} })), ((_g = informations === null || informations === void 0 ? void 0 : informations.google) === null || _g === void 0 ? void 0 : _g.gtm) && ((0, jsx_runtime_1.jsx)("script", { dangerouslySetInnerHTML: {
|
|
38
|
-
__html: "\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','".concat((_h = informations === null || informations === void 0 ? void 0 : informations.google) === null || _h === void 0 ? void 0 : _h.gtm, "');\n "),
|
|
39
|
-
} }))] }), ((_j = informations === null || informations === void 0 ? void 0 : informations.google) === null || _j === void 0 ? void 0 : _j.gtm) && ((0, jsx_runtime_1.jsx)("noscript", { children: (0, jsx_runtime_1.jsx)("iframe", { src: "https://www.googletagmanager.com/ns.html?id=".concat((_k = informations === null || informations === void 0 ? void 0 : informations.google) === null || _k === void 0 ? void 0 : _k.gtm), height: '0', width: '0', style: { display: 'none', visibility: 'hidden' } }) })), ((_l = informations === null || informations === void 0 ? void 0 : informations.tawkto) === null || _l === void 0 ? void 0 : _l.propertyId) && ((_m = informations === null || informations === void 0 ? void 0 : informations.tawkto) === null || _m === void 0 ? void 0 : _m.widgetId) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, src: "https://embed.tawk.to/".concat((_o = informations === null || informations === void 0 ? void 0 : informations.tawkto) === null || _o === void 0 ? void 0 : _o.propertyId, "/").concat((_p = informations === null || informations === void 0 ? void 0 : informations.tawkto) === null || _p === void 0 ? void 0 : _p.widgetId) })), ((_q = informations === null || informations === void 0 ? void 0 : informations.redesSociais) === null || _q === void 0 ? void 0 : _q.whatsappfixo) && ((_r = informations === null || informations === void 0 ? void 0 : informations.redesSociais) === null || _r === void 0 ? void 0 : _r.whatsapp) && ((0, jsx_runtime_1.jsx)(whatsapp_fixed_1.Whatsappfixed, { href: informations === null || informations === void 0 ? void 0 : informations.redesSociais.whatsapp })), (informations === null || informations === void 0 ? void 0 : informations.ratedR) ? ((0, jsx_runtime_1.jsx)(acept_ratedr_1.AceptRatedr, { children: (informations === null || informations === void 0 ? void 0 : informations.enableCookieVerification) ? (0, jsx_runtime_1.jsx)(acept_cookies_1.AceptCookies, { children: children }) : children })) : (informations === null || informations === void 0 ? void 0 : informations.enableCookieVerification) ? ((0, jsx_runtime_1.jsx)(acept_cookies_1.AceptCookies, { children: children })) : (children), process.browser && ((_s = informations === null || informations === void 0 ? void 0 : informations.google) === null || _s === void 0 ? void 0 : _s.aw) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, src: "https://www.googletagmanager.com/gtag/js?id=".concat((_t = informations === null || informations === void 0 ? void 0 : informations.google) === null || _t === void 0 ? void 0 : _t.aw), type: 'text/javascript', strategy: 'afterInteractive' })), process.browser && ((_u = informations === null || informations === void 0 ? void 0 : informations.google) === null || _u === void 0 ? void 0 : _u.aw) && ((0, jsx_runtime_1.jsx)(script_1.default, { id: 'google-analytics', children: "\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n \n gtag('js', new Date());\n gtag('config', '".concat((_v = informations === null || informations === void 0 ? void 0 : informations.google) === null || _v === void 0 ? void 0 : _v.aw, "');\n ") })), ((_w = informations === null || informations === void 0 ? void 0 : informations.rdStation) === null || _w === void 0 ? void 0 : _w.habilitarRD) && ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [process.browser && (informations === null || informations === void 0 ? void 0 : informations.rdStation.rdstation1) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, type: 'text/javascript', strategy: 'afterInteractive', src: informations === null || informations === void 0 ? void 0 : informations.rdStation.rdstation1 })), process.browser && (informations === null || informations === void 0 ? void 0 : informations.rdStation.rdstation2) && ((0, jsx_runtime_1.jsx)(script_1.default, { async: true, type: 'text/javascript', strategy: 'afterInteractive', src: informations === null || informations === void 0 ? void 0 : informations.rdStation.rdstation2 }))] }))] }));
|
|
40
|
-
}
|
|
41
|
-
exports.Scripts = Scripts;
|
|
42
|
-
//# sourceMappingURL=component.js.map
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./component"), exports);
|
|
18
|
-
__exportStar(require("./interfaces"), exports);
|
|
19
|
-
__exportStar(require("./acept-ratedr"), exports);
|
|
20
|
-
__exportStar(require("./acept-cookies"), exports);
|
|
21
|
-
__exportStar(require("./whatsapp-fixed"), exports);
|
|
22
|
-
//# sourceMappingURL=index.js.map
|