<script type="text/javascript" src="https://www.moviflor.pt/plugins/system/js/common/1.1/common.min.js"></script>
<script type="text/javascript" src="https://www.moviflor.pt/js/site.js"></script>
<script type="text/javascript">
setGTM_head = (function(w,d,s,l,i){w[l]=w[l]||[];
w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});
var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';
j.async=true;
j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;
f.parentNode.insertBefore(j,f);
});
function setGoogleTagManager() {
setGTM_head(window,do***ent,'script','dataLayer','GTM-P5QSHM8');
}
setGoogleTagManager();
</script>
<script type="text/javascript">
!function(f,b,e,v,n,t,s)
{if(f.fbq)return;
n=f.fbq=function(){n.callMethod?
n.callMethod.apply(n,arguments):n.queue.push(arguments)};
if(!f._fbq)f._fbq=n;
n.push=n;
n.loaded=!0;
n.version='2.0';
n.queue=[];
t=b.createElement(e);
t.async=!0;
t.src=v;
s=b.getElementsByTagName(e)[0];
s.parentNode.insertBefore(t,s)}(window, do***ent,'script',
'https://connect.facebook.net/en_US/fbevents.js');
fbq('init', '425881004871943');
function facebookPixel_pageview() {
fbq('track', 'PageView');
}
facebookPixel_pageview();
</script>
<script type="text/javascript">
if(window.parent.length == 0) {
var chat_script = do***ent.createElement('script');
chat_script.setAttribute('type', 'text/javascript');
chat_script.setAttribute('src', '/plugins/onlinechat/js_chat/chat_functions.js?1');
do***ent.getElementsByTagName('head')[0].appendChild(chat_script);
}
</script>
<script type="text/javascript">
;
(function($){
var defaults = {}
$.fn.gdprCookies = function(options){
var popup = {};
var el = this;
var time = "";
var iconClose = '<svg enable-background="new 0 0 512 512" preserveAspectRatio = "none" height="512px" id="Layer_1" version="1.0" viewBox="0 0 512 512" width="512px" xml:space="preserve" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><polygon points="445.2,109.2 402.8,66.8 256,213.6 109.2,66.8 66.8,109.2 213.6,256 66.8,402.8 109.2,445.2 256,298.4 402.8,445.2 445.2,402.8 298.4,256 "/>';
el.init = function(){
popup.settings = $.extend({}, defaults, options);
$body = el;
$body.append(this.getCSS());
if(popup.settings.layout == 1)
{
this.createPopup(0);
}
else if(popup.settings.layout == 2)
{
this.createBanner();
}
else if(popup.settings.layout == 3)
{
this.createBannerClose();
}
var popupVisible;
var popupPrevVisible;
}
el.getCSS = function() {
var css = '<style type="text/css">';
css += ' #cookieBanner .container{max-width: 1440px;
position: relative;
}';
css += ' .listNotifications .checkbox-switch {float: left;
margin-right: 31px;
}';
css += ' .listNotifications .checkbox-switch input[type=checkbox]{height: 0 !important;
width: 0;
visibility: hidden;
position: absolute;
z-index: 0;
}';
css += ' .listNotifications .checkbox-switch label {cursor: pointer;
text-indent: -9999px;
width: 48px;
height: 24px;
background-color: #c5c5c5;
display: block;
border-radius: 100px;
position: relative;
margin-top: 2px;
}';
css += ' .listNotifications .checkbox-switch label:after {content: "";
position: absolute;
top: 3px;
left: 3px;
width: ***px;
height: ***px;
background: #fff;
border-radius: 90px;
transition: 0.1s;
}';
css += ' .listNotifications .checkbox-switch input:checked + label {background-color: #7eb7e1;
}';
css += ' .listNotifications .checkbox-switch input#opc1:checked + label {background-color: #c5c5c5;
cursor: default;
}';
css += ' .listNotifications .checkbox-switch input#opc1:checked + label:after {width: ***px !important;
}';
css += ' .listNotifications .checkbox-switch input:checked + label:after {left: calc(100% - 3px);
transform: translateX(-100%);
}';
css += ' .listNotifications .checkbox-switch label:active:after {width: 42px;
}';
css += ' .xs-icon-close {position: absolute;
top: 50%;
right: 30px;
z-index: 100;
margin-top:-7px}';
css += ' .xs-icon-close svg {width: 15px;
height: 15px;
}';
css += ' .xs-icon-close:hover {opacity: .8;
}';
css += ' #cookieBanner a:hover, #cookiePopup a:hover {border-bottom-color: transparent !important}';
css += ' .acceptCookieButton:hover {opacity: .8}';
css += ' .style3 {top: 26px !important;
right: ***px !important;
}';
css += ' .style5 {position: relative;
}';
css += ' .style6 {float: right;
text-align: center;
}';
css += ' .style6 a {float: right;
}';
css += ' .style7 {padding-bottom: 12px;
border-bottom: 1px solid #dddddd;
position:relative;
}';
css += ' .style8 {border-top: 1px solid #DDD;
}';
css += ' @media screen and (max-width: 767px){';
css += ' body.popupCookiesActive {overflow: hidden;
height: 100vh;
position: fixed;
}';
css += ' .xs-icon-close {top: 0;
right: 0;
padding: 10px 12px;
line-height: 0;
margin-top: 0;
}';
css += ' .containerCookiesButtons {text-align: center;
}';
css += ' .acceptCookieButton {float:none !important;
}';
css += ' .infoCookieButton {float:none !important;
}';
css += ' .xs-block {display: block !important;
}';
css += ' .xs-acceptCookieButton {padding-top: 10px;
padding-left: 0 !important;
}';
css += ' .style1 {padding-right: 0 !important}';
css += ' .style2 {width: calc(100% - 15px) !important;
font-size: ***px !important;
line-height: 120% !important;
}';
css += ' .style3 {top: 15px !important;
right: 8px !important;
}';
css += ' .style4 {overflow-y: auto;
height: 33vh;
-webkit-overflow-scrolling: touch;
padding-right: 8px;
}';
css += ' .style5 {padding-left: 15px !important;
padding-right: 15px !important;
padding-bottom: 15px !important;
}';
css += ' .style6, .style6 a {float: none;
font-size: 11px;
line-height: 11px;
}';
css += ' .style8 {border-top: 0;
background-color: white;
padding-bottom: 10px;
display: none;
}';
css += ' .style8 > div {background-color: transparent !important;
}';
css += ' #listNotifications {margin-top: 15px !important}';
css += ' #listNotifications .uni {margin-bottom: 20px !important}';
css += '
}';
css += '';
return css;
}
el.createBanner = function(){
var html = '<div id="cookieBanner" style="position: fixed;
bottom: 0;
z-index: 600;
background-color: #fff;
box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.5);
width: 100%;
">';
html += ' <div class="container" style="padding-top: 10px;
padding-bottom: 10px;
">';
html += ' <div class="xs-block" style="display: table;
width: 100%;
">';
html += ' <div class="xs-block" style="display: table-cell;
vertical-align: top;
">';
html += ' <p class="h2" style="text-transform: uppercase;
color: #333;
font-size: 12px;
font-weight: 600;
white-space: nowrap;
padding-right: 15px;
">'+popup.setting***p.banner.exp1+'';
html += ' ';
html += ' <div class="xs-block" style="display: table-cell">';
html += ' <p style="text-transform: uppercase;
color: #666;
font-size: 10px;
line-height: 17px;
padding-top: 3px;
">'+popup.setting***p.banner.exp2+' <a href="javascript: gdprCookies.acceptCookieButton(1);
" style="text-decoration: none;
letter-spacing: 0.4px;
color: #167ed2;
border-bottom: 1px solid #167ed2;
line-height: 100%;
font-size: 11px;
">'+popup.setting***p.buttons.moreinfo+'';
html += ' ';
html += ' <div class="xs-block xs-acceptCookieButton" style="display: table-cell;
vertical-align: top;
padding-left: 15px;
">';
html += ' <a href="javascript: gdprCookies.acceptCookieButton(\'none\', 1, 1);
" class="acceptCookieButton" style="padding: 14px 20px;
display: inline-block;
float: left;
background-color: #000;
color: #FFF;
font-size: 11px;
text-decoration: none;
line-height: 100%;
">'+popup.setting***p.buttons.banner+'';
html += ' ';
html += ' ';
html += ' ';
html += '';
$body.prepend(html).addClass("bannerCookiesActive");
}
el.createBannerClose = function(){
var html = '<div id="cookieBanner" style="position: fixed;
bottom: 0;
z-index: 600;
background-color: #fff;
box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.5);
width: 100%;
">';
html += ' <div class="container" style="padding-top: 10px;
padding-bottom: 10px;
">';
html += ' <div class="xs-block" style="display: table;
width: 100%;
">';
html += ' <div class="xs-block" style="display: table-cell;
vertical-align: top;
">';
html += ' <p style="text-transform: uppercase;
color: #333;
font-size: 11px;
line-height: 17px;
font-weight: 600;
white-space: nowrap;
padding-right: 15px;
font-family: \'Helvetica Neue\', Arial, Helvetica, \'Segoe UI\', sans-serif;
">'+popup.setting***p.banner.exp1+'';
html += ' ';
html += ' <div class="xs-block" style="display: table-cell">';
html += ' <p class="style1" style="font-family: \'Helvetica Neue\', Arial, Helvetica, \'Segoe UI\', sans-serif;
color: #666;
font-size: 11px;
font-weight: 400;
line-height: 17px;
padding-right: 46px;
">'+popup.setting***p.banner.exp2+' <a href="javascript: gdprCookies.acceptCookieButton(1);
" style="font-family: \'Helvetica Neue\', Arial, Helvetica, \'Segoe UI\', sans-serif;
text-decoration: none;
color: #333;
border-bottom: 1px solid #333;
line-height: 17px;
font-size: 11px;
font-weight: 400;
">'+popup.setting***p.buttons.moreinfo+'';
html += ' ';
html += ' ';
html += ' <a href="javascript: gdprCookies.acceptCookieButton(\'none\', 1, 1);
" class="xs-icon-close">' + iconClose + '';
html += ' ';
html += '';
$body.prepend(html).addClass("bannerCookiesActive");
}
el.createPopup = function(form) {
popupVisible = form;
var poppopuphtml = '<div id="cookiePopup" style="position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: 9999;
background: rgba(0,0,0,0.5);
">';
poppopuphtml += ' <div style="display: table;
width: 100%;
height: 100%;
">';
poppopuphtml += ' <div style="display: table-cell;
text-align: center;
vertical-align: middle;
">';
poppopuphtml += ' <div style="background-color: rgba(0,0,0,0.28);
padding: 11px;
max-width: 765px;
margin: auto;
text-align: left;
">';
poppopuphtml += ' <div class="style5" style="background-color: #FFF;
padding: 23px 20px 45px 20px;
">';
if(form == 0)
{
poppopuphtml += el.contentPopUpInfo();
popupPrevVisible = form;
}
else if(form == 1) {
popupPrevVisible = 0;
poppopuphtml += el.contentPopUpCookiesInfo();
popupPrevVisible = form;
}
else if(form == 2) {
poppopuphtml += el.contentPopUpSucessInfo();
}
else if(form == 3) {
poppopuphtml += el.contentPopUpPrivacyPolicy();
}
if(isMobileDevice() == false || form != 1)
poppopuphtml += ' ';
poppopuphtml += ' <div class="style8">';
if(form != 2){
poppopuphtml += ' <div class="clearfix" style="border-top: 1px solid #FFF;
background-color: #F7F7F7;
padding: 10px 20px;
">';
if(form == 3){
poppopuphtml += ' <div style="text-align: center">';
poppopuphtml += ' <a href="javascript: gdprCookies.acceptCookieButton('+popupPrevVisible+');
" style="font-family: \'Helvetica Neue\', Arial, Helvetica, \'Segoe UI\', sans-serif;
text-decoration: none;
color: #333;
border-bottom: 1px solid #333;
line-height: 11px;
font-size: 11px;
text-transform: uppercase;
">'+popup.setting***p.buttons.back+'';
poppopuphtml += ' ';
}
else {
poppopuphtml += ' <div class="clearfix style6">';
poppopuphtml += ' <a href="javascript: gdprCookies.acceptCookieButton(3);
" style="font-family: \'Helvetica Neue\', Arial, Helvetica, \'Segoe UI\', sans-serif;
text-decoration: none;
color: #333;
border-bottom: 1px solid #333;
line-height: 11px;
font-size: 11px;
text-transform: uppercase;
">'+popup.setting***p.terms+'';
poppopuphtml += ' ';
}
poppopuphtml += ' <div>';
}
poppopuphtml += ' ';
if(isMobileDevice() && form == 1)
poppopuphtml += ' ';
poppopuphtml += ' ';
poppopuphtml += ' ';
poppopuphtml += ' ';
poppopuphtml += '';
$body.prepend(poppopuphtml).addClass("popupCookiesActive");
if(form == 3) {
$("#policy_iframe")[0].onload = function(){
$("body", $("#policy_iframe").contents()).css("background-color", "#FFFFFF");
};
}
}
el.contentPopUpInfo = function(){
var html = '<div class="clearfix" style="padding-bottom: 12px;
border-bottom: 1px solid #dddddd;
">';
html += ' <p class="style2" style="font-family: \'Helvetica Neue\', Arial, Helvetica, \'Segoe UI\', sans-serif;
letter-spacing: -.5px;
float: left;
font-size: 21px;
line-height: 140%;
padding: 0 3px;
width: calc(100% - 26px);
">'+popup.setting***p.popupCookiesInfo.title+'';
//html += ' <img src="https://1531908337.rsc.cdn77.org/sysimages/logo.png" class="hidden-xs" style="width: auto;
height: 28px;
float: right;
margin-top: -4px;
margin-right: 3px;
" />';
html += '';
html += '<p class="style4" style="margin: 24px 3px 34px 3px;
line-height: 230%;
color: #666;
min-height: 100px;
">';
html += ' '+popup.setting***p.popupCookiesInfo.desc;
html += ' <a href="javascript: gdprCookies.acceptCookieButton(1);
" class="infoCookieButton" style="color: #167ed2;
font-family: \'Helvetica Neue\', Arial, Helvetica, \'Segoe UI\', sans-serif;
text-decoration: none;
border-bottom: 1px solid #167ed2;
line-height: 11px;
font-size: 11px;
text-transform: uppercase;
">'+popup.setting***p.buttons.moreinfo+'';
html += '';
html += '<div class="clearfix containerCookiesButtons">';
html += ' <a href="javascript: gdprCookies.acceptCookieButton(\'none\', 1, 1);
" class="acceptCookieButton" style="padding: 14px 32px;
display: inline-block;
float: left;
background-color: #000;
color: #FFF;
font-size: 11px;
text-decoration: none;
line-height: 100%;
">'+popup.setting***p.buttons.popupinfo+'';
html += '';
return html;
}
el.contentPopUpCookiesInfo = function() {
var html = '';
if(popup.settings.layout == 1)
html += ' <a href="javascript: gdprCookies.acceptCookieButton('+popupPrevVisible+');
" class="xs-icon-close style3" style="top: 2px;
right: -2px;
">' + iconClose + '';
else
html += ' <a href="javascript: gdprCookies.closePopup();
" class="xs-icon-close style3" style="top: 2px;
right: -2px;
">' + iconClose + '';
if(isMobileDevice())
html += '<div style="max-height: 74vh;
overflow: hidden;
overflow-y: auto;
">';
html += '<div class="style7">';
html += ' <div class="clearfix">';
html += ' <p class="style2" style="font-family: \'Helvetica Neue\', Arial, Helvetica, \'Segoe UI\', sans-serif;
letter-spacing: -.5px;
float: left;
font-size: 21px;
line-height: 140%;
padding: 0 3px;
width: calc(100% - 26px);
">'+popup.setting***p.popupForm.title+'';
//html += ' <img src="https://1531908337.rsc.cdn77.org/sysimages/logo.png" class="hidden-xs" style="width: 86px;
float: right;
margin-top: -4px;
margin-right: 3px;
" />';
html += ' ';
html += ' <p style="font-family: \'Helvetica Neue\', Arial, Helvetica, \'Segoe UI\', sans-serif;
padding: 5px 3px 0 3px;
line-height: 17px;
color: #666;
font-size: 11px;
">';
html += ' '+popup.setting***p.popupForm.desc;
html += ' ';
html += '';
html += ' <form action="'+popup.settings.action+'" method="POST" id="listNotifications" class="listNotifications" style="margin-top: 37px;
">';
html += ' <input type="hidden" name="csrf" value="'+popup.settings.csrf+'">';
html += ' <div class="uni clearfix" style="margin-bottom: 50px;
">';
html += ' <div class="checkbox-switch">';
html += ' <input type="checkbox" id="opc1" checked disabled onChange="return false;
"/><label for="opc1">Toggle';
html += ' ';
html += ' <div class="text" style="float: left;
width: calc(100% - 82px);
">';
html += ' <p style="padding-bottom: 2px;
line-height: 17px;
font-size: 11px;
font-family: \'Helvetica Neue\', Arial, Helvetica, \'Segoe UI\', sans-serif;
"><b>'+popup.setting***p.popupForm.options[0].title+'';
html += ' <p style="line-height: 17px;
font-family: \'Helvetica Neue\', Arial, Helvetica, \'Segoe UI\', sans-serif;
font-size: 11px;
">'+popup.setting***p.popupForm.options[0].desc+'';
html += ' ';
html += ' ';
html += ' <div class="uni clearfix" style="margin-bottom: 50px;
">';
html += ' <div class="checkbox-switch">';
html += ' <input type="checkbox" id="opc2" name="cookie_1" checked /><label for="opc2">Toggle';
html += ' ';
html += ' <div class="text" style="float: left;
width: calc(100% - 82px);
">';
html += ' <p style="padding-bottom: 2px;
line-height: 17px;
font-size: 11px;
font-family: \'Helvetica Neue\', Arial, Helvetica, \'Segoe UI\', sans-serif;
"><b>'+popup.setting***p.popupForm.options[1].title+'';
html += ' <p style="line-height: 17px;
font-family: \'Helvetica Neue\', Arial, Helvetica, \'Segoe UI\', sans-serif;
font-size: 11px;
">'+popup.setting***p.popupForm.options[1].desc+'';
html += ' ';
html += ' ';
html += ' <div class="uni clearfix" style="margin-bottom: 50px;
">';
html += ' <div class="checkbox-switch">';
html += ' <input type="checkbox" id="opc3" name="cookie_2" checked /><label for="opc3">Toggle';
html += ' ';
html += ' <div class="text" style="float: left;
width: calc(100% - 82px);
">';
html += ' <p style="padding-bottom: 2px;
line-height: 17px;
font-size: 11px;
font-family: \'Helvetica Neue\', Arial, Helvetica, \'Segoe UI\', sans-serif;
"><b>'+popup.setting***p.popupForm.options[2].title+'';
html += ' <p style="line-height: 17px;
font-family: \'Helvetica Neue\', Arial, Helvetica, \'Segoe UI\', sans-serif;
font-size: 11px;
">'+popup.setting***p.popupForm.options[2].desc+'';
html += ' ';
html += ' ';
html += ' ';
html += ' <div class="clearfix containerCookiesButtons">';
html += ' <a href="javascript: gdprCookies.submitForm(\'#listNotifications\');
" class="acceptCookieButton" style="padding: 14px 32px;
display: inline-block;
float: left;
background-color: #000;
color: #FFF;
font-size: 11px;
text-decoration: none;
line-height: 100%;
">'+popup.setting***p.buttons.popupform+'';
html += ' ';
return html;
}
el.contentPopUpSucessInfo = function() {
var html = '<div class="clearfix" style="padding-bottom: 12px;
border-bottom: 1px solid #dddddd;
">';
html += ' <p class="style2" style="font-family: \'Helvetica Neue\', Arial, Helvetica, \'Segoe UI\', sans-serif;
letter-spacing: -.5px;
float: left;
font-size: 21px;
line-height: 140%;
padding: 0 3px;
width: calc(100% - 90px);
">'+popup.setting***p.popupSucessInfo.title+'';
//html += ' <img src="https://1531908337.rsc.cdn77.org/sysimages/logo.png" class="hidden-xs" style="width: auto;
height: 28px;
float: right;
margin-top: -4px;
margin-right: 3px;
" />';
html += '';
html += '<p style="padding: 24px 3px 34px 3px;
line-height: 230%;
font-family: \'Helvetica Neue\', Arial, Helvetica, \'Segoe UI\', sans-serif;
font-size: 11px;
color: #666;
">';
html += ' '+popup.setting***p.popupSucessInfo.desc;
html += '';
html += '<div class="clearfix containerCookiesButtons">';
html += ' <a href="javascript: gdprCookies.closePopup();
window.location.reload();
" class="acceptCookieButton" style="padding: 14px 32px;
display: inline-block;
float: left;
background-color: #000;
color: #FFF;
font-size: 11px;
text-decoration: none;
line-height: 100%;
">'+popup.setting***p.buttons.close+'';
html += '';
return html;
}
el.contentPopUpPrivacyPolicy = function(){
var html = '<div style="margin-bottom: -23px;
height: 380px;
overflow: auto;
-webkit-overflow-scrolling: touch;
"><iframe id="policy_iframe" frameborder="0" height="370" width="100%" style="height: 370px;
" src="/index.php?id='+popup.settings.policy_page_id+'&oc=1">';
return html;
}
el.acceptCookieButton = function(popupId, all, close) {
if(popupId != 'none')
{
if(popupId == 3 && isMobileDevice()) {
window.location = "/index.php?id="+popup.settings.policy_page_id;
} else {
this.remove();
this.createPopup(popupId);
}
}
if(all == 1) {
$.post(popup.settings.action, {"all" : 1}, function(){
if(close == 1) {
gdprCookies.closePopup();
//window.location.reload();
}
});
}
}
/*el.infoCookieButton = function() {
this.remove();
this.createPopup(1);
}*/
el.remove = function() {
var form = 2;
if($(".bannerCookiesActive").length > 0)
{
$("#cookieBanner").remove();
$(".bannerCookiesActive").removeClass("bannerCookiesActive");
}
else
{
$("#cookiePopup").remove();
$(".popupCookiesActive").removeClass("popupCookiesActive");
}
return form;
}
el.closePopup = function() {
$("#cookiePopup").remove();
$("#cookieBanner").remove();
$(".popupCookiesActive").removeClass("popupCookiesActive");
$(".bannerCookiesActive").removeClass("bannerCookiesActive");
}
el.submitForm = function(form) {
var action = $(form).attr("action");
$.post(action, $(form).serialize());
$(form).remove();
this.acceptCookieButton(2);
}
el.readCookie = function(name) {
var nameEQ = name + "=";
var ca = do***ent.cookie.split(';
');
for(var i=0;
i < ca.length;
i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
el.init();
return this;
}
})(jQuery);
var gdprCookies = $("body").gdprCookies({
"action" : "/plugins/cookies_policy/action_cookies.php",
"csrf" : "d3846aa25112a4132b7e332464528bae6d3dd743",
"layout" : 2,
"policy_page_id" : 261,
"exp" : {
"terms" : "Política de Privacidade",
"buttons" : {
"moreinfo" : "Mais Informação",
"banner" : "PROSSEGUIR",
"popupinfo" : "CONCORDAR E PROSSEGUIR",
"popupform" : "SUBMETER PREFERÊNCIAS",
"close" : "FECHAR",
"back" : "Voltar"
},
"banner" : {
"exp1" : "UTILIZAÇÃO DE COOKIES",
"exp2" : "Ao continuar a sua navegação está a consentir a utilização de cookies que possibilitam a apresentação de serviços e ofertas adaptadas aos seus interesses. Pode alterar as suas definições de cookies a qualquer altura na sua área de cliente."
},
"popupCookiesInfo" : {
"title" : "AS SUAS OPÇÕES RELATIVAMENTE A COOKIES NESTE SITE",
"desc" : "Os cookies são importantes para o correto funcionamento de um site. Para melhorar a sua experiência, utilizamos cookies para lembrar detalhes de início de sessão, recolher estatísticas para otimizar a funcionalidade do site e apresentar conteúdo de acordo com os seus interesses. Clique em Concordar e Prosseguir para aceitar os cookies e avançar diretamente para o site ou clique em Mais informações para ver descrições detalhadas quanto aos tipos de cookies e escolher se pretende aceitar determinados cookies enquanto estiver no site."
},
"popupForm" : {
"title" : "AS SUAS OPÇÕES RELATIVAMENTE A COOKIES NESTE SITE",
"desc" : "Decida se este site pode usar cookies funcionais e/ou publicitários, tal como descrito abaixo:",
"options" : [
{
"title" : "COOKIES NECESSÁRIOS" ,
"desc" : "Este cookie é necessário para permitir a funcionalidade básica do site.."
},
{
"title" : "COOKIES FUNCIONAIS",
"desc" : "Estes cookies permitem-nos analisar a utilização do site para medir e melhorar a performance."
},
{
"title" : "COOKIES PUBLICITÁRIOS",
"desc" : "Estes cookies são utilizados por empresas publicitárias para publicar anúncios relevantes aos seus interesses."
}
]
},
"popupSucessInfo" : {
"title" : "SOLICITAÇÃO DE PREFERÊNCIA ENVIADA",
"desc" : "As suas preferências de cookies foram submetidas com sucesso."
}
}
});
</script>
<script type="text/javascript">
var wlg_submited = false;
var wlg_code = "";
if(wlg_code == "" && readCookie("_WCG"))
wlg_code = readCookie("_WCG");
var class_banner_visible = "bannerWelcomeGiftVisible";
var wlgRightHeight;
var bannerWelcomeGiftHeight;
var hasWG = "0";
var main_paddingTop = "";
$(do***ent).ready(function () {
if(isMobileDevice())
{
bannerWelcomeGiftHeight = $(".bannerWelcomeGift.mobile").outerHeight();
$(".bannerWelcomeGift.mobile .wlg_right").css({"height" : "0", "overflow" : "hidden", "display" : "block"});
$(".iconExpand").on("touchstart", function(ev){
ev.stopPropagation();
ev.preventDefault();
if($(".bannerWelcomeGift.mobile .wlg_right").height() == 0)
{
openWelcomeGiftMobile();
}
else
{
closeWelcomeGiftMobile();
}
});
$("body").on("click", function(ev){
var element = $(ev.target);
if($(".bannerWelcomeGift.mobile").length > 0 && $(".bannerWelcomeGift.mobile .wlg_right").height() > 0 && element.parents(".bannerWelcomeGift.mobile").length == 0 &&element.hasClass("toggle-button") == false && element.hasClass("slideout-panel") == false)
{
closeWelcomeGiftMobile();
}
});
}
bannerWelcomeGift();
addUnpinedClass();
});
$(window).scroll(function(){
addUnpinedClass();
});
function addUnpinedClass() {
if($(window).scrollTop() >= $(".bannerWelcomeGift:visible").outerHeight() && $(".bannerWelcomeGift:visible").length > 0)
{
$("body").addClass("unpinned");
}
else
{
$("body").removeClass("unpinned");
}
}
function openWelcomeGiftMobile() {
wlgRightHeight = $(".bannerWelcomeGift.mobile .right_wlg").height();
var topHeader = bannerWelcomeGiftHeight + wlgRightHeight;
var topDo***ent = parseInt($("#containerSite").css("padding-top")) + wlgRightHeight;
$(".bannerWelcomeGift.mobile .wlg_right").animate({height : wlgRightHeight}, "fast");
$("#header").animate({"margin-top" : topHeader}, "fast");
//$("#containerSite").animate({"padding-top" : topDo***ent}, "fast");
}
function closeWelcomeGiftMobile() {
var topDo***ent = 0;
$(".bannerWelcomeGift.mobile .wlg_right").animate({height : 0}, "fast");
$("#header").animate({"margin-top" : bannerWelcomeGiftHeight}, "fast");
//$("#containerSite").animate({"padding-top" : topDo***ent}, "fast");
}
function readCookie(name) {
var nameEQ = name + "=";
var ca = do***ent.cookie.split(';
');
for(var i=0;
i < ca.length;
i++) {
var c = ca[i];
while (c.charAt(0)==' ') c = c.substring(1,c.length);
if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
}
return null;
}
function deleteCookie(name) {
do***ent.cookie = name + '=;
expires=Thu, 01 Jan 1970 00:00:01 GMT;
;
path=/';
}
function bannerWelcomeGift() {
if(readCookie("_WCG_S") && readCookie("_WCG"))
{
$("#welcome-gift .code, .bannerWelcomeGift p.code").text(wlg_code);
$("body").addClass(class_banner_visible);
var _WCG_X = localStorage.getItem("_WCG_X");
if(_WCG_X)
{
_WCG_X = $.parseJSON(_WCG_X);
var total = Object.keys(_WCG_X).length;
for (var i = 0;
i < total;
i++) {
$(".bannerWelcomeGift ." + Object.keys(_WCG_X)[i]).html(_WCG_X[Object.keys(_WCG_X)[i]]);
}
}
}
else
{
return false;
}
var date = new Date();
if(readCookie("_WCG_D"))
date = new Date(readCookie("_WCG_D"));
else
do***ent.cookie = "_WCG_D="+date+";
path=/";
date.setHours(date.getHours() + 24);
buildWelcomeGiftCountdown(date);
}
function buildWelcomeGiftCountdown(date) {
var elem = $('.WelcomeGiftcountdown');
var countDownDate = date.getTime();
// END DATE GIVEN
var x = setInterval(function() {
var now = new Date().getTime();
// GET TODAYS DATE AND TIME
var distance = countDownDate - now;
// FIND THE DISTANCE BETWEEN NOW AN THE COUNT DOWN DATE
// TIME CALCULATIONS FOR DAYS, HOURS, MINUTES AND SECONDS
var days = Math.floor(distance / (1000 * 60 * 60 * 24));
var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
var seconds = Math.floor((distance % (1000 * 60)) / 1000);
if(days <= 0){$('.timer', elem).addClass('close-to-end');
}
if(distance > 0) {
// DISPLAY THE RESULT IN THE ELEMENT
$('.days', elem).html((days < 10 ? '0' : '') + days);
$('.hours', elem).html((hours < 10 ? '0' : '') + hours);
$('.minutes', elem).html((minutes < 10 ? '0' : '') + minutes);
$('.seconds', elem).html((seconds < 10 ? '0' : '') + seconds);
elem.css("visibility", "visible");
}else{
// IF THE COUNT DOWN IS FINISHED
//$('.days', elem).html('00');
//$('.hours', elem).html('00');
//$('.minutes', elem).html('00');
//$('.seconds', elem).html('00');
deleteCookie("_WCG_S");
$("body").removeClass(class_banner_visible);
$(".bannerWelcomeGift").css("display", "none");
clearInterval(x);
}
}, 1000);
if($("body").hasClass(class_banner_visible))
{
$(".bannerWelcomeGift").css("display", "block");
var css = 'body.bannerWelcomeGiftVisible:not(.unpinned):not(.menu-open) #header {margin-top: '+$(".bannerWelcomeGift:visible").outerHeight()+'px;
top: 0 !important}';
if($("#containerSite header").length == 0) {
css += 'body.bannerWelcomeGiftVisible.menu-open:not(.unpinned) #header {margin-top: '+$(".bannerWelcomeGift:visible").outerHeight()+'px;
}';
}
$("#containerSite").append("<style>"+css+"");
addPaddingMain();
if(main_paddingTop != "")
$("#main").css("padding-top", main_paddingTop);
}
}
function addPaddingMain() {
if(isMobileDevice() == false && $("#containerSite header").length == 0) {
main_paddingTop = parseInt($("#header").outerHeight(true));
if(main_paddingTop) {
main_paddingTop = main_paddingTop;
}
}
}
</script>
<script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/angularjs/1.3.3/angular-sanitize.min.js"></script>
<script type="text/javascript" src="https://www.moviflor.pt//lib/angular-sanitize.min.js"></script>
<script type="text/javascript">
var app = angular.module('MyApp', ['ngSanitize']);
var JSVars = {
cart: {
detail_mini_basket : 1,
item_count : "0",
total_price : {
value: '0',
value_original: '0',
currency: {
description: 'EURO',
code:'EUR',
symbol: 'â¬',
prefix: '',
sufix: 'â¬',
number_dec: '2',
separator_dec: '.',
separator_mil: ','
}
},
items : ''
},
debug: '',
CHECKOUT_VER: 'cs/',
selectedPage: {
id: '3',
cat: '0'
},
defaultSelectedPage: { // used by close search
id: '3',
cat: '0'
},
shop: {
platform: 'DESKTOP',
domain: 'www.moviflor.pt',
sLocation: 'https://www.moviflor.pt',
CDN: 'https://1531908337.rsc.cdn77.org/',
csrf: 'd3846aa25112a4132b7e332464528bae6d3dd743',
marketLastUnits: '10',
currency: {
numberDec: '2',
separatorDec: '.',
separatorMil: ',',
prefix: '',
sufix: 'â¬'
},
language: {
code: 'pt'
},
'active_language':{
code: 'pt'
},
templatesParams: {
module: '',
quickSearchType: '2',
quickSearch: '12',
miniBasket: '1',
allowCompare: '0',
itemAddComp: '0',
itemAddCart: '1',
itemAddWish: '1',
solr: '1'
}
},
expressions: {
1005 : "Você tem {QTD} Artigo(s) no seu carrinho",
1031 : "Produto",
}
};
function trakingsAddCart(data, pid, qtd) {
for (var i = 0;
i < data.response.cart.items.length;
i++) {
if( data.response.cart.items[i].product_id == pid ){
console.log("add_to_basket.htm");
if(typeof list == 'undefined') list = 'Product-List';
}
}
}
</script>
<script type="text/javascript" src="https://www.moviflor.pt/templates_system/js/menu.js?14"></script>
<script type="text/javascript">
JSVars['modules'] = {};
</script>
<script type="text/javascript">
if($("#main").hasClass("wrapper-blocks"))
$("body").addClass("rdc-page-module-content_blocks");
var sysimageLocation = "https://1531908337.rsc.cdn77.org/plugins/visualpager_blocks/sys_images";
if(JSVars.shop.csrf == undefined) {
$.extend(JSVars['shop'], {
csrf : "d3846aa25112a4132b7e332464528bae6d3dd743"
});
}
if(typeof $.fn.slick == "undefined") {
var productItemScript = do***ent.createElement('script');
productItemScript.src = "https://www.moviflor.pt/plugins/system/js/common/1.1/js/10_slick.min.js";
var productItemStylesheet = do***ent.createElement('link');
productItemStylesheet.rel = "stylesheet";
productItemStylesheet.type = "text/css";
productItemStylesheet.href = "https://www.moviflor.pt/plugins/system/js/common/1.1/css/01_slick.css";
$(".container-blocks").prepend(productItemStylesheet).prepend(productItemScript);
}
if(typeof angular == "undefined") {
var productItemScript1 = do***ent.createElement('script');
productItemScript1.src = "https://www.moviflor.pt/plugins/system/js/common/1.1/js/02_angular.min.js";
var productItemScript2 = do***ent.createElement('script');
productItemScript2.src = "https://www.moviflor.pt/plugins/system/js/common/1.1/js/03_angular-locale_pt-pt.js";
$(".container-blocks").append(productItemScript1).append(productItemScript2);
var app = angular.module('MyApp', []);
if($("[ng-controller=controller]").length == 1) {
app.controller("controller", function() {});
}
}
</script>
<script type="text/javascript" src="https://www.moviflor.pt/plugins/system/js/jquery.ellipsis/jquery.ellipsis.min.js"></script>
moviflor.pt is using jquery
<script type="text/javascript" src="https://www.moviflor.pt/plugins/visualpager_blocks/js/blocks.19.js"></script>
<script type="text/javascript">
if(typeof app == "undefined")
var app = angular.module('MyApp', []);
app.controller("visualPagerBlocksController", function($scope, $http, $rootScope){
$scope.addCart = function($event){$rootScope.$broadcast('addCartFunc', {$elem: $event});
}
$scope.addWish = function($event){$rootScope.$broadcast('addWishFunc', {$elem: $event});
}
});
</script>
<script type="text/javascript">
$("body").addClass("rdc-page-module-home");
JSVars['homepage'] = {
videoDesktop: '',
videoMobile: '',
autoPlayVideoDesktop: 1,
autoPlayVideoMobile: 1,
fitVideo: 0,
autoplay: 1,
speed: 1300,
speed_mobile: 400,
infiniteloop: 1,
variableWidth: 0,
adaptiveHeight: 1,
pauseOnHover: 1,
autoplaySpeed: 5000,
dots: 1,
dots_mobile: 1,
arrows: 0,
arrows_mobile: 0,
muteVideo : 1,
draggable : (isMobileDevice()) ? 1 : 0
}
if(do***ent.do***entMode) {
$(".home-slider:visible").find("figure").each(function(){
var src = $("img", this).attr("src");
$(this).css("background-image", "url('"+src+"')");
});
}
</script>
<script type="text/javascript" src="https://www.moviflor.pt/plugins/templates_base/home/1/home.08.min.js"></script>
<script type="text/javascript" src="https://www.moviflor.pt/templates_system/js/footer.js"></script>
<script type="text/javascript">
function close_footer_tootip() {
$.ajax({
type: "POST",
url: "/plugins/shoppingtools/tooltip/requestPushData.php",
data: "close=1",
success: function(){
$('#tooltip-footer-box').hide();
}
});
}
function loadTooltipContent(ztime) {
if (location.pathname.length < 5)
return;
if ($("#tooltip-footer-box").is(":visible"))
return;
$.getJSON("/plugins/shoppingtools/tooltip/requestPushData.php?t" + ztime, function(json){
if(json.status == 1) {
$.ajax({
url: "/plugins/shoppingtools/tooltip/tooltip.php",
dataType: 'html',
success: function (data) {
$('body').append(data);
$('#tooltip-footer-title').html(json.title);
$('#tooltip-footer-image').attr('src', json.image);
$('#tooltip-footer-product').html(json.product);
$('#tooltip-footer-desc').html(json.descprod);
if (json.title.length>1){
$('#tooltip-footer-box').show();
}
$("#tooltip-footer-box").click(function() {
$.ajax({
type: "POST",
url: "/plugins/shoppingtools/tooltip/requestPushData.php",
data: "remove=" + json.sku_group,
success: function(){
$('#tooltip-footer-box').hide();
location.href = json.URL;
}
});
});
setTimeout(function(){
$('#tooltip-footer-box').remove();
loadTooltipContent(json.display_time);
}, json.display_time + 1000);
}
});
} else if (json.status == 0) {
setTimeout(function(){
loadTooltipContent(2);
}, json.wait + 1000);
}
});
}
function loadActiveCampaignsForProduct(active) {
if(!active || active < 1)
return false;
if($("body").hasClass("rdc-page-module-product") == false && $("#main").hasClass("product") == false)
return false;
$.getJSON('/api/api.php/getActiveCampaigns/'+JSVars.product.skuFamily, function(dataCampaigns){
window.globalActiveCampaigns = dataCampaigns.response.campaigns;
if(window.globalActiveCampaigns == "" || typeof window.globalActiveCampaigns != "object")
return false;
if(window.globalActiveCampaigns.length == 0)
return false;
$.ajax({
url: "/plugins/shoppingtools/activeCampaigns/activecampaigns.htm",
dataType: 'html',
success: function (data) {
var searchClasses = ["#main.product .wrapper-page", "#main > .product"];
var element = false;
$.each(searchClasses, function(key, value){
if($(value).length == 0 || element != false)
return true
element = $(value);
element.css("padding-top", 0).prepend(data);
return false;
});
var time1, time2;
time1 = setInterval(function(){
if($(".campaign-code-button").length > 0) {
clearInterval(time1);
clearTimeout(time2);
$(".campaign-code-button").text("Ver código");
$(".campaign-code-desc").text("Utilize este código");
}
}, 1);
time2 = setTimeout(function(){
clearInterval(time1);
}, 3000);
}
});
});
}
function loadNavigationpProductDetail(active) {
if(!active || active < 1 || isMobileDevice() == true)
return false;
if(typeof ajaxDataNavigationProduct == "undefined" || ($("body").hasClass("rdc-page-module-product") == false && $("#main").hasClass("product") == false))
return false;
if(parseInt(show_navigation) == 0)
return false;
var class_link = "";
var searchClasses = [".column-return", ".top-detail .return"];
var element = false;
$.each(searchClasses, function(key, value){
if($(value).length == 0)
return true
element = $(value);
if($(value).find("a").length > 0)
if($(value).find("a").first().attr("class") != undefined)
class_link = $(value).find("a").first().attr("class");
return false;
});
if(element && element.length > 0) {
var HTML_PREV = '<a class="rdc-product-navigation-appended rdc-product-navigation-prev '+class_link+'" title="Anterior " style="margin-left: 10px;
margin-right: 10px;
" rel="nofollow" action="1">Anterior ';
var HTML_NEXT = '<a class="rdc-product-navigation-appended rdc-product-navigation-next '+class_link+'" title="Seguinte " style="margin-left: 10px;
margin-right: 10px;
" rel="nofollow" action="2">Seguinte ';
element.append(HTML_PREV).prepend(HTML_NEXT);
$("body").on("click", ".rdc-product-navigation-appended", function(ev){
ev.preventDefault();
var action = $(this).attr("action");
$.get("/api/api.php/getNavigationProduct/"+ajaxDataNavigationProduct.page_id+"/"+ajaxDataNavigationProduct.cat+"/"+ajaxDataNavigationProduct.show_navigation_reference+"/"+action).done(function(data, status, headers, config){
if(typeof data != "object")
var data = $.parseJSON(data);
if(typeof data.response[0].url != "undefined")
location.href = data.response[0].url;
else
$(".rdc-product-navigation-appended").remove();
});
});
}
}
$(do***ent).ready(function() {
/* Show Shopping Tools */
loadTooltipContent(1);
/* Show Campaigns In Product Detail */
/*var showcampaigns = 0;
*/
var showcampaigns = 1;
loadActiveCampaignsForProduct(showcampaigns);
});
/* Show Navigation In Product Detail */
if(typeof show_navigation != "undefined")
loadNavigationpProductDetail(show_navigation);
if( (typeof md == "object" && md.tablet() != null) || (isMobileDevice() == false && 'ontouchstart' in window == true) ) {
$("body:not(.tablet)").addClass("tablet");
}
</script>