Imagem de header interno Imagem de header interno

Notícias

Um erro ocorreu enquanto processava o modelo.
For "." left-hand operand: Expected a hash, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + newsTopicVocabularyId + "/taxonomy-categories?fields=id&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30")  [in template "44549#44620#4480804" at line 9, column 34]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: newsTopics = restClient.get("/headles...  [in template "44549#44620#4480804" in function "getNewsTopicCategoryId" at line 9, column 21]
----
1<#assign 
2    news = restClient.get('/headless-delivery/v1.0/sites/' + groupId + '/structured-contents/by-key/' + .vars['reserved-article-id'].data + '?fields=taxonomyCategoryBriefs&restrictFields=actions%2CavailableLanguages') 
3/> 
4 
5<#function getNewsTopicCategoryId> 
6    <#local 
7        newsCategoriesIds = news.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryId?number) 
8        newsTopicVocabularyId = 4435330 
9		    newsTopics = restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + newsTopicVocabularyId + "/taxonomy-categories?fields=id&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30").items 
10        newsTopicsIds = newsTopics?map(newsTopic -> newsTopic.id?number) 
11    /> 
12 
13    <#return newsCategoriesIds?filter(categoryId -> newsTopicsIds?seq_contains(categoryId))?first/> 
14</#function> 
15 
16<#assign 
17    newsTopicCategoryId = getNewsTopicCategoryId() 
18    customDisplayPageURL = customDisplayPage.getFriendlyUrl() 
19 
20    baseUrl = customDisplayPageURL?has_content?then(customDisplayPageURL, friendlyURL) 
21    url = baseUrl + "/-/categories/" + newsTopicCategoryId 
22/> 
23 
24<a href="${url}" class="text-decoration-none" id="card-com-mais-${randomNamespace}"> 
25	<div class="vale-modelo-card-com-mais"> 
26		<img 
27			class="card-img d-block" 
28			src="${imagemDeCapa.getData()}" 
29			alt='${imagemDeCapa.getAttribute("alt")}' 
30			loading="lazy" 
31		/> 
32		<div class="card-text px-4 pt-5 bg-white bg-white"> 
33			<p class="h4 text-verde-vale mb-3"> 
34				${.vars['reserved-article-title'].data} 
35			</p> 
36			<p class="text-cinza-escuro">${subtitulo.getData()}</p> 
37			<span class="card-link position-absolute">&nbsp;</span> 
38		</div> 
39		<img 
40			src="/documents/d/guest/corte-card" 
41			class="card-cut mw-100 w-100 h-auto" 
42      role="presentation" 
43      alt="${languageUtil.get(locale, 'vale-wave')}" 
44			loading="lazy" 
45		/> 
46	</div> 
47</a> 
48 
49<style> 
50.vale-modelo-card-com-mais { 
51  display: flex; 
52  flex-direction: column; 
53  height: 36.625rem; 
54  position: relative; 
55  overflow: hidden; 
56
57 
58.vale-modelo-card-com-mais picture { 
59  overflow: hidden; 
60
61 
62.vale-modelo-card-com-mais .card-img { 
63  height: 17.25rem; 
64  object-fit: cover; 
65  object-position: center; 
66  transition: 0.3s; 
67
68 
69.vale-modelo-card-com-mais .card-img:hover { 
70  transform: scale(1.1); 
71
72 
73.vale-modelo-card-com-mais .card-cut { 
74  margin-top: -1px; 
75
76 
77.vale-modelo-card-com-mais .card-link { 
78  transition: filter 0.3s ease, transform 0.25s ease; 
79  background-image: url('/documents/d/guest/mais-circulo_sec-2-'); 
80  background-size: contain; 
81  background-position: center; 
82  bottom: 0.3125rem; 
83  right: 0.3125rem; 
84  width: 2.5rem; 
85  height: 2.5rem; 
86  z-index: 3; 
87  border-radius: 100%; 
88  text-decoration: none; 
89  font-size: 0; 
90  line-height: 0; 
91
92 
93.vale-modelo-card-com-mais .card-link:hover { 
94  filter: brightness(1.05); 
95  transform: scale(1.05); 
96
97 
98.vale-modelo-card-com-mais .card-text { 
99  height: 13.625rem; 
100  overflow: hidden; 
101
102 
103.vale-modelo-card-com-mais .card-text .h4 { 
104  display: -webkit-box; 
105  line-clamp: 2; 
106  overflow: hidden; 
107  -webkit-line-clamp: 2; 
108  -webkit-box-orient: vertical; 
109
110 
111.vale-modelo-card-com-mais .card-text p { 
112  display: -webkit-box; 
113  line-clamp: 4; 
114  overflow: hidden; 
115  -webkit-line-clamp: 4; 
116  -webkit-box-orient: vertical; 
117
118</style> 
119 
120<script> 
121(function(){ 
122    // Tagueamento 
123 
124    const namespace = document.querySelector("#card-com-mais-${randomNamespace}"); 
125 
126    const title = namespace.querySelector("h4, .h4").innerText; 
127 
128    /* Pega seção */ 
129 
130    let section = ""; 
131    const possibleSections = document.querySelectorAll( 
132      `h2, h3, .h2, .h3, #card-com-mais-${randomNamespace}` 
133    ); 
134 
135    if (possibleSections.length === 1) { 
136      /* Se não houver nenhum h2 pega o h1 da página */ 
137      section = document.querySelector("h1, .h1").innerText; 
138    } else { 
139      /* Pega o h2 mais próximo do fragmento */ 
140      possibleSections.forEach((possibleSection) => { 
141        if (possibleSection.localName !== "a" && possibleSection.innerText) { 
142          section = possibleSection; 
143        } else { 
144          return section; 
145
146      }); 
147
148 
149    const handleEventLinkClick = () => { 
150      Analytics.track("Link", { 
151          section: section.innerText, 
152          rotulo: title + " : " + namespace.href, 
153      }); 
154    }; 
155 
156    namespace.addEventListener("click", handleEventLinkClick) 
157})() 
158</script> 
Um erro ocorreu enquanto processava o modelo.
For "." left-hand operand: Expected a hash, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + newsTopicVocabularyId + "/taxonomy-categories?fields=id&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30")  [in template "44549#44620#4480804" at line 9, column 34]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: newsTopics = restClient.get("/headles...  [in template "44549#44620#4480804" in function "getNewsTopicCategoryId" at line 9, column 21]
----
1<#assign 
2    news = restClient.get('/headless-delivery/v1.0/sites/' + groupId + '/structured-contents/by-key/' + .vars['reserved-article-id'].data + '?fields=taxonomyCategoryBriefs&restrictFields=actions%2CavailableLanguages') 
3/> 
4 
5<#function getNewsTopicCategoryId> 
6    <#local 
7        newsCategoriesIds = news.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryId?number) 
8        newsTopicVocabularyId = 4435330 
9		    newsTopics = restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + newsTopicVocabularyId + "/taxonomy-categories?fields=id&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30").items 
10        newsTopicsIds = newsTopics?map(newsTopic -> newsTopic.id?number) 
11    /> 
12 
13    <#return newsCategoriesIds?filter(categoryId -> newsTopicsIds?seq_contains(categoryId))?first/> 
14</#function> 
15 
16<#assign 
17    newsTopicCategoryId = getNewsTopicCategoryId() 
18    customDisplayPageURL = customDisplayPage.getFriendlyUrl() 
19 
20    baseUrl = customDisplayPageURL?has_content?then(customDisplayPageURL, friendlyURL) 
21    url = baseUrl + "/-/categories/" + newsTopicCategoryId 
22/> 
23 
24<a href="${url}" class="text-decoration-none" id="card-com-mais-${randomNamespace}"> 
25	<div class="vale-modelo-card-com-mais"> 
26		<img 
27			class="card-img d-block" 
28			src="${imagemDeCapa.getData()}" 
29			alt='${imagemDeCapa.getAttribute("alt")}' 
30			loading="lazy" 
31		/> 
32		<div class="card-text px-4 pt-5 bg-white bg-white"> 
33			<p class="h4 text-verde-vale mb-3"> 
34				${.vars['reserved-article-title'].data} 
35			</p> 
36			<p class="text-cinza-escuro">${subtitulo.getData()}</p> 
37			<span class="card-link position-absolute">&nbsp;</span> 
38		</div> 
39		<img 
40			src="/documents/d/guest/corte-card" 
41			class="card-cut mw-100 w-100 h-auto" 
42      role="presentation" 
43      alt="${languageUtil.get(locale, 'vale-wave')}" 
44			loading="lazy" 
45		/> 
46	</div> 
47</a> 
48 
49<style> 
50.vale-modelo-card-com-mais { 
51  display: flex; 
52  flex-direction: column; 
53  height: 36.625rem; 
54  position: relative; 
55  overflow: hidden; 
56
57 
58.vale-modelo-card-com-mais picture { 
59  overflow: hidden; 
60
61 
62.vale-modelo-card-com-mais .card-img { 
63  height: 17.25rem; 
64  object-fit: cover; 
65  object-position: center; 
66  transition: 0.3s; 
67
68 
69.vale-modelo-card-com-mais .card-img:hover { 
70  transform: scale(1.1); 
71
72 
73.vale-modelo-card-com-mais .card-cut { 
74  margin-top: -1px; 
75
76 
77.vale-modelo-card-com-mais .card-link { 
78  transition: filter 0.3s ease, transform 0.25s ease; 
79  background-image: url('/documents/d/guest/mais-circulo_sec-2-'); 
80  background-size: contain; 
81  background-position: center; 
82  bottom: 0.3125rem; 
83  right: 0.3125rem; 
84  width: 2.5rem; 
85  height: 2.5rem; 
86  z-index: 3; 
87  border-radius: 100%; 
88  text-decoration: none; 
89  font-size: 0; 
90  line-height: 0; 
91
92 
93.vale-modelo-card-com-mais .card-link:hover { 
94  filter: brightness(1.05); 
95  transform: scale(1.05); 
96
97 
98.vale-modelo-card-com-mais .card-text { 
99  height: 13.625rem; 
100  overflow: hidden; 
101
102 
103.vale-modelo-card-com-mais .card-text .h4 { 
104  display: -webkit-box; 
105  line-clamp: 2; 
106  overflow: hidden; 
107  -webkit-line-clamp: 2; 
108  -webkit-box-orient: vertical; 
109
110 
111.vale-modelo-card-com-mais .card-text p { 
112  display: -webkit-box; 
113  line-clamp: 4; 
114  overflow: hidden; 
115  -webkit-line-clamp: 4; 
116  -webkit-box-orient: vertical; 
117
118</style> 
119 
120<script> 
121(function(){ 
122    // Tagueamento 
123 
124    const namespace = document.querySelector("#card-com-mais-${randomNamespace}"); 
125 
126    const title = namespace.querySelector("h4, .h4").innerText; 
127 
128    /* Pega seção */ 
129 
130    let section = ""; 
131    const possibleSections = document.querySelectorAll( 
132      `h2, h3, .h2, .h3, #card-com-mais-${randomNamespace}` 
133    ); 
134 
135    if (possibleSections.length === 1) { 
136      /* Se não houver nenhum h2 pega o h1 da página */ 
137      section = document.querySelector("h1, .h1").innerText; 
138    } else { 
139      /* Pega o h2 mais próximo do fragmento */ 
140      possibleSections.forEach((possibleSection) => { 
141        if (possibleSection.localName !== "a" && possibleSection.innerText) { 
142          section = possibleSection; 
143        } else { 
144          return section; 
145
146      }); 
147
148 
149    const handleEventLinkClick = () => { 
150      Analytics.track("Link", { 
151          section: section.innerText, 
152          rotulo: title + " : " + namespace.href, 
153      }); 
154    }; 
155 
156    namespace.addEventListener("click", handleEventLinkClick) 
157})() 
158</script> 
Um erro ocorreu enquanto processava o modelo.
For "." left-hand operand: Expected a hash, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + newsTopicVocabularyId + "/taxonomy-categories?fields=id&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30")  [in template "44549#44620#4480804" at line 9, column 34]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: newsTopics = restClient.get("/headles...  [in template "44549#44620#4480804" in function "getNewsTopicCategoryId" at line 9, column 21]
----
1<#assign 
2    news = restClient.get('/headless-delivery/v1.0/sites/' + groupId + '/structured-contents/by-key/' + .vars['reserved-article-id'].data + '?fields=taxonomyCategoryBriefs&restrictFields=actions%2CavailableLanguages') 
3/> 
4 
5<#function getNewsTopicCategoryId> 
6    <#local 
7        newsCategoriesIds = news.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryId?number) 
8        newsTopicVocabularyId = 4435330 
9		    newsTopics = restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + newsTopicVocabularyId + "/taxonomy-categories?fields=id&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30").items 
10        newsTopicsIds = newsTopics?map(newsTopic -> newsTopic.id?number) 
11    /> 
12 
13    <#return newsCategoriesIds?filter(categoryId -> newsTopicsIds?seq_contains(categoryId))?first/> 
14</#function> 
15 
16<#assign 
17    newsTopicCategoryId = getNewsTopicCategoryId() 
18    customDisplayPageURL = customDisplayPage.getFriendlyUrl() 
19 
20    baseUrl = customDisplayPageURL?has_content?then(customDisplayPageURL, friendlyURL) 
21    url = baseUrl + "/-/categories/" + newsTopicCategoryId 
22/> 
23 
24<a href="${url}" class="text-decoration-none" id="card-com-mais-${randomNamespace}"> 
25	<div class="vale-modelo-card-com-mais"> 
26		<img 
27			class="card-img d-block" 
28			src="${imagemDeCapa.getData()}" 
29			alt='${imagemDeCapa.getAttribute("alt")}' 
30			loading="lazy" 
31		/> 
32		<div class="card-text px-4 pt-5 bg-white bg-white"> 
33			<p class="h4 text-verde-vale mb-3"> 
34				${.vars['reserved-article-title'].data} 
35			</p> 
36			<p class="text-cinza-escuro">${subtitulo.getData()}</p> 
37			<span class="card-link position-absolute">&nbsp;</span> 
38		</div> 
39		<img 
40			src="/documents/d/guest/corte-card" 
41			class="card-cut mw-100 w-100 h-auto" 
42      role="presentation" 
43      alt="${languageUtil.get(locale, 'vale-wave')}" 
44			loading="lazy" 
45		/> 
46	</div> 
47</a> 
48 
49<style> 
50.vale-modelo-card-com-mais { 
51  display: flex; 
52  flex-direction: column; 
53  height: 36.625rem; 
54  position: relative; 
55  overflow: hidden; 
56
57 
58.vale-modelo-card-com-mais picture { 
59  overflow: hidden; 
60
61 
62.vale-modelo-card-com-mais .card-img { 
63  height: 17.25rem; 
64  object-fit: cover; 
65  object-position: center; 
66  transition: 0.3s; 
67
68 
69.vale-modelo-card-com-mais .card-img:hover { 
70  transform: scale(1.1); 
71
72 
73.vale-modelo-card-com-mais .card-cut { 
74  margin-top: -1px; 
75
76 
77.vale-modelo-card-com-mais .card-link { 
78  transition: filter 0.3s ease, transform 0.25s ease; 
79  background-image: url('/documents/d/guest/mais-circulo_sec-2-'); 
80  background-size: contain; 
81  background-position: center; 
82  bottom: 0.3125rem; 
83  right: 0.3125rem; 
84  width: 2.5rem; 
85  height: 2.5rem; 
86  z-index: 3; 
87  border-radius: 100%; 
88  text-decoration: none; 
89  font-size: 0; 
90  line-height: 0; 
91
92 
93.vale-modelo-card-com-mais .card-link:hover { 
94  filter: brightness(1.05); 
95  transform: scale(1.05); 
96
97 
98.vale-modelo-card-com-mais .card-text { 
99  height: 13.625rem; 
100  overflow: hidden; 
101
102 
103.vale-modelo-card-com-mais .card-text .h4 { 
104  display: -webkit-box; 
105  line-clamp: 2; 
106  overflow: hidden; 
107  -webkit-line-clamp: 2; 
108  -webkit-box-orient: vertical; 
109
110 
111.vale-modelo-card-com-mais .card-text p { 
112  display: -webkit-box; 
113  line-clamp: 4; 
114  overflow: hidden; 
115  -webkit-line-clamp: 4; 
116  -webkit-box-orient: vertical; 
117
118</style> 
119 
120<script> 
121(function(){ 
122    // Tagueamento 
123 
124    const namespace = document.querySelector("#card-com-mais-${randomNamespace}"); 
125 
126    const title = namespace.querySelector("h4, .h4").innerText; 
127 
128    /* Pega seção */ 
129 
130    let section = ""; 
131    const possibleSections = document.querySelectorAll( 
132      `h2, h3, .h2, .h3, #card-com-mais-${randomNamespace}` 
133    ); 
134 
135    if (possibleSections.length === 1) { 
136      /* Se não houver nenhum h2 pega o h1 da página */ 
137      section = document.querySelector("h1, .h1").innerText; 
138    } else { 
139      /* Pega o h2 mais próximo do fragmento */ 
140      possibleSections.forEach((possibleSection) => { 
141        if (possibleSection.localName !== "a" && possibleSection.innerText) { 
142          section = possibleSection; 
143        } else { 
144          return section; 
145
146      }); 
147
148 
149    const handleEventLinkClick = () => { 
150      Analytics.track("Link", { 
151          section: section.innerText, 
152          rotulo: title + " : " + namespace.href, 
153      }); 
154    }; 
155 
156    namespace.addEventListener("click", handleEventLinkClick) 
157})() 
158</script> 
Um erro ocorreu enquanto processava o modelo.
For "." left-hand operand: Expected a hash, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + newsTopicVocabularyId + "/taxonomy-categories?fields=id&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30")  [in template "44549#44620#4480804" at line 9, column 34]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: newsTopics = restClient.get("/headles...  [in template "44549#44620#4480804" in function "getNewsTopicCategoryId" at line 9, column 21]
----
1<#assign 
2    news = restClient.get('/headless-delivery/v1.0/sites/' + groupId + '/structured-contents/by-key/' + .vars['reserved-article-id'].data + '?fields=taxonomyCategoryBriefs&restrictFields=actions%2CavailableLanguages') 
3/> 
4 
5<#function getNewsTopicCategoryId> 
6    <#local 
7        newsCategoriesIds = news.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryId?number) 
8        newsTopicVocabularyId = 4435330 
9		    newsTopics = restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + newsTopicVocabularyId + "/taxonomy-categories?fields=id&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30").items 
10        newsTopicsIds = newsTopics?map(newsTopic -> newsTopic.id?number) 
11    /> 
12 
13    <#return newsCategoriesIds?filter(categoryId -> newsTopicsIds?seq_contains(categoryId))?first/> 
14</#function> 
15 
16<#assign 
17    newsTopicCategoryId = getNewsTopicCategoryId() 
18    customDisplayPageURL = customDisplayPage.getFriendlyUrl() 
19 
20    baseUrl = customDisplayPageURL?has_content?then(customDisplayPageURL, friendlyURL) 
21    url = baseUrl + "/-/categories/" + newsTopicCategoryId 
22/> 
23 
24<a href="${url}" class="text-decoration-none" id="card-com-mais-${randomNamespace}"> 
25	<div class="vale-modelo-card-com-mais"> 
26		<img 
27			class="card-img d-block" 
28			src="${imagemDeCapa.getData()}" 
29			alt='${imagemDeCapa.getAttribute("alt")}' 
30			loading="lazy" 
31		/> 
32		<div class="card-text px-4 pt-5 bg-white bg-white"> 
33			<p class="h4 text-verde-vale mb-3"> 
34				${.vars['reserved-article-title'].data} 
35			</p> 
36			<p class="text-cinza-escuro">${subtitulo.getData()}</p> 
37			<span class="card-link position-absolute">&nbsp;</span> 
38		</div> 
39		<img 
40			src="/documents/d/guest/corte-card" 
41			class="card-cut mw-100 w-100 h-auto" 
42      role="presentation" 
43      alt="${languageUtil.get(locale, 'vale-wave')}" 
44			loading="lazy" 
45		/> 
46	</div> 
47</a> 
48 
49<style> 
50.vale-modelo-card-com-mais { 
51  display: flex; 
52  flex-direction: column; 
53  height: 36.625rem; 
54  position: relative; 
55  overflow: hidden; 
56
57 
58.vale-modelo-card-com-mais picture { 
59  overflow: hidden; 
60
61 
62.vale-modelo-card-com-mais .card-img { 
63  height: 17.25rem; 
64  object-fit: cover; 
65  object-position: center; 
66  transition: 0.3s; 
67
68 
69.vale-modelo-card-com-mais .card-img:hover { 
70  transform: scale(1.1); 
71
72 
73.vale-modelo-card-com-mais .card-cut { 
74  margin-top: -1px; 
75
76 
77.vale-modelo-card-com-mais .card-link { 
78  transition: filter 0.3s ease, transform 0.25s ease; 
79  background-image: url('/documents/d/guest/mais-circulo_sec-2-'); 
80  background-size: contain; 
81  background-position: center; 
82  bottom: 0.3125rem; 
83  right: 0.3125rem; 
84  width: 2.5rem; 
85  height: 2.5rem; 
86  z-index: 3; 
87  border-radius: 100%; 
88  text-decoration: none; 
89  font-size: 0; 
90  line-height: 0; 
91
92 
93.vale-modelo-card-com-mais .card-link:hover { 
94  filter: brightness(1.05); 
95  transform: scale(1.05); 
96
97 
98.vale-modelo-card-com-mais .card-text { 
99  height: 13.625rem; 
100  overflow: hidden; 
101
102 
103.vale-modelo-card-com-mais .card-text .h4 { 
104  display: -webkit-box; 
105  line-clamp: 2; 
106  overflow: hidden; 
107  -webkit-line-clamp: 2; 
108  -webkit-box-orient: vertical; 
109
110 
111.vale-modelo-card-com-mais .card-text p { 
112  display: -webkit-box; 
113  line-clamp: 4; 
114  overflow: hidden; 
115  -webkit-line-clamp: 4; 
116  -webkit-box-orient: vertical; 
117
118</style> 
119 
120<script> 
121(function(){ 
122    // Tagueamento 
123 
124    const namespace = document.querySelector("#card-com-mais-${randomNamespace}"); 
125 
126    const title = namespace.querySelector("h4, .h4").innerText; 
127 
128    /* Pega seção */ 
129 
130    let section = ""; 
131    const possibleSections = document.querySelectorAll( 
132      `h2, h3, .h2, .h3, #card-com-mais-${randomNamespace}` 
133    ); 
134 
135    if (possibleSections.length === 1) { 
136      /* Se não houver nenhum h2 pega o h1 da página */ 
137      section = document.querySelector("h1, .h1").innerText; 
138    } else { 
139      /* Pega o h2 mais próximo do fragmento */ 
140      possibleSections.forEach((possibleSection) => { 
141        if (possibleSection.localName !== "a" && possibleSection.innerText) { 
142          section = possibleSection; 
143        } else { 
144          return section; 
145
146      }); 
147
148 
149    const handleEventLinkClick = () => { 
150      Analytics.track("Link", { 
151          section: section.innerText, 
152          rotulo: title + " : " + namespace.href, 
153      }); 
154    }; 
155 
156    namespace.addEventListener("click", handleEventLinkClick) 
157})() 
158</script> 
Um erro ocorreu enquanto processava o modelo.
For "." left-hand operand: Expected a hash, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + newsTopicVocabularyId + "/taxonomy-categories?fields=id&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30")  [in template "44549#44620#4480804" at line 9, column 34]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: newsTopics = restClient.get("/headles...  [in template "44549#44620#4480804" in function "getNewsTopicCategoryId" at line 9, column 21]
----
1<#assign 
2    news = restClient.get('/headless-delivery/v1.0/sites/' + groupId + '/structured-contents/by-key/' + .vars['reserved-article-id'].data + '?fields=taxonomyCategoryBriefs&restrictFields=actions%2CavailableLanguages') 
3/> 
4 
5<#function getNewsTopicCategoryId> 
6    <#local 
7        newsCategoriesIds = news.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryId?number) 
8        newsTopicVocabularyId = 4435330 
9		    newsTopics = restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + newsTopicVocabularyId + "/taxonomy-categories?fields=id&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30").items 
10        newsTopicsIds = newsTopics?map(newsTopic -> newsTopic.id?number) 
11    /> 
12 
13    <#return newsCategoriesIds?filter(categoryId -> newsTopicsIds?seq_contains(categoryId))?first/> 
14</#function> 
15 
16<#assign 
17    newsTopicCategoryId = getNewsTopicCategoryId() 
18    customDisplayPageURL = customDisplayPage.getFriendlyUrl() 
19 
20    baseUrl = customDisplayPageURL?has_content?then(customDisplayPageURL, friendlyURL) 
21    url = baseUrl + "/-/categories/" + newsTopicCategoryId 
22/> 
23 
24<a href="${url}" class="text-decoration-none" id="card-com-mais-${randomNamespace}"> 
25	<div class="vale-modelo-card-com-mais"> 
26		<img 
27			class="card-img d-block" 
28			src="${imagemDeCapa.getData()}" 
29			alt='${imagemDeCapa.getAttribute("alt")}' 
30			loading="lazy" 
31		/> 
32		<div class="card-text px-4 pt-5 bg-white bg-white"> 
33			<p class="h4 text-verde-vale mb-3"> 
34				${.vars['reserved-article-title'].data} 
35			</p> 
36			<p class="text-cinza-escuro">${subtitulo.getData()}</p> 
37			<span class="card-link position-absolute">&nbsp;</span> 
38		</div> 
39		<img 
40			src="/documents/d/guest/corte-card" 
41			class="card-cut mw-100 w-100 h-auto" 
42      role="presentation" 
43      alt="${languageUtil.get(locale, 'vale-wave')}" 
44			loading="lazy" 
45		/> 
46	</div> 
47</a> 
48 
49<style> 
50.vale-modelo-card-com-mais { 
51  display: flex; 
52  flex-direction: column; 
53  height: 36.625rem; 
54  position: relative; 
55  overflow: hidden; 
56
57 
58.vale-modelo-card-com-mais picture { 
59  overflow: hidden; 
60
61 
62.vale-modelo-card-com-mais .card-img { 
63  height: 17.25rem; 
64  object-fit: cover; 
65  object-position: center; 
66  transition: 0.3s; 
67
68 
69.vale-modelo-card-com-mais .card-img:hover { 
70  transform: scale(1.1); 
71
72 
73.vale-modelo-card-com-mais .card-cut { 
74  margin-top: -1px; 
75
76 
77.vale-modelo-card-com-mais .card-link { 
78  transition: filter 0.3s ease, transform 0.25s ease; 
79  background-image: url('/documents/d/guest/mais-circulo_sec-2-'); 
80  background-size: contain; 
81  background-position: center; 
82  bottom: 0.3125rem; 
83  right: 0.3125rem; 
84  width: 2.5rem; 
85  height: 2.5rem; 
86  z-index: 3; 
87  border-radius: 100%; 
88  text-decoration: none; 
89  font-size: 0; 
90  line-height: 0; 
91
92 
93.vale-modelo-card-com-mais .card-link:hover { 
94  filter: brightness(1.05); 
95  transform: scale(1.05); 
96
97 
98.vale-modelo-card-com-mais .card-text { 
99  height: 13.625rem; 
100  overflow: hidden; 
101
102 
103.vale-modelo-card-com-mais .card-text .h4 { 
104  display: -webkit-box; 
105  line-clamp: 2; 
106  overflow: hidden; 
107  -webkit-line-clamp: 2; 
108  -webkit-box-orient: vertical; 
109
110 
111.vale-modelo-card-com-mais .card-text p { 
112  display: -webkit-box; 
113  line-clamp: 4; 
114  overflow: hidden; 
115  -webkit-line-clamp: 4; 
116  -webkit-box-orient: vertical; 
117
118</style> 
119 
120<script> 
121(function(){ 
122    // Tagueamento 
123 
124    const namespace = document.querySelector("#card-com-mais-${randomNamespace}"); 
125 
126    const title = namespace.querySelector("h4, .h4").innerText; 
127 
128    /* Pega seção */ 
129 
130    let section = ""; 
131    const possibleSections = document.querySelectorAll( 
132      `h2, h3, .h2, .h3, #card-com-mais-${randomNamespace}` 
133    ); 
134 
135    if (possibleSections.length === 1) { 
136      /* Se não houver nenhum h2 pega o h1 da página */ 
137      section = document.querySelector("h1, .h1").innerText; 
138    } else { 
139      /* Pega o h2 mais próximo do fragmento */ 
140      possibleSections.forEach((possibleSection) => { 
141        if (possibleSection.localName !== "a" && possibleSection.innerText) { 
142          section = possibleSection; 
143        } else { 
144          return section; 
145
146      }); 
147
148 
149    const handleEventLinkClick = () => { 
150      Analytics.track("Link", { 
151          section: section.innerText, 
152          rotulo: title + " : " + namespace.href, 
153      }); 
154    }; 
155 
156    namespace.addEventListener("click", handleEventLinkClick) 
157})() 
158</script> 
Um erro ocorreu enquanto processava o modelo.
For "." left-hand operand: Expected a hash, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + newsTopicVocabularyId + "/taxonomy-categories?fields=id&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30")  [in template "44549#44620#4480804" at line 9, column 34]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: newsTopics = restClient.get("/headles...  [in template "44549#44620#4480804" in function "getNewsTopicCategoryId" at line 9, column 21]
----
1<#assign 
2    news = restClient.get('/headless-delivery/v1.0/sites/' + groupId + '/structured-contents/by-key/' + .vars['reserved-article-id'].data + '?fields=taxonomyCategoryBriefs&restrictFields=actions%2CavailableLanguages') 
3/> 
4 
5<#function getNewsTopicCategoryId> 
6    <#local 
7        newsCategoriesIds = news.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryId?number) 
8        newsTopicVocabularyId = 4435330 
9		    newsTopics = restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + newsTopicVocabularyId + "/taxonomy-categories?fields=id&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30").items 
10        newsTopicsIds = newsTopics?map(newsTopic -> newsTopic.id?number) 
11    /> 
12 
13    <#return newsCategoriesIds?filter(categoryId -> newsTopicsIds?seq_contains(categoryId))?first/> 
14</#function> 
15 
16<#assign 
17    newsTopicCategoryId = getNewsTopicCategoryId() 
18    customDisplayPageURL = customDisplayPage.getFriendlyUrl() 
19 
20    baseUrl = customDisplayPageURL?has_content?then(customDisplayPageURL, friendlyURL) 
21    url = baseUrl + "/-/categories/" + newsTopicCategoryId 
22/> 
23 
24<a href="${url}" class="text-decoration-none" id="card-com-mais-${randomNamespace}"> 
25	<div class="vale-modelo-card-com-mais"> 
26		<img 
27			class="card-img d-block" 
28			src="${imagemDeCapa.getData()}" 
29			alt='${imagemDeCapa.getAttribute("alt")}' 
30			loading="lazy" 
31		/> 
32		<div class="card-text px-4 pt-5 bg-white bg-white"> 
33			<p class="h4 text-verde-vale mb-3"> 
34				${.vars['reserved-article-title'].data} 
35			</p> 
36			<p class="text-cinza-escuro">${subtitulo.getData()}</p> 
37			<span class="card-link position-absolute">&nbsp;</span> 
38		</div> 
39		<img 
40			src="/documents/d/guest/corte-card" 
41			class="card-cut mw-100 w-100 h-auto" 
42      role="presentation" 
43      alt="${languageUtil.get(locale, 'vale-wave')}" 
44			loading="lazy" 
45		/> 
46	</div> 
47</a> 
48 
49<style> 
50.vale-modelo-card-com-mais { 
51  display: flex; 
52  flex-direction: column; 
53  height: 36.625rem; 
54  position: relative; 
55  overflow: hidden; 
56
57 
58.vale-modelo-card-com-mais picture { 
59  overflow: hidden; 
60
61 
62.vale-modelo-card-com-mais .card-img { 
63  height: 17.25rem; 
64  object-fit: cover; 
65  object-position: center; 
66  transition: 0.3s; 
67
68 
69.vale-modelo-card-com-mais .card-img:hover { 
70  transform: scale(1.1); 
71
72 
73.vale-modelo-card-com-mais .card-cut { 
74  margin-top: -1px; 
75
76 
77.vale-modelo-card-com-mais .card-link { 
78  transition: filter 0.3s ease, transform 0.25s ease; 
79  background-image: url('/documents/d/guest/mais-circulo_sec-2-'); 
80  background-size: contain; 
81  background-position: center; 
82  bottom: 0.3125rem; 
83  right: 0.3125rem; 
84  width: 2.5rem; 
85  height: 2.5rem; 
86  z-index: 3; 
87  border-radius: 100%; 
88  text-decoration: none; 
89  font-size: 0; 
90  line-height: 0; 
91
92 
93.vale-modelo-card-com-mais .card-link:hover { 
94  filter: brightness(1.05); 
95  transform: scale(1.05); 
96
97 
98.vale-modelo-card-com-mais .card-text { 
99  height: 13.625rem; 
100  overflow: hidden; 
101
102 
103.vale-modelo-card-com-mais .card-text .h4 { 
104  display: -webkit-box; 
105  line-clamp: 2; 
106  overflow: hidden; 
107  -webkit-line-clamp: 2; 
108  -webkit-box-orient: vertical; 
109
110 
111.vale-modelo-card-com-mais .card-text p { 
112  display: -webkit-box; 
113  line-clamp: 4; 
114  overflow: hidden; 
115  -webkit-line-clamp: 4; 
116  -webkit-box-orient: vertical; 
117
118</style> 
119 
120<script> 
121(function(){ 
122    // Tagueamento 
123 
124    const namespace = document.querySelector("#card-com-mais-${randomNamespace}"); 
125 
126    const title = namespace.querySelector("h4, .h4").innerText; 
127 
128    /* Pega seção */ 
129 
130    let section = ""; 
131    const possibleSections = document.querySelectorAll( 
132      `h2, h3, .h2, .h3, #card-com-mais-${randomNamespace}` 
133    ); 
134 
135    if (possibleSections.length === 1) { 
136      /* Se não houver nenhum h2 pega o h1 da página */ 
137      section = document.querySelector("h1, .h1").innerText; 
138    } else { 
139      /* Pega o h2 mais próximo do fragmento */ 
140      possibleSections.forEach((possibleSection) => { 
141        if (possibleSection.localName !== "a" && possibleSection.innerText) { 
142          section = possibleSection; 
143        } else { 
144          return section; 
145
146      }); 
147
148 
149    const handleEventLinkClick = () => { 
150      Analytics.track("Link", { 
151          section: section.innerText, 
152          rotulo: title + " : " + namespace.href, 
153      }); 
154    }; 
155 
156    namespace.addEventListener("click", handleEventLinkClick) 
157})() 
158</script> 
Exibindo 1 - 6 de 6 resultados.
scroll-to-see-more

Imprensa

Um erro ocorreu enquanto processava o modelo.
For "." left-hand operand: Expected a hash, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + pressTopicVocabularyId + "/taxonomy-categories?fields=id,name&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30")  [in template "44549#44620#4480812" at line 7, column 31]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: pressTopics = restClient.get("/headle...  [in template "44549#44620#4480812" at line 7, column 17]
----
1<#assign 
2    images_path = "/documents/d/guest/" 
3    press = restClient.get('/headless-delivery/v1.0/sites/' + groupId + '/structured-contents/by-key/' + .vars['reserved-article-id'].data + '?fields=taxonomyCategoryBriefs&restrictFields=actions%2CavailableLanguages') 
4    pressCategoriesIds = press.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryId?number) 
5    pressCategoriesNames = press.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryName) 
6    pressTopicVocabularyId = 4435339 
7		pressTopics = restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + pressTopicVocabularyId + "/taxonomy-categories?fields=id,name&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30").items 
8    title = .vars['reserved-article-title'].data 
9    data_Data = getterUtil.getString(data.getData()) 
10/> 
11 
12<#function getPressTopicCategoryId> 
13    <#local 
14        pressTopicsIds = pressTopics?map(pressTopic -> pressTopic.id?number) 
15    /> 
16 
17    <#return pressCategoriesIds?filter(categoryId -> pressTopicsIds?seq_contains(categoryId))?first!""/> 
18</#function> 
19 
20<#function getPressTopicsCategoryName> 
21    <#local 
22        pressTopicsNames = pressTopics?map(pressTopic -> pressTopic.name) 
23    /> 
24 
25    <#return pressCategoriesNames?filter(categoryName -> pressTopicsNames?seq_contains(categoryName))?first!""/> 
26</#function> 
27 
28<#assign 
29    pressTopicCategoryId = getPressTopicCategoryId() 
30    pressTopicsCategoryName = getPressTopicsCategoryName() 
31 
32    customDisplayPageURL = customDisplayPage.getFriendlyUrl() 
33 
34    baseUrl = customDisplayPageURL?has_content?then(customDisplayPageURL, friendlyURL) 
35    url = baseUrl + "/-/categories/" + pressTopicCategoryId 
36/> 
37 
38<#if validator.isNotNull(data_Data)> 
39    <#assign date_localized = dateUtil.formatDate("yyyy-MM-dd", data_Data, locale)/> 
40</#if> 
41 
42<div class="card-branco-com-categoria"> 
43    <a href="${url}" class="text-decoration-none"> 
44        <div class="box d-flex flex-column justify-content-between p-3"> 
45            <div> 
46                <p class="text-azul-vale mb-2"> 
47                    ${pressTopicsCategoryName} 
48                </p> 
49                <p class="text-verde-vale"> 
50                    ${.vars['reserved-article-title'].data} 
51                </p> 
52            </div> 
53            <p class="text-cinza-escuro m-0"> 
54                ${date_localized} 
55            </p> 
56            <img  
57                class="onda position-absolute" 
58                src="${images_path}onda_verde" 
59                role="presentation" 
60                alt="${languageUtil.get(locale, 'vale-wave')}" 
61								loading="lazy" 
62            /> 
63        </div> 
64    </a> 
65</div> 
66 
67<style> 
68.card-branco-com-categoria .onda { 
69    position: absolute; 
70    bottom: 1.875rem; 
71    right: -0.125rem; 
72
73 
74.card-branco-com-categoria .box { 
75    background-color: var(--branco); 
76    border-left: 10px solid var(--azul-vale); 
77    height: 14.6875rem; 
78    margin-bottom: 2rem; 
79
80 
81.card-branco-com-categoria p { 
82    display: -webkit-box;  
83    line-clamp: 4; 
84    overflow: hidden; 
85    -webkit-line-clamp: 4; 
86    -webkit-box-orient: vertical; 
87
88 
89@media screen and (min-width: 768px) { 
90    .card-branco-com-categoria .box { 
91        border-left: 20px solid var(--azul-vale); 
92        height: 11.875rem; 
93
94 
95    .card-branco-com-categoria p { 
96        line-clamp: 3; 
97        -webkit-line-clamp: 3; 
98
99
100</style> 
Um erro ocorreu enquanto processava o modelo.
For "." left-hand operand: Expected a hash, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + pressTopicVocabularyId + "/taxonomy-categories?fields=id,name&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30")  [in template "44549#44620#4480812" at line 7, column 31]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: pressTopics = restClient.get("/headle...  [in template "44549#44620#4480812" at line 7, column 17]
----
1<#assign 
2    images_path = "/documents/d/guest/" 
3    press = restClient.get('/headless-delivery/v1.0/sites/' + groupId + '/structured-contents/by-key/' + .vars['reserved-article-id'].data + '?fields=taxonomyCategoryBriefs&restrictFields=actions%2CavailableLanguages') 
4    pressCategoriesIds = press.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryId?number) 
5    pressCategoriesNames = press.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryName) 
6    pressTopicVocabularyId = 4435339 
7		pressTopics = restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + pressTopicVocabularyId + "/taxonomy-categories?fields=id,name&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30").items 
8    title = .vars['reserved-article-title'].data 
9    data_Data = getterUtil.getString(data.getData()) 
10/> 
11 
12<#function getPressTopicCategoryId> 
13    <#local 
14        pressTopicsIds = pressTopics?map(pressTopic -> pressTopic.id?number) 
15    /> 
16 
17    <#return pressCategoriesIds?filter(categoryId -> pressTopicsIds?seq_contains(categoryId))?first!""/> 
18</#function> 
19 
20<#function getPressTopicsCategoryName> 
21    <#local 
22        pressTopicsNames = pressTopics?map(pressTopic -> pressTopic.name) 
23    /> 
24 
25    <#return pressCategoriesNames?filter(categoryName -> pressTopicsNames?seq_contains(categoryName))?first!""/> 
26</#function> 
27 
28<#assign 
29    pressTopicCategoryId = getPressTopicCategoryId() 
30    pressTopicsCategoryName = getPressTopicsCategoryName() 
31 
32    customDisplayPageURL = customDisplayPage.getFriendlyUrl() 
33 
34    baseUrl = customDisplayPageURL?has_content?then(customDisplayPageURL, friendlyURL) 
35    url = baseUrl + "/-/categories/" + pressTopicCategoryId 
36/> 
37 
38<#if validator.isNotNull(data_Data)> 
39    <#assign date_localized = dateUtil.formatDate("yyyy-MM-dd", data_Data, locale)/> 
40</#if> 
41 
42<div class="card-branco-com-categoria"> 
43    <a href="${url}" class="text-decoration-none"> 
44        <div class="box d-flex flex-column justify-content-between p-3"> 
45            <div> 
46                <p class="text-azul-vale mb-2"> 
47                    ${pressTopicsCategoryName} 
48                </p> 
49                <p class="text-verde-vale"> 
50                    ${.vars['reserved-article-title'].data} 
51                </p> 
52            </div> 
53            <p class="text-cinza-escuro m-0"> 
54                ${date_localized} 
55            </p> 
56            <img  
57                class="onda position-absolute" 
58                src="${images_path}onda_verde" 
59                role="presentation" 
60                alt="${languageUtil.get(locale, 'vale-wave')}" 
61								loading="lazy" 
62            /> 
63        </div> 
64    </a> 
65</div> 
66 
67<style> 
68.card-branco-com-categoria .onda { 
69    position: absolute; 
70    bottom: 1.875rem; 
71    right: -0.125rem; 
72
73 
74.card-branco-com-categoria .box { 
75    background-color: var(--branco); 
76    border-left: 10px solid var(--azul-vale); 
77    height: 14.6875rem; 
78    margin-bottom: 2rem; 
79
80 
81.card-branco-com-categoria p { 
82    display: -webkit-box;  
83    line-clamp: 4; 
84    overflow: hidden; 
85    -webkit-line-clamp: 4; 
86    -webkit-box-orient: vertical; 
87
88 
89@media screen and (min-width: 768px) { 
90    .card-branco-com-categoria .box { 
91        border-left: 20px solid var(--azul-vale); 
92        height: 11.875rem; 
93
94 
95    .card-branco-com-categoria p { 
96        line-clamp: 3; 
97        -webkit-line-clamp: 3; 
98
99
100</style> 
Um erro ocorreu enquanto processava o modelo.
For "." left-hand operand: Expected a hash, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + pressTopicVocabularyId + "/taxonomy-categories?fields=id,name&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30")  [in template "44549#44620#4480812" at line 7, column 31]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: pressTopics = restClient.get("/headle...  [in template "44549#44620#4480812" at line 7, column 17]
----
1<#assign 
2    images_path = "/documents/d/guest/" 
3    press = restClient.get('/headless-delivery/v1.0/sites/' + groupId + '/structured-contents/by-key/' + .vars['reserved-article-id'].data + '?fields=taxonomyCategoryBriefs&restrictFields=actions%2CavailableLanguages') 
4    pressCategoriesIds = press.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryId?number) 
5    pressCategoriesNames = press.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryName) 
6    pressTopicVocabularyId = 4435339 
7		pressTopics = restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + pressTopicVocabularyId + "/taxonomy-categories?fields=id,name&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30").items 
8    title = .vars['reserved-article-title'].data 
9    data_Data = getterUtil.getString(data.getData()) 
10/> 
11 
12<#function getPressTopicCategoryId> 
13    <#local 
14        pressTopicsIds = pressTopics?map(pressTopic -> pressTopic.id?number) 
15    /> 
16 
17    <#return pressCategoriesIds?filter(categoryId -> pressTopicsIds?seq_contains(categoryId))?first!""/> 
18</#function> 
19 
20<#function getPressTopicsCategoryName> 
21    <#local 
22        pressTopicsNames = pressTopics?map(pressTopic -> pressTopic.name) 
23    /> 
24 
25    <#return pressCategoriesNames?filter(categoryName -> pressTopicsNames?seq_contains(categoryName))?first!""/> 
26</#function> 
27 
28<#assign 
29    pressTopicCategoryId = getPressTopicCategoryId() 
30    pressTopicsCategoryName = getPressTopicsCategoryName() 
31 
32    customDisplayPageURL = customDisplayPage.getFriendlyUrl() 
33 
34    baseUrl = customDisplayPageURL?has_content?then(customDisplayPageURL, friendlyURL) 
35    url = baseUrl + "/-/categories/" + pressTopicCategoryId 
36/> 
37 
38<#if validator.isNotNull(data_Data)> 
39    <#assign date_localized = dateUtil.formatDate("yyyy-MM-dd", data_Data, locale)/> 
40</#if> 
41 
42<div class="card-branco-com-categoria"> 
43    <a href="${url}" class="text-decoration-none"> 
44        <div class="box d-flex flex-column justify-content-between p-3"> 
45            <div> 
46                <p class="text-azul-vale mb-2"> 
47                    ${pressTopicsCategoryName} 
48                </p> 
49                <p class="text-verde-vale"> 
50                    ${.vars['reserved-article-title'].data} 
51                </p> 
52            </div> 
53            <p class="text-cinza-escuro m-0"> 
54                ${date_localized} 
55            </p> 
56            <img  
57                class="onda position-absolute" 
58                src="${images_path}onda_verde" 
59                role="presentation" 
60                alt="${languageUtil.get(locale, 'vale-wave')}" 
61								loading="lazy" 
62            /> 
63        </div> 
64    </a> 
65</div> 
66 
67<style> 
68.card-branco-com-categoria .onda { 
69    position: absolute; 
70    bottom: 1.875rem; 
71    right: -0.125rem; 
72
73 
74.card-branco-com-categoria .box { 
75    background-color: var(--branco); 
76    border-left: 10px solid var(--azul-vale); 
77    height: 14.6875rem; 
78    margin-bottom: 2rem; 
79
80 
81.card-branco-com-categoria p { 
82    display: -webkit-box;  
83    line-clamp: 4; 
84    overflow: hidden; 
85    -webkit-line-clamp: 4; 
86    -webkit-box-orient: vertical; 
87
88 
89@media screen and (min-width: 768px) { 
90    .card-branco-com-categoria .box { 
91        border-left: 20px solid var(--azul-vale); 
92        height: 11.875rem; 
93
94 
95    .card-branco-com-categoria p { 
96        line-clamp: 3; 
97        -webkit-line-clamp: 3; 
98
99
100</style> 
Um erro ocorreu enquanto processava o modelo.
For "." left-hand operand: Expected a hash, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + pressTopicVocabularyId + "/taxonomy-categories?fields=id,name&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30")  [in template "44549#44620#4480812" at line 7, column 31]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: pressTopics = restClient.get("/headle...  [in template "44549#44620#4480812" at line 7, column 17]
----
1<#assign 
2    images_path = "/documents/d/guest/" 
3    press = restClient.get('/headless-delivery/v1.0/sites/' + groupId + '/structured-contents/by-key/' + .vars['reserved-article-id'].data + '?fields=taxonomyCategoryBriefs&restrictFields=actions%2CavailableLanguages') 
4    pressCategoriesIds = press.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryId?number) 
5    pressCategoriesNames = press.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryName) 
6    pressTopicVocabularyId = 4435339 
7		pressTopics = restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + pressTopicVocabularyId + "/taxonomy-categories?fields=id,name&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30").items 
8    title = .vars['reserved-article-title'].data 
9    data_Data = getterUtil.getString(data.getData()) 
10/> 
11 
12<#function getPressTopicCategoryId> 
13    <#local 
14        pressTopicsIds = pressTopics?map(pressTopic -> pressTopic.id?number) 
15    /> 
16 
17    <#return pressCategoriesIds?filter(categoryId -> pressTopicsIds?seq_contains(categoryId))?first!""/> 
18</#function> 
19 
20<#function getPressTopicsCategoryName> 
21    <#local 
22        pressTopicsNames = pressTopics?map(pressTopic -> pressTopic.name) 
23    /> 
24 
25    <#return pressCategoriesNames?filter(categoryName -> pressTopicsNames?seq_contains(categoryName))?first!""/> 
26</#function> 
27 
28<#assign 
29    pressTopicCategoryId = getPressTopicCategoryId() 
30    pressTopicsCategoryName = getPressTopicsCategoryName() 
31 
32    customDisplayPageURL = customDisplayPage.getFriendlyUrl() 
33 
34    baseUrl = customDisplayPageURL?has_content?then(customDisplayPageURL, friendlyURL) 
35    url = baseUrl + "/-/categories/" + pressTopicCategoryId 
36/> 
37 
38<#if validator.isNotNull(data_Data)> 
39    <#assign date_localized = dateUtil.formatDate("yyyy-MM-dd", data_Data, locale)/> 
40</#if> 
41 
42<div class="card-branco-com-categoria"> 
43    <a href="${url}" class="text-decoration-none"> 
44        <div class="box d-flex flex-column justify-content-between p-3"> 
45            <div> 
46                <p class="text-azul-vale mb-2"> 
47                    ${pressTopicsCategoryName} 
48                </p> 
49                <p class="text-verde-vale"> 
50                    ${.vars['reserved-article-title'].data} 
51                </p> 
52            </div> 
53            <p class="text-cinza-escuro m-0"> 
54                ${date_localized} 
55            </p> 
56            <img  
57                class="onda position-absolute" 
58                src="${images_path}onda_verde" 
59                role="presentation" 
60                alt="${languageUtil.get(locale, 'vale-wave')}" 
61								loading="lazy" 
62            /> 
63        </div> 
64    </a> 
65</div> 
66 
67<style> 
68.card-branco-com-categoria .onda { 
69    position: absolute; 
70    bottom: 1.875rem; 
71    right: -0.125rem; 
72
73 
74.card-branco-com-categoria .box { 
75    background-color: var(--branco); 
76    border-left: 10px solid var(--azul-vale); 
77    height: 14.6875rem; 
78    margin-bottom: 2rem; 
79
80 
81.card-branco-com-categoria p { 
82    display: -webkit-box;  
83    line-clamp: 4; 
84    overflow: hidden; 
85    -webkit-line-clamp: 4; 
86    -webkit-box-orient: vertical; 
87
88 
89@media screen and (min-width: 768px) { 
90    .card-branco-com-categoria .box { 
91        border-left: 20px solid var(--azul-vale); 
92        height: 11.875rem; 
93
94 
95    .card-branco-com-categoria p { 
96        line-clamp: 3; 
97        -webkit-line-clamp: 3; 
98
99
100</style> 
Um erro ocorreu enquanto processava o modelo.
For "." left-hand operand: Expected a hash, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + pressTopicVocabularyId + "/taxonomy-categories?fields=id,name&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30")  [in template "44549#44620#4480812" at line 7, column 31]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: pressTopics = restClient.get("/headle...  [in template "44549#44620#4480812" at line 7, column 17]
----
1<#assign 
2    images_path = "/documents/d/guest/" 
3    press = restClient.get('/headless-delivery/v1.0/sites/' + groupId + '/structured-contents/by-key/' + .vars['reserved-article-id'].data + '?fields=taxonomyCategoryBriefs&restrictFields=actions%2CavailableLanguages') 
4    pressCategoriesIds = press.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryId?number) 
5    pressCategoriesNames = press.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryName) 
6    pressTopicVocabularyId = 4435339 
7		pressTopics = restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + pressTopicVocabularyId + "/taxonomy-categories?fields=id,name&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30").items 
8    title = .vars['reserved-article-title'].data 
9    data_Data = getterUtil.getString(data.getData()) 
10/> 
11 
12<#function getPressTopicCategoryId> 
13    <#local 
14        pressTopicsIds = pressTopics?map(pressTopic -> pressTopic.id?number) 
15    /> 
16 
17    <#return pressCategoriesIds?filter(categoryId -> pressTopicsIds?seq_contains(categoryId))?first!""/> 
18</#function> 
19 
20<#function getPressTopicsCategoryName> 
21    <#local 
22        pressTopicsNames = pressTopics?map(pressTopic -> pressTopic.name) 
23    /> 
24 
25    <#return pressCategoriesNames?filter(categoryName -> pressTopicsNames?seq_contains(categoryName))?first!""/> 
26</#function> 
27 
28<#assign 
29    pressTopicCategoryId = getPressTopicCategoryId() 
30    pressTopicsCategoryName = getPressTopicsCategoryName() 
31 
32    customDisplayPageURL = customDisplayPage.getFriendlyUrl() 
33 
34    baseUrl = customDisplayPageURL?has_content?then(customDisplayPageURL, friendlyURL) 
35    url = baseUrl + "/-/categories/" + pressTopicCategoryId 
36/> 
37 
38<#if validator.isNotNull(data_Data)> 
39    <#assign date_localized = dateUtil.formatDate("yyyy-MM-dd", data_Data, locale)/> 
40</#if> 
41 
42<div class="card-branco-com-categoria"> 
43    <a href="${url}" class="text-decoration-none"> 
44        <div class="box d-flex flex-column justify-content-between p-3"> 
45            <div> 
46                <p class="text-azul-vale mb-2"> 
47                    ${pressTopicsCategoryName} 
48                </p> 
49                <p class="text-verde-vale"> 
50                    ${.vars['reserved-article-title'].data} 
51                </p> 
52            </div> 
53            <p class="text-cinza-escuro m-0"> 
54                ${date_localized} 
55            </p> 
56            <img  
57                class="onda position-absolute" 
58                src="${images_path}onda_verde" 
59                role="presentation" 
60                alt="${languageUtil.get(locale, 'vale-wave')}" 
61								loading="lazy" 
62            /> 
63        </div> 
64    </a> 
65</div> 
66 
67<style> 
68.card-branco-com-categoria .onda { 
69    position: absolute; 
70    bottom: 1.875rem; 
71    right: -0.125rem; 
72
73 
74.card-branco-com-categoria .box { 
75    background-color: var(--branco); 
76    border-left: 10px solid var(--azul-vale); 
77    height: 14.6875rem; 
78    margin-bottom: 2rem; 
79
80 
81.card-branco-com-categoria p { 
82    display: -webkit-box;  
83    line-clamp: 4; 
84    overflow: hidden; 
85    -webkit-line-clamp: 4; 
86    -webkit-box-orient: vertical; 
87
88 
89@media screen and (min-width: 768px) { 
90    .card-branco-com-categoria .box { 
91        border-left: 20px solid var(--azul-vale); 
92        height: 11.875rem; 
93
94 
95    .card-branco-com-categoria p { 
96        line-clamp: 3; 
97        -webkit-line-clamp: 3; 
98
99
100</style> 
Um erro ocorreu enquanto processava o modelo.
For "." left-hand operand: Expected a hash, but this has evaluated to a string (wrapper: f.t.SimpleScalar):
==> restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + pressTopicVocabularyId + "/taxonomy-categories?fields=id,name&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30")  [in template "44549#44620#4480812" at line 7, column 31]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: pressTopics = restClient.get("/headle...  [in template "44549#44620#4480812" at line 7, column 17]
----
1<#assign 
2    images_path = "/documents/d/guest/" 
3    press = restClient.get('/headless-delivery/v1.0/sites/' + groupId + '/structured-contents/by-key/' + .vars['reserved-article-id'].data + '?fields=taxonomyCategoryBriefs&restrictFields=actions%2CavailableLanguages') 
4    pressCategoriesIds = press.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryId?number) 
5    pressCategoriesNames = press.taxonomyCategoryBriefs?map(taxonomyCategoryBrief -> taxonomyCategoryBrief.taxonomyCategoryName) 
6    pressTopicVocabularyId = 4435339 
7		pressTopics = restClient.get("/headless-admin-taxonomy/v1.0/taxonomy-vocabularies/" + pressTopicVocabularyId + "/taxonomy-categories?fields=id,name&restricFields=actions,availableLanguages,taxonomyCategoryUsageCount&page=1&pageSize=30").items 
8    title = .vars['reserved-article-title'].data 
9    data_Data = getterUtil.getString(data.getData()) 
10/> 
11 
12<#function getPressTopicCategoryId> 
13    <#local 
14        pressTopicsIds = pressTopics?map(pressTopic -> pressTopic.id?number) 
15    /> 
16 
17    <#return pressCategoriesIds?filter(categoryId -> pressTopicsIds?seq_contains(categoryId))?first!""/> 
18</#function> 
19 
20<#function getPressTopicsCategoryName> 
21    <#local 
22        pressTopicsNames = pressTopics?map(pressTopic -> pressTopic.name) 
23    /> 
24 
25    <#return pressCategoriesNames?filter(categoryName -> pressTopicsNames?seq_contains(categoryName))?first!""/> 
26</#function> 
27 
28<#assign 
29    pressTopicCategoryId = getPressTopicCategoryId() 
30    pressTopicsCategoryName = getPressTopicsCategoryName() 
31 
32    customDisplayPageURL = customDisplayPage.getFriendlyUrl() 
33 
34    baseUrl = customDisplayPageURL?has_content?then(customDisplayPageURL, friendlyURL) 
35    url = baseUrl + "/-/categories/" + pressTopicCategoryId 
36/> 
37 
38<#if validator.isNotNull(data_Data)> 
39    <#assign date_localized = dateUtil.formatDate("yyyy-MM-dd", data_Data, locale)/> 
40</#if> 
41 
42<div class="card-branco-com-categoria"> 
43    <a href="${url}" class="text-decoration-none"> 
44        <div class="box d-flex flex-column justify-content-between p-3"> 
45            <div> 
46                <p class="text-azul-vale mb-2"> 
47                    ${pressTopicsCategoryName} 
48                </p> 
49                <p class="text-verde-vale"> 
50                    ${.vars['reserved-article-title'].data} 
51                </p> 
52            </div> 
53            <p class="text-cinza-escuro m-0"> 
54                ${date_localized} 
55            </p> 
56            <img  
57                class="onda position-absolute" 
58                src="${images_path}onda_verde" 
59                role="presentation" 
60                alt="${languageUtil.get(locale, 'vale-wave')}" 
61								loading="lazy" 
62            /> 
63        </div> 
64    </a> 
65</div> 
66 
67<style> 
68.card-branco-com-categoria .onda { 
69    position: absolute; 
70    bottom: 1.875rem; 
71    right: -0.125rem; 
72
73 
74.card-branco-com-categoria .box { 
75    background-color: var(--branco); 
76    border-left: 10px solid var(--azul-vale); 
77    height: 14.6875rem; 
78    margin-bottom: 2rem; 
79
80 
81.card-branco-com-categoria p { 
82    display: -webkit-box;  
83    line-clamp: 4; 
84    overflow: hidden; 
85    -webkit-line-clamp: 4; 
86    -webkit-box-orient: vertical; 
87
88 
89@media screen and (min-width: 768px) { 
90    .card-branco-com-categoria .box { 
91        border-left: 20px solid var(--azul-vale); 
92        height: 11.875rem; 
93
94 
95    .card-branco-com-categoria p { 
96        line-clamp: 3; 
97        -webkit-line-clamp: 3; 
98
99
100</style> 
Exibindo 1 - 6 de 6 resultados.
scroll-to-see-more

É essencial que mantenhamos canais de diálogo abertos e transparentes.

Aqui você poderá encontrar todos os nossos canais de contato. Fique à vontade para escolher o que melhor se adapta às suas necessidades.