Файловый менеджер - Редактировать - /var/www/xthruster/html/wp-content/uploads/flags/public.tar
Назад
images/logo-cookieyes.svg 0000644 00000005025 14720401260 0011460 0 ustar 00 <?xml version="1.0" encoding="utf-8"?> <!-- Generator: Adobe Illustrator 25.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 300 60" style="enable-background:new 0 0 300 60;" xml:space="preserve"> <style type="text/css"> .st0{fill:#404041;} .st1{fill:#0056A7;} .st2{fill:#2E3191;} </style> <g> <path class="st0" d="M22.3,11.5C32.2,11.5,39.6,17,42,26H30.9c-1.7-3.6-4.9-5.3-8.7-5.3c-6.2,0-10.5,4.6-10.5,12s4.3,12,10.5,12 c3.8,0,7-1.8,8.7-5.3H42c-2.4,9-9.8,14.5-19.7,14.5C10,53.8,1.4,45.1,1.4,32.6S10,11.5,22.3,11.5z"/> <path class="st0" d="M62.2,54c-9.7,0-17-6.5-17-17s7.5-17,17.2-17c9.7,0,17.2,6.5,17.2,17S71.9,54,62.2,54z M62.2,45.2 c3.6,0,7-2.7,7-8.2c0-5.6-3.3-8.2-6.9-8.2c-3.7,0-6.9,2.6-6.9,8.2C55.5,42.5,58.5,45.2,62.2,45.2z"/> <path class="st0" d="M99.7,54c-9.7,0-17-6.5-17-17s7.5-17,17.2-17c9.7,0,17.2,6.5,17.2,17S109.4,54,99.7,54z M99.7,45.2 c3.6,0,7-2.7,7-8.2c0-5.6-3.3-8.2-6.9-8.2c-3.7,0-6.9,2.6-6.9,8.2C92.9,42.5,96,45.2,99.7,45.2z"/> <path class="st0" d="M120.7,11.5h10.1v22.4l10-13.4h12.5L139.6,37l13.9,16.5h-12.5l-10.1-13.9v13.9h-10.1V11.5z"/> <path class="st0" d="M155.7,11.6c0-3.1,2.4-5.5,6-5.5c3.6,0,6,2.4,6,5.5c0,3-2.4,5.4-6,5.4C158.1,17,155.7,14.6,155.7,11.6z M156.7,20.4h10.1v33h-10.1V20.4z"/> <path class="st0" d="M187.2,54c-9.7,0-16.7-6.5-16.7-17s6.9-17,16.7-17c9.6,0,16.5,6.4,16.5,16.5c0,0.9-0.1,2-0.2,3h-22.9 c0.4,4.3,3,6.3,6.3,6.3c2.8,0,4.4-1.4,5.3-3.2h10.8C201.3,49,195.5,54,187.2,54z M180.7,33.8h12.7c0-3.6-2.8-5.7-6.2-5.7 C183.8,28.1,181.3,30.1,180.7,33.8z"/> <path class="st0" d="M250.4,54c-9.7,0-16.7-6.5-16.7-17s6.9-17,16.7-17c9.6,0,16.5,6.4,16.5,16.5c0,0.9-0.1,2-0.2,3h-22.9 c0.4,4.3,3,6.3,6.3,6.3c2.8,0,4.4-1.4,5.3-3.2h10.8C264.5,49,258.6,54,250.4,54z M243.8,33.8h12.7c0-3.6-2.8-5.7-6.2-5.7 C247,28.1,244.4,30.1,243.8,33.8z"/> <path class="st0" d="M285.2,54c-8.8,0-14.7-4.9-15.2-11.3h10c0.2,2.3,2.3,3.8,5.1,3.8c2.6,0,4-1.2,4-2.7c0-5.3-18-1.5-18-13.6 c0-5.6,4.8-10.2,13.4-10.2c8.5,0,13.3,4.7,13.9,11.2h-9.4c-0.3-2.2-2-3.7-4.9-3.7c-2.4,0-3.7,0.9-3.7,2.5c0,5.3,17.9,1.5,18.1,13.9 C298.6,49.6,293.5,54,285.2,54z"/> <g> <g> <path class="st1" d="M214.2,21h-10.5l9.6,17.8h10.5L214.2,21z"/> </g> <g> <g> <path class="st2" d="M213.1,38.3l0.3,0.5h10.5L217,26.3L213.1,38.3z"/> </g> </g> <g> <path class="st1" d="M232.3,6l-18.9,32.8h10.5L242.8,6H232.3z"/> </g> <g> <path class="st1" d="M213.4,43.7h10.2V54h-10.2V43.7z"/> </g> </g> </g> </svg> css/cookie-law-info-gdpr.css 0000644 00000065161 14720401260 0011770 0 ustar 00 .gdpr-container-fluid { width: 100%; padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; } .gdpr-row { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; } .gdpr-col-4 { -ms-flex: 0 0 33.333333%; flex: 0 0 33.333333%; max-width: 33.333333%; } .gdpr-col-8 { -ms-flex: 0 0 66.666667%; flex: 0 0 66.666667%; max-width: 66.666667%; } .gdpr-align-items-stretch { -ms-flex-align: stretch!important; align-items: stretch!important; } .gdpr-d-flex { display: -ms-flexbox!important; display: flex!important; } .gdpr-px-0 { padding-left: 0; padding-right: 0; } .modal-backdrop.show { opacity: .8; } .modal-open { overflow: hidden } .modal-open .gdpr-modal { overflow-x: hidden; overflow-y: auto } .gdpr-modal.fade .gdpr-modal-dialog { transition: -webkit-transform .3s ease-out; transition: transform .3s ease-out; transition: transform .3s ease-out,-webkit-transform .3s ease-out; -webkit-transform: translate(0,-25%); transform: translate(0,-25%) } .gdpr-modal.show .gdpr-modal-dialog { -webkit-transform: translate(0,0); transform: translate(0,0) } .modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1039; background-color: #000 } .modal-backdrop.fade { opacity: 0 } .modal-backdrop.show { opacity: .5 } .gdpr-modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1050; display: none; overflow: hidden; outline: 0 } .gdpr-modal a { text-decoration: none; } .gdpr-modal .gdpr-modal-dialog { position: relative; width: auto; margin: .5rem; pointer-events: none; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #212529; text-align: left; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; min-height: calc(100% - (.5rem * 2)) } @media (min-width: 576px) { .gdpr-modal .gdpr-modal-dialog { max-width:500px; margin: 1.75rem auto; min-height: calc(100% - (1.75rem * 2)); } } @media (min-width: 992px) { .gdpr-modal .gdpr-modal-dialog { max-width: 900px; } } .gdpr-modal-content { position: relative; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; width: 100%; pointer-events: auto; background-color: #fff; background-clip: padding-box; border: 1px solid rgba(0,0,0,.2); border-radius: .3rem; outline: 0 } .gdpr-modal .row { margin: 0 -15px; } .gdpr-modal .modal-body { padding: 0; position: relative; -ms-flex: 1 1 auto; flex: 1 1 auto; } .gdpr-modal .close { position: absolute; right: 10px; top: 10px; z-index: 1; padding: 0; background-color: transparent; border: 0; -webkit-appearance: none; font-size: 1.5rem; font-weight: 700; line-height: 1; color: #000; text-shadow: 0 1px 0 #fff; } .gdpr-modal .close:focus { outline: 0; } .gdpr-switch { display: inline-block; position: relative; min-height: 1px; padding-left: 70px; font-size: 14px; } .gdpr-switch input[type="checkbox"] { display:none; } .gdpr-switch .gdpr-slider { background-color: #e3e1e8; height: 24px; width: 50px; bottom: 0; cursor: pointer; left: 0; position: absolute; right: 0; top: 0; transition: .4s; } .gdpr-switch .gdpr-slider:before { background-color: #fff; bottom: 2px; content: ""; height: 20px; left: 2px; position: absolute; transition: .4s; width: 20px; } .gdpr-switch input:checked + .gdpr-slider { background-color:rgb(99, 179, 95); } .gdpr-switch input:checked + .gdpr-slider:before { transform: translateX(26px); } .gdpr-switch .gdpr-slider { border-radius: 34px; } .gdpr-switch .gdpr-slider:before { border-radius: 50%; } .gdpr-tab-content>.gdpr-tab-pane { display: none; } .gdpr-tab-content>.active { display: block; } .gdpr-fade { transition: opacity .15s linear; } .gdpr-nav-pills { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; -ms-flex-direction: column !important; flex-direction: column !important; align-items: stretch !important; -ms-align-items: stretch !important; } .nav.gdpr-nav-pills, .gdpr-tab-content { width: 100%; padding: 30px; } .nav.gdpr-nav-pills { background: #f3f3f3; } .nav.gdpr-nav-pills .gdpr-nav-link { border: 1px solid #0070ad; margin-bottom: 10px; color: #0070ad; font-size: 14px; display: block; padding: .5rem 1rem; border-radius: .25rem; } .nav.gdpr-nav-pills .gdpr-nav-link.active, .nav.gdpr-nav-pills .show>.gdpr-nav-link { background-color: #0070ad; border: 1px solid #0070ad; } .nav.gdpr-nav-pills .gdpr-nav-link.active { color: #ffffff; } .gdpr-tab-content .gdpr-button-wrapper { padding-top: 30px; margin-top: 30px; border-top: 1px solid #d6d6d6; } .gdpr-tab-content .gdpr-button-wrapper .btn-gdpr { background-color: #0070ad; border-color: #0070ad; color: #ffffff; font-size: 14px; display: inline-block; font-weight: 400; text-align: center; white-space: nowrap; vertical-align: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border: 1px solid transparent; padding: .375rem .75rem; font-size: 1rem; line-height: 1.5; border-radius: .25rem; transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out; } .gdpr-tab-content p { color: #343438; font-size: 14px; margin-top: 0; } .gdpr-tab-content h4 { font-size: 20px; margin-bottom: .5rem; margin-top: 0; font-family: inherit; font-weight: 500; line-height: 1.2; color: inherit; } .cli-container-fluid { padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; } .cli-row { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; } .cli-col-4 { -ms-flex: 0 0 33.333333%; flex: 0 0 33.333333%; max-width: 33.333333%; } .cli-col-8 { -ms-flex: 0 0 66.666667%; flex: 0 0 66.666667%; max-width: 66.666667%; } .cli-align-items-stretch { -ms-flex-align: stretch!important; align-items: stretch!important; } .cli-d-flex { display: -ms-flexbox!important; display: flex!important; } .cli-px-0 { padding-left: 0; padding-right: 0; } .cli-btn { cursor: pointer; font-size: 14px; display: inline-block; font-weight: 400; text-align: center; white-space: nowrap; vertical-align: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border: 1px solid transparent; padding: .5rem 1.25rem; line-height: 1; border-radius: .25rem; transition: all .15s ease-in-out; } .cli-btn:hover { opacity: .8; } .cli-read-more-link { cursor: pointer; font-size: 15px; font-weight: 500; text-decoration: underline; } .cli-btn:focus { outline: 0; } .cli-modal-backdrop.cli-show { opacity: .8; } .cli-modal-open { overflow: hidden } .cli-barmodal-open { overflow: hidden } .cli-modal-open .cli-modal { overflow-x: hidden; overflow-y: auto } .cli-modal.cli-fade .cli-modal-dialog { transition: -webkit-transform .3s ease-out; transition: transform .3s ease-out; transition: transform .3s ease-out,-webkit-transform .3s ease-out; -webkit-transform: translate(0,-25%); transform: translate(0,-25%) } .cli-modal.cli-show .cli-modal-dialog { -webkit-transform: translate(0,0); transform: translate(0,0) } .cli-modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; background-color: #000; display: none; } .cli-modal-backdrop.cli-fade { opacity: 0 } .cli-modal-backdrop.cli-show { opacity: .5; display: block; } .cli-modal.cli-show { display: block; } .cli-modal a { text-decoration: none; } .cli-modal .cli-modal-dialog { position: relative; width: auto; margin: .5rem; pointer-events: none; font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol"; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #212529; text-align: left; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; min-height: calc(100% - (.5rem * 2)) } @media (min-width: 576px) { .cli-modal .cli-modal-dialog { max-width:500px; margin: 1.75rem auto; min-height: calc(100% - (1.75rem * 2)) } } @media (min-width: 992px) { .cli-modal .cli-modal-dialog { max-width: 900px; } } .cli-modal-content { position: relative; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; width: 100%; pointer-events: auto; background-color: #fff; background-clip: padding-box; border-radius: .3rem; outline: 0 } .cli-modal .row { margin: 0 -15px; } .cli-modal .modal-body { padding: 0; position: relative; -ms-flex: 1 1 auto; flex: 1 1 auto; } .cli-modal .cli-modal-close { position: absolute; right: 10px; top: 10px; z-index: 1; padding: 0; background-color: transparent !important; border: 0; -webkit-appearance: none; font-size: 1.5rem; font-weight: 700; line-height: 1; color: #000; text-shadow: 0 1px 0 #fff; } .cli-modal .cli-modal-close:focus { outline: 0; } .cli-switch { display: inline-block; position: relative; min-height: 1px; padding-left: 70px; font-size: 14px; } .cli-switch input[type="checkbox"] { display:none; } .cli-switch .cli-slider { background-color: #e3e1e8; height: 24px; width: 50px; bottom: 0; cursor: pointer; left: 0; position: absolute; right: 0; top: 0; transition: .4s; } .cli-switch .cli-slider:before { background-color: #fff; bottom: 2px; content: ""; height: 20px; left: 2px; position: absolute; transition: .4s; width: 20px; } .cli-switch input:checked + .cli-slider { background-color: #00acad } .cli-switch input:checked + .cli-slider:before { transform: translateX(26px); } .cli-switch .cli-slider { border-radius: 34px; } .cli-switch .cli-slider:before { border-radius: 50%; } .cli-tab-content { background: #ffffff; } .cli-tab-content>.cli-active { display: block; } .cli-fade { transition: opacity .15s linear; } .cli-nav-pills { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; -ms-flex-direction: column; flex-direction: column; } .cli-nav-pills, .cli-tab-content { width: 100%; padding: 30px; } @media (max-width: 767px) { .cli-nav-pills, .cli-tab-content { padding: 30px 10px; } } .cli-nav-pills { background: #f3f3f3; } .cli-nav-pills .cli-nav-link { border: 1px solid #00acad; margin-bottom: 10px; color: #00acad; font-size: 14px; display: block; padding: .5rem 1rem; border-radius: .25rem; cursor: pointer } .cli-nav-pills .cli-nav-link.cli-active, .cli-nav-pills .cli-show>.cli-nav-link { background-color: #00acad; border: 1px solid #00acad; } .cli-nav-pills .cli-nav-link.cli-active { color: #ffffff; } .cli-tab-content .cli-button-wrapper { padding-top: 30px; margin-top: 30px; border-top: 1px solid #d6d6d6; } .cli-tab-content p { color: #343438; font-size: 14px; margin-top: 0; } .cli-tab-content h4 { font-size: 20px; margin-bottom: 1.5rem; margin-top: 0; font-family: inherit; font-weight: 500; line-height: 1.2; color: inherit; } /* Settings Popup */ .cli-container-fluid { padding-right: 15px; padding-left: 15px; margin-right: auto; margin-left: auto; } .cli-row { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; margin-right: -15px; margin-left: -15px; } .cli-col-4 { -ms-flex: 0 0 33.333333%; flex: 0 0 33.333333%; max-width: 33.333333%; } .cli-col-8 { -ms-flex: 0 0 66.666667%; flex: 0 0 66.666667%; max-width: 66.666667%; flex-direction: column; } .cli-align-items-stretch { -ms-flex-align: stretch!important; align-items: stretch!important; } .cli-d-flex { display: -ms-flexbox!important; display: flex!important; } .cli-px-0 { padding-left: 0; padding-right: 0; } .cli-btn { cursor: pointer; font-size: 14px; display: inline-block; font-weight: 400; text-align: center; white-space: nowrap; vertical-align: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border: 1px solid transparent; padding: .5rem 1.25rem; line-height: 1; border-radius: .25rem; transition: all .15s ease-in-out; } .cli-btn:hover { opacity: .8; } .cli-read-more-link { cursor: pointer; font-size: 15px; font-weight: 500; text-decoration: underline; } .cli-btn:focus { outline: 0; } .cli-modal-backdrop.cli-show { opacity: .8; } .cli-modal-open { overflow: hidden } .cli-barmodal-open { overflow: hidden } .cli-modal-open .cli-modal { overflow-x: hidden; overflow-y: auto } .cli-modal.cli-fade .cli-modal-dialog { transition: -webkit-transform .3s ease-out; transition: transform .3s ease-out; transition: transform .3s ease-out,-webkit-transform .3s ease-out; -webkit-transform: translate(0,-25%); transform: translate(0,-25%) } .cli-modal.cli-show .cli-modal-dialog { -webkit-transform: translate(0,0); transform: translate(0,0) } .cli-modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; background-color: #000; -webkit-transform:scale(0); transform:scale(0); transition: opacity ease-in-out 0.5s; } .cli-modal-backdrop.cli-fade { opacity: 0; } .cli-modal-backdrop.cli-show { opacity: .5; -webkit-transform:scale(1); transform:scale(1); } .cli-modal { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 99999; transform: scale(0); overflow: hidden; outline: 0; display: none; } .cli-modal a { text-decoration: none; } .cli-modal .cli-modal-dialog { position: relative; width: auto; margin: .5rem; pointer-events: none; font-family: inherit; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #212529; text-align: left; display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; min-height: calc(100% - (.5rem * 2)) } @media (min-width: 576px) { .cli-modal .cli-modal-dialog { max-width:500px; margin: 1.75rem auto; min-height: calc(100% - (1.75rem * 2)) } } .cli-modal-content { position: relative; display: -ms-flexbox; display: flex; -ms-flex-direction: column; flex-direction: column; width: 100%; pointer-events: auto; background-color: #fff; background-clip: padding-box; border-radius: .2rem; box-sizing: border-box; outline: 0 } .cli-modal .row { margin: 0 -15px; } .cli-modal .modal-body { padding: 0; position: relative; -ms-flex: 1 1 auto; flex: 1 1 auto; } .cli-modal .cli-modal-close:focus { outline: 0; } .cli-switch { display: inline-block; position: relative; min-height: 1px; padding-left: 38px; font-size: 14px; } .cli-switch input[type="checkbox"] { display:none; } .cli-switch .cli-slider { background-color: #e3e1e8; height: 20px; width: 38px; bottom: 0; cursor: pointer; left: 0; position: absolute; right: 0; top: 0; transition: .4s; } .cli-switch .cli-slider:before { background-color: #fff; bottom: 2px; content: ""; height: 15px; left: 3px; position: absolute; transition: .4s; width: 15px; } .cli-switch input:checked + .cli-slider { background-color: #61a229; } .cli-switch input:checked + .cli-slider:before { transform: translateX(18px); } .cli-switch .cli-slider { border-radius: 34px; font-size:0; } .cli-switch .cli-slider:before { border-radius: 50%; } .cli-tab-content { background: #ffffff; } .cli-nav-pills { display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; padding-left: 0; margin-bottom: 0; list-style: none; -ms-flex-direction: column; flex-direction: column; } .cli-nav-pills, .cli-tab-content { width: 100%; padding:5px 30px 5px 5px; box-sizing: border-box; } @media (max-width: 767px) { .cli-nav-pills, .cli-tab-content { padding: 30px 10px; } } .cli-nav-pills { background: #fff; } .cli-nav-pills .cli-nav-link { border: 1px solid #cccccc; margin-bottom: 10px; color:#2a2a2a; font-size: 14px; display: block; padding: .5rem 1rem; border-radius: .25rem; cursor: pointer } .cli-nav-pills .cli-nav-link.cli-active, .cli-nav-pills .cli-show>.cli-nav-link { background-color: #f6f6f9; border: 1px solid #cccccc; } .cli-nav-pills .cli-nav-link.cli-active { color:#2a2a2a; } .cli-tab-content .cli-button-wrapper { padding-top: 30px; margin-top: 30px; border-top: 1px solid #d6d6d6; } .cli-tab-content p { color: #343438; font-size: 14px; margin-top: 0; } .cli-tab-content h4 { font-size: 20px; margin-bottom: 1.5rem; margin-top: 0; font-family: inherit; font-weight: 500; line-height: 1.2; color: inherit; } /* Cookie Settings In Bar */ #cookie-law-info-bar .cli-nav-pills,#cookie-law-info-bar .cli-tab-content,#cookie-law-info-bar .cli-nav-pills .cli-show>.cli-nav-link,#cookie-law-info-bar a.cli-nav-link.cli-active{ background: transparent; } #cookie-law-info-bar .cli-nav-pills .cli-nav-link.cli-active,#cookie-law-info-bar .cli-nav-link,#cookie-law-info-bar .cli-tab-container p,#cookie-law-info-bar span.cli-necessary-caption,#cookie-law-info-bar .cli-switch .cli-slider:after { color:inherit; } #cookie-law-info-bar .cli-tab-header a:before { border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; } #cookie-law-info-bar .cli-row { margin-top:20px; } #cookie-law-info-bar .cli-col-4 { -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; width: auto; max-width: none; } #cookie-law-info-bar .cli-col-8 { flex-basis: 0; -webkit-box-flex: 1; -ms-flex-positive: 1; flex-grow: 1; max-width: 100%; } .cli-wrapper { max-width: 90%; float: none; margin: 0 auto; } #cookie-law-info-bar .cli-tab-content h4 { margin-bottom:0.5rem; } #cookie-law-info-bar .cli-nav-pills .cli-nav-link { padding: .2rem 0.5rem; } #cookie-law-info-bar .cli-tab-container { display:none; text-align:left; } /* Popup Footer Styles */ .cli-tab-footer .cli-btn { background-color: #00acad; padding: 10px 15px; text-decoration:none; } .cli-tab-footer .wt-cli-privacy-accept-btn { background-color: #61a229; color: #ffffff; border-radius: 0; } .cli-tab-footer { width:100%; text-align:right; padding: 20px 0; } /* version 2.0 */ .cli-col-12 { width:100%; } .cli-tab-header { display: flex; justify-content: space-between; } .cli-tab-header a:before { width: 10px; height: 2px; left: 0; top: calc(50% - 1px); } .cli-tab-header a:after { width: 2px; height: 10px; left: 4px; top: calc(50% - 5px); -webkit-transform: none; transform: none; } .cli-tab-header a:before { width: 7px; height: 7px; border-right: 1px solid #4a6e78; border-bottom: 1px solid #4a6e78; content: " "; transform: rotate(-45deg); -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; margin-right:10px; } .cli-tab-header a.cli-nav-link { position: relative; display: flex; align-items: center; font-size:14px; color:#000; text-transform: capitalize; } .cli-tab-header.cli-tab-active .cli-nav-link:before { transform: rotate(45deg); -webkit-transition: all 0.2s ease-in-out; -moz-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; } .cli-tab-header { border-radius: 5px; padding: 12px 15px; cursor: pointer; transition: background-color 0.2s ease-out 0.3s, color 0.2s ease-out 0s; background-color:#f2f2f2; } .cli-modal .cli-modal-close { position: absolute; right: 0; top: 0; z-index: 1; -webkit-appearance: none; width: 40px; height: 40px; padding: 0; border-radius: 50%; padding: 10px; background: transparent; border:none; min-width: 40px; } .cli-tab-container h4,.cli-tab-container h1 { font-family: inherit; font-size: 16px; margin-bottom: 15px; margin:10px 0; } #cliSettingsPopup .cli-tab-section-container { padding-top: 12px; } .cli-tab-container p ,.cli-privacy-content-text{ font-size: 14px; line-height: 1.4; margin-top: 0; padding: 0; color: #000; } .wt-cli-privacy { display:none; } .cli-tab-content { display:none; } .cli-tab-section .cli-tab-content { padding: 10px 20px 5px 20px; } .cli-tab-section { margin-top:5px; } @media (min-width: 992px) { .cli-modal .cli-modal-dialog { max-width: 645px; } } .cli-switch .cli-slider:after{ content: attr(data-cli-disable); position: absolute; right: 50px; color: #000; font-size:12px; text-align:right; min-width: 80px; } .cli-switch input:checked + .cli-slider:after { content: attr(data-cli-enable); } .cli-privacy-overview:not(.cli-collapsed) .cli-privacy-content { max-height: 60px; transition: max-height 0.15s ease-out; overflow: hidden; } a.cli-privacy-readmore { font-size: 12px; margin-top: 12px; display: inline-block; padding-bottom: 0; cursor: pointer; color:#000; text-decoration: underline; } .cli-modal-footer { position: relative; } a.cli-privacy-readmore:before { content: attr(data-readmore-text); } .cli-collapsed a.cli-privacy-readmore:before { content: attr(data-readless-text); } .cli-collapsed .cli-privacy-content { transition: max-height 0.25s ease-in; } .cli-privacy-content p { margin-bottom:0; } .cli-modal-close svg { fill: #000; } span.cli-necessary-caption { color: #000; font-size: 12px; } .cli-tab-section.cli-privacy-tab { display: none; } #cookie-law-info-bar .cli-tab-section.cli-privacy-tab { display: block; } #cookie-law-info-bar .cli-privacy-overview { display: none; } .cli-tab-container .cli-row { max-height: 500px; overflow-y: auto; } .cli-modal.cli-blowup.cli-out { z-index: -1; } .cli-modal.cli-blowup { z-index: 999999; transform: scale(1); } .cli-modal.cli-blowup .cli-modal-dialog { animation: blowUpModal 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; } .cli-modal.cli-blowup.cli-out .cli-modal-dialog { animation: blowUpModalTwo 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards; } @keyframes blowUpContent { 0% { transform: scale(1); opacity: 1; } 99.9% { transform: scale(2); opacity: 0; } 100% { transform: scale(0); } } @keyframes blowUpContentTwo { 0% { transform: scale(2); opacity: 0; } 100% { transform: scale(1); opacity: 1; } } @keyframes blowUpModal { 0% { transform: scale(0); } 100% { transform: scale(1); } } @keyframes blowUpModalTwo { 0% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.5); opacity: 0; } 100% { transform: scale(0); opacity: 0; } } .cli-tab-section .cookielawinfo-row-cat-table td, .cli-tab-section .cookielawinfo-row-cat-table th { font-size: 12px; } .cli_settings_button { cursor: pointer; } /* Accessibility Fix */ .wt-cli-sr-only { display: none; font-size:16px; } /* Changes for CCPA Version : 1.8.9 */ a.wt-cli-element.cli_cookie_close_button { text-decoration: none; color: #333333; font-size: 22px; line-height: 22px; cursor: pointer; position: absolute; right: 10px; top: 5px; } /* GDPR Bar Version 2 */ .cli-bar-container{ float: none; margin: 0 auto; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; justify-content: space-between; -webkit-box-align: center; -moz-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; } .cli-bar-btn_container { margin-left: 20px; display: -webkit-box; display: -moz-box; display: -ms-flexbox; display: -webkit-flex; display: flex; -webkit-box-align: center; -moz-box-align: center; -ms-flex-align: center; -webkit-align-items: center; align-items: center; flex-wrap: nowrap; } .cli-style-v2 a { cursor: pointer; } .cli-bar-btn_container a { white-space: nowrap; } .cli-style-v2 .cli-plugin-main-link { font-weight:inherit; } .cli-style-v2 { font-size: 11pt; line-height: 18px; font-weight:normal; } #cookie-law-info-bar[data-cli-type="widget"] .cli-bar-container,#cookie-law-info-bar[data-cli-type="popup"] .cli-bar-container{ display: block; } .cli-style-v2 .cli-bar-message { width: 70%; text-align: left; } #cookie-law-info-bar[data-cli-type="widget"] .cli-bar-message,#cookie-law-info-bar[data-cli-type="popup"] .cli-bar-message { width:100%; } #cookie-law-info-bar[data-cli-type="widget"] .cli-style-v2 .cli-bar-btn_container { margin-top:8px; margin-left: 0px; flex-wrap: wrap; } /* #cookie-law-info-bar[data-cli-type="widget"] .cli-style-v2 .cli-bar-message { text-align: center; } */ #cookie-law-info-bar[data-cli-type="popup"] .cli-style-v2 .cli-bar-btn_container { margin-top:8px; margin-left: 0px; } #cookie-law-info-bar[data-cli-style="cli-style-v2"] .cli_messagebar_head{ text-align: left; /* padding-left: 15px; */ margin-bottom: 5px; margin-top: 0px; font-size: 16px; } /* #cookie-law-info-bar[data-cli-type="widget"] .cli-bar-container.cli-style-v2 { padding-left: 0px; padding-right: 0px; } */ .cli-style-v2 .cli-bar-message .wt-cli-ccpa-element,.cli-style-v2 .cli-bar-message .wt-cli-ccpa-checkbox { margin-top: 5px; } .cli-style-v2 .cli-bar-btn_container .cli_action_button , .cli-style-v2 .cli-bar-btn_container .cli-plugin-main-link, .cli-style-v2 .cli-bar-btn_container .cli_settings_button { margin-left: 5px; } .wt-cli-ccpa-checkbox label { font-size: inherit; cursor: pointer; margin: 0px 0px 0px 5px; } /* .cli-bar-container.cli-style-v2 { padding-left: 15px; padding-right: 15px; padding-top: 2px; padding-bottom: 2px; } */ #cookie-law-info-bar[data-cli-style="cli-style-v2"] { padding: 14px 25px; } #cookie-law-info-bar[data-cli-style="cli-style-v2"][data-cli-type="widget"] { padding:32px 30px; } #cookie-law-info-bar[data-cli-style="cli-style-v2"][data-cli-type="popup"] { padding: 32px 45px; } .cli-style-v2 .cli-plugin-main-link:not(.cli-plugin-button), .cli-style-v2 .cli_settings_button:not(.cli-plugin-button),.cli-style-v2 .cli_action_button:not(.cli-plugin-button){ text-decoration: underline; } .cli-style-v2 .cli-bar-btn_container .cli-plugin-button { margin-top: 5px; margin-bottom: 5px; } a.wt-cli-ccpa-opt-out { white-space: nowrap; text-decoration: underline; } .wt-cli-necessary-checkbox { display: none !important; } @media (max-width: 985px) { .cli-style-v2 .cli-bar-message { width:100%; } .cli-style-v2.cli-bar-container { justify-content:left; flex-wrap: wrap; } .cli-style-v2 .cli-bar-btn_container { margin-left:0px; margin-top: 10px; } #cookie-law-info-bar[data-cli-style="cli-style-v2"],#cookie-law-info-bar[data-cli-style="cli-style-v2"][data-cli-type="widget"],#cookie-law-info-bar[data-cli-style="cli-style-v2"][data-cli-type="popup"] { padding: 25px 25px; } } /* Settings popup footer section */ .wt-cli-ckyes-brand-logo { display: flex; align-items: center; font-size: 9px; color: #111111; font-weight: normal; } .wt-cli-ckyes-brand-logo img{ width: 65px; margin-left: 2px; } .wt-cli-privacy-overview-actions { padding-bottom:0; } @media only screen and (max-width: 479px) and (min-width: 320px){ .cli-style-v2 .cli-bar-btn_container { flex-wrap: wrap; } } /* Fix: HTML validation error due to the enclosing of <p> tags on category description */ .wt-cli-cookie-description { font-size: 14px; line-height: 1.4; margin-top: 0; padding: 0; color: #000; } css/cookie-law-info-public.css 0000644 00000006042 14720401260 0012303 0 ustar 00 #cookie-law-info-bar { font-size: 15px; margin: 0 auto; padding: 12px 10px; position: absolute; text-align: center; box-sizing: border-box; width:100%; z-index: 9999; /* box-shadow:rgba(0,0,0,.5) 0px 5px 50px; */ display: none; left:0px; font-weight:300; box-shadow: 0 -1px 10px 0 rgba(172, 171, 171, 0.3); } #cookie-law-info-again { font-size: 10pt; margin: 0; padding:5px 10px; text-align: center; z-index: 9999; cursor: pointer; box-shadow: #161616 2px 2px 5px 2px; } #cookie-law-info-bar span { vertical-align: middle; } /** Buttons (http://papermashup.com/demos/css-buttons) */ .cli-plugin-button, .cli-plugin-button:visited { display: inline-block; padding: 9px 12px; color: #fff; text-decoration: none; position: relative; cursor: pointer; margin-left: 5px; text-decoration: none; } .cli-plugin-main-link { margin-left:0px; font-weight: 550; text-decoration: underline; } .cli-plugin-button:hover { background-color: #111; color: #fff; text-decoration: none; } .small.cli-plugin-button, .small.cli-plugin-button:visited { font-size: 11px; } .cli-plugin-button, .cli-plugin-button:visited, .medium.cli-plugin-button, .medium.cli-plugin-button:visited { font-size: 13px; font-weight: 400; line-height: 1; } .large.cli-plugin-button, .large.cli-plugin-button:visited { font-size: 14px; padding: 8px 14px 9px; } .super.cli-plugin-button, .super.cli-plugin-button:visited { font-size: 34px; padding: 8px 14px 9px; } .pink.cli-plugin-button, .magenta.cli-plugin-button:visited { background-color: #e22092; } .pink.cli-plugin-button:hover { background-color: #c81e82; } .green.cli-plugin-button, .green.cli-plugin-button:visited { background-color: #91bd09; } .green.cli-plugin-button:hover { background-color: #749a02; } .red.cli-plugin-button, .red.cli-plugin-button:visited { background-color: #e62727; } .red.cli-plugin-button:hover { background-color: #cf2525; } .orange.cli-plugin-button, .orange.cli-plugin-button:visited { background-color: #ff5c00; } .orange.cli-plugin-button:hover { background-color: #d45500; } .blue.cli-plugin-button, .blue.cli-plugin-button:visited { background-color: #2981e4; } .blue.cli-plugin-button:hover { background-color: #2575cf; } .yellow.cli-plugin-button, .yellow.cli-plugin-button:visited { background-color: #ffb515; } .yellow.cli-plugin-button:hover { background-color: #fc9200; } .cli-plugin-button{ margin-top:5px; } .cli-bar-popup{ -moz-background-clip: padding; -webkit-background-clip: padding; background-clip: padding-box; -webkit-border-radius:30px; -moz-border-radius:30px; border-radius:30px; padding:20px; } .cli-powered_by_p{width:100% !important; display:block !important; color:#333; clear:both; font-style:italic !important; font-size:12px !important; margin-top:15px !important; } .cli-powered_by_a{color:#333; font-weight:600 !important; font-size:12px !important;} /** * Added extra space between each cookie bar action elements @since 1.8.9 */ .cli-plugin-main-link.cli-plugin-button { text-decoration: none; } .cli-plugin-main-link.cli-plugin-button { margin-left: 5px; } css/cookie-law-info-table.css 0000644 00000013741 14720401260 0012120 0 ustar 00 /** Responsive table courtesy of Mark Wiltshire: mark@bamboorocketapps.com (thanks!) For more styles try: http://icant.co.uk/csstablegallery/ ---- Generic styles: Here you could e.g. customise width of column 1 and 2, or add a generic roll-over effect on table rows */ .cookielawinfo-column-1 {width: 25%;} .cookielawinfo-column-2 {width: 10%;} .cookielawinfo-column-3 {width: 15%;} .cookielawinfo-column-4 {width: 50%;} /** Simple style */ .cookielawinfo-simple thead {width: 100%;} .cookielawinfo-simple td {padding: 5px 5px 5px 0;vertical-align: top;} .cookielawinfo-simple thead th {padding-right: 10px;text-align: left;} /** Modern style */ .cookielawinfo-modern {border: 1px solid #e3e3e3;background-color: #f2f2f2;width: 100%;border-radius: 6px;-webkit-border-radius: 6px;-moz-border-radius: 6px;} .cookielawinfo-modern td, .cookielawinfo-modern th {padding: 5px;color: #333;} .cookielawinfo-modern thead {font-family: "Lucida Sans Unicode", "Lucida Grande", sans-serif;padding: .2em 0 .2em .5em;text-align: left;color: #4B4B4B;background-color: #C8C8C8;background-image: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#e3e3e3), color-stop(.6,#B3B3B3));background-image: -moz-linear-gradient(top, #D6D6D6, #B0B0B0, #B3B3B3 90%);border-bottom: solid 1px #999;} .cookielawinfo-modern th {font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size: 17px;line-height: 20px;font-style: normal;font-weight: normal;text-align: left;text-shadow: white 1px 1px 1px;} .cookielawinfo-modern td {line-height: 20px;font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size: 14px;border-bottom: 1px solid #fff;border-top: 1px solid #fff;} .cookielawinfo-modern tr.cookielawinfo-row:hover {background-color: #fff;} /** Elegant style */ .cookielawinfo-elegant {border: 1px solid #DFDFDF;background-color: #F9F9F9;width: 100%;-moz-border-radius: 3px;-webkit-border-radius: 3px;border-radius: 3px;font-family: Arial,"Bitstream Vera Sans",Helvetica,Verdana,sans-serif;color: #333;} .cookielawinfo-elegant tr {border-top-color: white;border-bottom: 1px solid #DFDFDF;color: #555;} .cookielawinfo-elegant th {text-shadow: rgba(255, 255, 255, 0.796875) 0px 1px 0px;font-family: Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-weight: normal;padding: 7px 7px 8px;text-align: left;line-height: 1.3em;font-size: 14px;} .cookielawinfo-elegant td {font-size: 12px;padding: 4px 7px 2px;vertical-align: top;} /** Rounded style */ .cookielawinfo-rounded {background-color: #f5f5f5;padding: 5px;border-radius: 5px;-moz-border-radius: 5px;-webkit-border-radius: 5px;border: 1px solid #ebebeb;} .cookielawinfo-rounded td, .rounded th {padding: 1px 5px;} .cookielawinfo-rounded thead {text-shadow: 0 1px 0 white;color: #999;} .cookielawinfo-rounded th {text-align: left;text-transform: uppercase;font-size: 11pt;border-bottom: 1px solid #fff;padding: 1px 5px;} .cookielawinfo-rounded td {font-size: 10pt;padding: 5px;} .cookielawinfo-rounded tr.cookielawinfo-row:hover {background-color: #fff;} /** Classic Style */ table.cookielawinfo-classic {font-family: Verdana, Arial, Helvetica, sans-serif;border-collapse: collapse;border-left: 1px solid #ccc;border-top: 1px solid #ccc; color: #333;} table.cookielawinfo-classic thead tr th {text-transform: uppercase;background: #e2e2e2;} table.cookielawinfo-classic tfoot tr th, table.cookielawinfo-classic tfoot tr td {text-transform: uppercase;color: #000;font-weight: bold;} table.cookielawinfo-classic tfoot tr th {width: 20%;} table.cookielawinfo-classic tfoot tr td {width: 80%;} table.cookielawinfo-classic td, table.cookielawinfo-classic th {border-right: 1px solid #ccc;border-bottom: 1px solid #ccc;padding: 5px;line-height: 1.8em;font-size: 0.8em;vertical-align: top;width: 20%;} table.cookielawinfo-classic tr.odd th, table.cookielawinfo-classic tr.odd td {background: #efefef;} /* "Winter Blues" CSS theme for CSS Table Gallery (http://icant.co.uk/csstablegallery/) by Gunta Klavina (http://www.klavina.com) */ table.cookielawinfo-winter {font: 85% "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", sans-serif;padding: 0; margin: 10px 0 20px; border-collapse: collapse; color: #333; background: #F3F5F7;} table.cookielawinfo-winter a {color: #3A4856; text-decoration: none; border-bottom: 1px solid #C6C8CB;} table.cookielawinfo-winter a:visited {color: #777;} table.cookielawinfo-winter a:hover {color: #000;} table.cookielawinfo-winter caption {text-align: left; text-transform: uppercase; padding-bottom: 10px; font: 200% "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", sans-serif;} table.cookielawinfo-winter thead th {background: #3A4856; padding: 15px 10px; color: #fff; text-align: left; font-weight: normal;} table.cookielawinfo-winter tbody {border-left: 1px solid #EAECEE; border-right: 1px solid #EAECEE;} table.cookielawinfo-winter tbody {border-bottom: 1px solid #EAECEE;} table.cookielawinfo-winter tbody td, table.cookielawinfo-winter tbody th {padding: 10px; background: url("../../images/td_back.gif") repeat-x; text-align: left;} table.cookielawinfo-winter tbody tr {background: #F3F5F7;} table.cookielawinfo-winter tbody tr.odd {background: #F0F2F4;} table.cookielawinfo-winter tbody tr:hover {background: #EAECEE; color: #111;} table.cookielawinfo-winter tfoot td, table.cookielawinfo-winter tfoot th, table.cookielawinfo-winter tfoot tr {text-align: left; font: 120% "Lucida Grande", "Lucida Sans Unicode", "Trebuchet MS", sans-serif; text-transform: uppercase; background: #fff; padding: 10px;} /** 27/05/2013: responsive table by Mark Wiltshire */ @media(max-width:800px) { table.cookielawinfo-row-cat-table td, table.cookielawinfo-row-cat-table th { width:23%; font-size:12px; word-wrap: break-word; } table.cookielawinfo-row-cat-table .cookielawinfo-column-4, table.cookielawinfo-row-cat-table .cookielawinfo-column-4 { width:45%; } } .cookielawinfo-row-cat-title{ border-bottom: 1px solid #eee; text-align: center; } .cookielawinfo-row-cat-title-head{ text-align: center; } .cookielawinfo-row-cat-table{ width: 99%; margin-left: 5px; } js/cookie-law-info-public.js 0000644 00000102611 14720401260 0011752 0 ustar 00 CLI_ACCEPT_COOKIE_NAME = (typeof CLI_ACCEPT_COOKIE_NAME !== 'undefined' ? CLI_ACCEPT_COOKIE_NAME : 'viewed_cookie_policy'); CLI_PREFERENCE_COOKIE = (typeof CLI_PREFERENCE_COOKIE !== 'undefined' ? CLI_PREFERENCE_COOKIE : 'CookieLawInfoConsent'); CLI_ACCEPT_COOKIE_EXPIRE = (typeof CLI_ACCEPT_COOKIE_EXPIRE !== 'undefined' ? CLI_ACCEPT_COOKIE_EXPIRE : 365); CLI_COOKIEBAR_AS_POPUP = (typeof CLI_COOKIEBAR_AS_POPUP !== 'undefined' ? CLI_COOKIEBAR_AS_POPUP : false); var CLI_Cookie = { set: function (name, value, days) { var secure = ""; if (true === Boolean(Cli_Data.secure_cookies)) { secure = ";secure"; } if (days) { var date = new Date(); date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); var expires = "; expires=" + date.toGMTString(); } else { var expires = ""; } document.cookie = name + "=" + value + secure + expires + "; path=/"; if (days < 1) { host_name = window.location.hostname; document.cookie = name + "=" + value + expires + "; path=/; domain=." + host_name + ";"; if (host_name.indexOf("www") != 1) { var host_name_withoutwww = host_name.replace('www', ''); document.cookie = name + "=" + value + secure + expires + "; path=/; domain=" + host_name_withoutwww + ";"; } host_name = host_name.substring(host_name.lastIndexOf(".", host_name.lastIndexOf(".") - 1)); document.cookie = name + "=" + value + secure + expires + "; path=/; domain=" + host_name + ";"; } }, read: function (name) { var nameEQ = name + "="; var ca = document.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; }, erase: function (name) { this.set(name, "", -10); }, exists: function (name) { return (this.read(name) !== null); }, getallcookies: function () { var pairs = document.cookie.split(";"); var cookieslist = {}; for (var i = 0; i < pairs.length; i++) { var pair = pairs[i].split("="); cookieslist[(pair[0] + '').trim()] = unescape(pair[1]); } return cookieslist; } } var CLI = { bar_config: {}, showagain_config: {}, allowedCategories: [], js_blocking_enabled: false, set: function (args) { if (typeof JSON.parse !== "function") { console.log("CookieLawInfo requires JSON.parse but your browser doesn't support it"); return; } if (typeof args.settings !== 'object') { this.settings = JSON.parse(args.settings); } else { this.settings = args.settings; } this.js_blocking_enabled = Boolean(Cli_Data.js_blocking); this.settings = args.settings; this.bar_elm = jQuery(this.settings.notify_div_id); this.showagain_elm = jQuery(this.settings.showagain_div_id); this.settingsModal = jQuery('#cliSettingsPopup'); /* buttons */ this.main_button = jQuery('.cli-plugin-main-button'); this.main_link = jQuery('.cli-plugin-main-link'); this.reject_link = jQuery('.cookie_action_close_header_reject'); this.delete_link = jQuery(".cookielawinfo-cookie-delete"); this.settings_button = jQuery('.cli_settings_button'); this.accept_all_button = jQuery('.wt-cli-accept-all-btn'); if (this.settings.cookie_bar_as == 'popup') { CLI_COOKIEBAR_AS_POPUP = true; } this.mayBeSetPreferenceCookie(); this.addStyleAttribute(); this.configBar(); this.toggleBar(); this.attachDelete(); this.attachEvents(); this.configButtons(); this.reviewConsent(); var cli_hidebar_on_readmore = this.hideBarInReadMoreLink(); if (Boolean(this.settings.scroll_close) === true && cli_hidebar_on_readmore === false) { window.addEventListener("scroll", CLI.closeOnScroll, false); } }, hideBarInReadMoreLink: function () { if (Boolean(CLI.settings.button_2_hidebar) === true && this.main_link.length > 0 && this.main_link.hasClass('cli-minimize-bar')) { this.hideHeader(); cliBlocker.cookieBar(false); this.showagain_elm.slideDown(this.settings.animate_speed_show); return true; } return false; }, attachEvents: function () { jQuery(document).on( 'click', '.wt-cli-privacy-btn', function (e) { e.preventDefault(); CLI.accept_close(); CLI.settingsPopUpClose(); } ); jQuery('.wt-cli-accept-btn').on( "click", function (e) { e.preventDefault(); CLI.acceptRejectCookies(jQuery(this)); }); jQuery('.wt-cli-accept-all-btn').on( "click", function (e) { e.preventDefault(); CLI.acceptRejectCookies(jQuery(this), 'accept'); }); jQuery('.wt-cli-reject-btn').on( "click", function (e) { e.preventDefault(); CLI.acceptRejectCookies(jQuery(this), 'reject'); }); this.settingsPopUp(); this.settingsTabbedAccordion(); this.toggleUserPreferenceCheckBox(); this.hideCookieBarOnClose(); this.cookieLawInfoRunCallBacks(); }, acceptRejectCookies(element, action = 'custom') { var open_link = element[0].hasAttribute("href") && element.attr("href") != '#' ? true : false; var new_window = false; if (action == 'accept') { this.enableAllCookies(); this.accept_close(); new_window = CLI.settings.button_7_new_win ? true : false; } else if (action == 'reject') { this.disableAllCookies(); this.reject_close(); new_window = Boolean(this.settings.button_3_new_win) ? true : false; } else { this.accept_close(); new_window = Boolean(this.settings.button_1_new_win) ? true : false; } if (open_link) { if (new_window) { window.open(element.attr("href"), '_blank'); } else { window.location.href = element.attr("href"); } } }, toggleUserPreferenceCheckBox: function () { jQuery('.cli-user-preference-checkbox').each( function () { categoryCookie = 'cookielawinfo-' + jQuery(this).attr('data-id'); categoryCookieValue = CLI_Cookie.read(categoryCookie); if (categoryCookieValue == null) { if (jQuery(this).is(':checked')) { CLI_Cookie.set(categoryCookie, 'yes', CLI_ACCEPT_COOKIE_EXPIRE); } else { CLI_Cookie.set(categoryCookie, 'no', CLI_ACCEPT_COOKIE_EXPIRE); } } else { if (categoryCookieValue == "yes") { jQuery(this).prop("checked", true); } else { jQuery(this).prop("checked", false); } } } ); jQuery('.cli-user-preference-checkbox').on( "click", function (e) { var dataID = jQuery(this).attr('data-id'); var currentToggleElm = jQuery('.cli-user-preference-checkbox[data-id=' + dataID + ']'); if (jQuery(this).is(':checked')) { CLI_Cookie.set('cookielawinfo-' + dataID, 'yes', CLI_ACCEPT_COOKIE_EXPIRE); currentToggleElm.prop('checked', true); } else { CLI_Cookie.set('cookielawinfo-' + dataID, 'no', CLI_ACCEPT_COOKIE_EXPIRE); currentToggleElm.prop('checked', false); } CLI.checkCategories(); CLI.generateConsent(); } ); }, settingsPopUp: function () { jQuery(document).on( 'click', '.cli_settings_button', function (e) { e.preventDefault(); CLI.settingsModal.addClass("cli-show").css({ 'opacity': 0 }).animate({ 'opacity': 1 }); CLI.settingsModal.removeClass('cli-blowup cli-out').addClass("cli-blowup"); jQuery('body').addClass("cli-modal-open"); jQuery(".cli-settings-overlay").addClass("cli-show"); jQuery("#cookie-law-info-bar").css({ 'opacity': .1 }); if (!jQuery('.cli-settings-mobile').is(':visible')) { CLI.settingsModal.find('.cli-nav-link:eq(0)').trigger("click"); } } ); jQuery('#cliModalClose').on( "click", function (e) { CLI.settingsPopUpClose(); } ); CLI.settingsModal.on( "click", function (e) { if (!(document.getElementsByClassName('cli-modal-dialog')[0].contains(e.target))) { CLI.settingsPopUpClose(); } } ); jQuery('.cli_enable_all_btn').on( "click", function (e) { var cli_toggle_btn = jQuery(this); var enable_text = cli_toggle_btn.attr('data-enable-text'); var disable_text = cli_toggle_btn.attr('data-disable-text'); if (cli_toggle_btn.hasClass('cli-enabled')) { CLI.disableAllCookies(); cli_toggle_btn.html(enable_text); } else { CLI.enableAllCookies(); cli_toggle_btn.html(disable_text); } jQuery(this).toggleClass('cli-enabled'); } ); this.privacyReadmore(); }, settingsTabbedAccordion: function () { jQuery(".cli-tab-header").on( "click", function (e) { if (!(jQuery(e.target).hasClass('cli-slider') || jQuery(e.target).hasClass('cli-user-preference-checkbox'))) { if (jQuery(this).hasClass("cli-tab-active")) { jQuery(this).removeClass("cli-tab-active"); jQuery(this) .siblings(".cli-tab-content") .slideUp(200); } else { jQuery(".cli-tab-header").removeClass("cli-tab-active"); jQuery(this).addClass("cli-tab-active"); jQuery(".cli-tab-content").slideUp(200); jQuery(this) .siblings(".cli-tab-content") .slideDown(200); } } } ); }, settingsPopUpClose: function () { this.settingsModal.removeClass('cli-show'); this.settingsModal.addClass('cli-out'); jQuery('body').removeClass("cli-modal-open"); jQuery(".cli-settings-overlay").removeClass("cli-show"); jQuery("#cookie-law-info-bar").css({ 'opacity': 1 }); }, privacyReadmore: function () { var el = jQuery('.cli-privacy-content .cli-privacy-content-text'); if (el.length > 0) { var clone = el.clone(), originalHtml = clone.html(), originalHeight = el.outerHeight(), Trunc = { addReadmore: function (textBlock) { if (textBlock.html().length > 250) { jQuery('.cli-privacy-readmore').show(); } else { jQuery('.cli-privacy-readmore').hide(); } }, truncateText: function (textBlock) { var strippedText = jQuery('<div />').html(textBlock.html()); strippedText.find('table').remove(); textBlock.html(strippedText.html()); currentText = textBlock.text(); if (currentText.trim().length > 250) { var newStr = currentText.substring(0, 250); textBlock.empty().html(newStr).append('...'); } }, replaceText: function (textBlock, original) { return textBlock.html(original); } }; Trunc.addReadmore(el); Trunc.truncateText(el); jQuery('a.cli-privacy-readmore').on( "click", function (e) { e.preventDefault(); if (jQuery('.cli-privacy-overview').hasClass('cli-collapsed')) { Trunc.truncateText(el); jQuery('.cli-privacy-overview').removeClass('cli-collapsed'); el.css('height', '100%'); } else { jQuery('.cli-privacy-overview').addClass('cli-collapsed'); Trunc.replaceText(el, originalHtml); } } ); } }, attachDelete: function () { this.delete_link.on( "click", function (e) { CLI_Cookie.erase(CLI_ACCEPT_COOKIE_NAME); for (var k in Cli_Data.nn_cookie_ids) { CLI_Cookie.erase(Cli_Data.nn_cookie_ids[k]); } CLI.generateConsent(); return false; } ); }, configButtons: function () { /*[cookie_button] */ this.main_button.css('color', this.settings.button_1_link_colour); if (Boolean(this.settings.button_1_as_button)) { this.main_button.css('background-color', this.settings.button_1_button_colour); this.main_button.on( 'mouseenter', function () { jQuery(this).css('background-color', CLI.settings.button_1_button_hover); } ) .on( 'mouseleave', function () { jQuery(this).css('background-color', CLI.settings.button_1_button_colour); } ); } /* [cookie_link] */ this.main_link.css('color', this.settings.button_2_link_colour); if (Boolean(this.settings.button_2_as_button)) { this.main_link.css('background-color', this.settings.button_2_button_colour); this.main_link.on( 'mouseenter', function () { jQuery(this).css('background-color', CLI.settings.button_2_button_hover); } ) .on( 'mouseleave', function () { jQuery(this).css('background-color', CLI.settings.button_2_button_colour); } ); } /* [cookie_reject] */ this.reject_link.css('color', this.settings.button_3_link_colour); if (Boolean(this.settings.button_3_as_button)) { this.reject_link.css('background-color', this.settings.button_3_button_colour); this.reject_link.on( 'mouseenter', function () { jQuery(this).css('background-color', CLI.settings.button_3_button_hover); } ) .on( 'mouseleave', function () { jQuery(this).css('background-color', CLI.settings.button_3_button_colour); } ); } /* [cookie_settings] */ this.settings_button.css('color', this.settings.button_4_link_colour); if (Boolean(this.settings.button_4_as_button)) { this.settings_button.css('background-color', this.settings.button_4_button_colour); this.settings_button.on( 'mouseenter', function () { jQuery(this).css('background-color', CLI.settings.button_4_button_hover); } ) .on( 'mouseleave', function () { jQuery(this).css('background-color', CLI.settings.button_4_button_colour); } ); } /* [cookie_accept_all] */ this.accept_all_button.css('color', this.settings.button_7_link_colour); if (this.settings.button_7_as_button) { this.accept_all_button.css('background-color', this.settings.button_7_button_colour); this.accept_all_button.on( 'mouseenter', function () { jQuery(this).css('background-color', CLI.settings.button_7_button_hover); } ) .on( 'mouseleave', function () { jQuery(this).css('background-color', CLI.settings.button_7_button_colour); } ); } }, toggleBar: function () { if (CLI_COOKIEBAR_AS_POPUP) { this.barAsPopUp(1); } if (CLI.settings.cookie_bar_as == 'widget') { this.barAsWidget(1); } if (!CLI_Cookie.exists(CLI_ACCEPT_COOKIE_NAME)) { this.displayHeader(); } else { this.hideHeader(); } if (Boolean(this.settings.show_once_yn)) { setTimeout( function () { CLI.close_header(); }, CLI.settings.show_once ); } if (CLI.js_blocking_enabled === false) { if (Boolean(Cli_Data.ccpaEnabled) === true) { if (Cli_Data.ccpaType === 'ccpa' && Boolean(Cli_Data.ccpaBarEnabled) === false) { cliBlocker.cookieBar(false); } } else { jQuery('.wt-cli-ccpa-opt-out,.wt-cli-ccpa-checkbox,.wt-cli-ccpa-element').remove(); } } this.showagain_elm.on( "click", function (e) { e.preventDefault(); CLI.showagain_elm.slideUp( CLI.settings.animate_speed_hide, function () { CLI.bar_elm.slideDown(CLI.settings.animate_speed_show); if (CLI_COOKIEBAR_AS_POPUP) { CLI.showPopupOverlay(); } } ); } ); }, configShowAgain: function () { this.showagain_config = { 'background-color': this.settings.background, 'color': this.l1hs(this.settings.text), 'position': 'fixed', 'font-family': this.settings.font_family }; if (Boolean(this.settings.border_on)) { var border_to_hide = 'border-' + this.settings.notify_position_vertical; this.showagain_config['border'] = '1px solid ' + this.l1hs(this.settings.border); this.showagain_config[border_to_hide] = 'none'; } var cli_win = jQuery(window); var cli_winw = cli_win.width(); var showagain_x_pos = this.settings.showagain_x_position; if (cli_winw < 300) { showagain_x_pos = 10; this.showagain_config.width = cli_winw - 20; } else { this.showagain_config.width = 'auto'; } var cli_defw = cli_winw > 400 ? 500 : cli_winw - 20; if (CLI_COOKIEBAR_AS_POPUP) { /* cookie bar as popup */ var sa_pos = this.settings.popup_showagain_position; var sa_pos_arr = sa_pos.split('-'); if (sa_pos_arr[1] == 'left') { this.showagain_config.left = showagain_x_pos; } else if (sa_pos_arr[1] == 'right') { this.showagain_config.right = showagain_x_pos; } if (sa_pos_arr[0] == 'top') { this.showagain_config.top = 0; } else if (sa_pos_arr[0] == 'bottom') { this.showagain_config.bottom = 0; } this.bar_config['position'] = 'fixed'; } else if (this.settings.cookie_bar_as == 'widget') { this.showagain_config.bottom = 0; if (this.settings.widget_position == 'left') { this.showagain_config.left = showagain_x_pos; } else if (this.settings.widget_position == 'right') { this.showagain_config.right = showagain_x_pos; } } else { if (this.settings.notify_position_vertical == "top") { this.showagain_config.top = '0'; } else if (this.settings.notify_position_vertical == "bottom") { this.bar_config['position'] = 'fixed'; this.bar_config['bottom'] = '0'; this.showagain_config.bottom = '0'; } if (this.settings.notify_position_horizontal == "left") { this.showagain_config.left = showagain_x_pos; } else if (this.settings.notify_position_horizontal == "right") { this.showagain_config.right = showagain_x_pos; } } this.showagain_elm.css(this.showagain_config); }, configBar: function () { this.bar_config = { 'background-color': this.settings.background, 'color': this.settings.text, 'font-family': this.settings.font_family }; if (this.settings.notify_position_vertical == "top") { this.bar_config['top'] = '0'; if (Boolean(this.settings.header_fix) === true) { this.bar_config['position'] = 'fixed'; } } else { this.bar_config['bottom'] = '0'; } this.configShowAgain(); this.bar_elm.css(this.bar_config).hide(); }, l1hs: function (str) { if (str.charAt(0) == "#") { str = str.substring(1, str.length); } else { return "#" + str; } return this.l1hs(str); }, close_header: function () { CLI_Cookie.set(CLI_ACCEPT_COOKIE_NAME, 'yes', CLI_ACCEPT_COOKIE_EXPIRE); this.hideHeader(); }, accept_close: function () { this.hidePopupOverlay(); this.generateConsent(); this.cookieLawInfoRunCallBacks(); CLI_Cookie.set(CLI_ACCEPT_COOKIE_NAME, 'yes', CLI_ACCEPT_COOKIE_EXPIRE); if (Boolean(this.settings.notify_animate_hide)) { if (CLI.js_blocking_enabled === true) { this.bar_elm.slideUp(this.settings.animate_speed_hide, cliBlocker.runScripts); } else { this.bar_elm.slideUp(this.settings.animate_speed_hide); } } else { if (CLI.js_blocking_enabled === true) { this.bar_elm.hide(0, cliBlocker.runScripts); } else { this.bar_elm.hide(); } } if (Boolean(this.settings.showagain_tab)) { this.showagain_elm.slideDown(this.settings.animate_speed_show); } if (Boolean(this.settings.accept_close_reload) === true) { this.reload_current_page(); } return false; }, reject_close: function () { this.hidePopupOverlay(); this.generateConsent(); this.cookieLawInfoRunCallBacks(); for (var k in Cli_Data.nn_cookie_ids) { CLI_Cookie.erase(Cli_Data.nn_cookie_ids[k]); } CLI_Cookie.set(CLI_ACCEPT_COOKIE_NAME, 'no', CLI_ACCEPT_COOKIE_EXPIRE); if (Boolean(this.settings.notify_animate_hide)) { if (CLI.js_blocking_enabled === true) { this.bar_elm.slideUp(this.settings.animate_speed_hide, cliBlocker.runScripts); } else { this.bar_elm.slideUp(this.settings.animate_speed_hide); } } else { if (CLI.js_blocking_enabled === true) { this.bar_elm.hide(cliBlocker.runScripts); } else { this.bar_elm.hide(); } } if (Boolean(this.settings.showagain_tab)) { this.showagain_elm.slideDown(this.settings.animate_speed_show); } if (Boolean(this.settings.reject_close_reload) === true) { this.reload_current_page(); } return false; }, reload_current_page: function () { window.location.reload(true); }, closeOnScroll: function () { if (window.pageYOffset > 100 && !CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME)) { CLI.accept_close(); if (Boolean(CLI.settings.scroll_close_reload) === true) { window.location.reload(); } window.removeEventListener("scroll", CLI.closeOnScroll, false); } }, displayHeader: function () { if (Boolean(this.settings.notify_animate_show)) { this.bar_elm.slideDown(this.settings.animate_speed_show); } else { this.bar_elm.show(); } this.showagain_elm.hide(); if (CLI_COOKIEBAR_AS_POPUP) { this.showPopupOverlay(); } }, hideHeader: function () { if (Boolean(this.settings.showagain_tab)) { if (Boolean(this.settings.notify_animate_show)) { this.showagain_elm.slideDown(this.settings.animate_speed_show); } else { this.showagain_elm.show(); } } else { this.showagain_elm.hide(); } this.bar_elm.slideUp(this.settings.animate_speed_show); this.hidePopupOverlay(); }, hidePopupOverlay: function () { jQuery('body').removeClass("cli-barmodal-open"); jQuery(".cli-popupbar-overlay").removeClass("cli-show"); }, showPopupOverlay: function () { if (this.bar_elm.length) { if (Boolean(this.settings.popup_overlay)) { jQuery('body').addClass("cli-barmodal-open"); jQuery(".cli-popupbar-overlay").addClass("cli-show"); } } }, barAsWidget: function (a) { var cli_elm = this.bar_elm; cli_elm.attr('data-cli-type', 'widget'); var cli_win = jQuery(window); var cli_winh = cli_win.height() - 40; var cli_winw = cli_win.width(); var cli_defw = cli_winw > 400 ? 300 : cli_winw - 30; cli_elm.css( { 'width': cli_defw, 'height': 'auto', 'max-height': cli_winh, 'overflow': 'auto', 'position': 'fixed', 'box-sizing': 'border-box' } ); if (this.checkifStyleAttributeExist() === false) { cli_elm.css({ 'padding': '25px 15px' }); } if (this.settings.widget_position == 'left') { cli_elm.css( { 'left': '15px', 'right': 'auto', 'bottom': '15px', 'top': 'auto' } ); } else { cli_elm.css( { 'left': 'auto', 'right': '15px', 'bottom': '15px', 'top': 'auto' } ); } if (a) { this.setResize(); } }, barAsPopUp: function (a) { if (typeof cookie_law_info_bar_as_popup === 'function') { return false; } var cli_elm = this.bar_elm; cli_elm.attr('data-cli-type', 'popup'); var cli_win = jQuery(window); var cli_winh = cli_win.height() - 40; var cli_winw = cli_win.width(); var cli_defw = cli_winw > 700 ? 500 : cli_winw - 20; cli_elm.css( { 'width': cli_defw, 'height': 'auto', 'max-height': cli_winh, 'bottom': '', 'top': '50%', 'left': '50%', 'margin-left': (cli_defw / 2) * -1, 'margin-top': '-100px', 'overflow': 'auto' } ).addClass('cli-bar-popup cli-modal-content'); if (this.checkifStyleAttributeExist() === false) { cli_elm.css({ 'padding': '25px 15px' }); } cli_h = cli_elm.height(); li_h = cli_h < 200 ? 200 : cli_h; cli_elm.css({ 'top': '50%', 'margin-top': ((cli_h / 2) + 30) * -1 }); setTimeout( function () { cli_elm.css( { 'bottom': '' } ); }, 100 ); if (a) { this.setResize(); } }, setResize: function () { var resizeTmr = null; jQuery(window).resize( function () { clearTimeout(resizeTmr); resizeTmr = setTimeout( function () { if (CLI_COOKIEBAR_AS_POPUP) { CLI.barAsPopUp(); } if (CLI.settings.cookie_bar_as == 'widget') { CLI.barAsWidget(); } CLI.configShowAgain(); }, 500 ); } ); }, enableAllCookies: function () { jQuery('.cli-user-preference-checkbox').each( function () { var cli_chkbox_elm = jQuery(this); var cli_chkbox_data_id = cli_chkbox_elm.attr('data-id'); if (cli_chkbox_data_id != 'checkbox-necessary') { cli_chkbox_elm.prop('checked', true); CLI_Cookie.set('cookielawinfo-' + cli_chkbox_data_id, 'yes', CLI_ACCEPT_COOKIE_EXPIRE); } } ); }, disableAllCookies: function () { jQuery('.cli-user-preference-checkbox').each( function () { var cli_chkbox_elm = jQuery(this); var cli_chkbox_data_id = cli_chkbox_elm.attr('data-id'); cliCategorySlug = cli_chkbox_data_id.replace('checkbox-', ''); if (Cli_Data.strictlyEnabled.indexOf(cliCategorySlug) === -1) { cli_chkbox_elm.prop('checked', false); CLI_Cookie.set('cookielawinfo-' + cli_chkbox_data_id, 'no', CLI_ACCEPT_COOKIE_EXPIRE); } } ); }, hideCookieBarOnClose: function () { jQuery(document).on( 'click', '.cli_cookie_close_button', function (e) { e.preventDefault(); var elm = jQuery(this); if (Cli_Data.ccpaType === 'ccpa') { CLI.enableAllCookies(); } CLI.accept_close(); } ); }, checkCategories: function () { var cliAllowedCategories = []; var cli_categories = {}; jQuery('.cli-user-preference-checkbox').each( function () { var status = false; cli_chkbox_elm = jQuery(this); cli_chkbox_data_id = cli_chkbox_elm.attr('data-id'); cli_chkbox_data_id = cli_chkbox_data_id.replace('checkbox-', ''); cli_chkbox_data_id_trimmed = cli_chkbox_data_id.replace('-', '_') if (jQuery(cli_chkbox_elm).is(':checked')) { status = true; cliAllowedCategories.push(cli_chkbox_data_id); } cli_categories[cli_chkbox_data_id_trimmed] = status; } ); CLI.allowedCategories = cliAllowedCategories; }, cookieLawInfoRunCallBacks: function () { this.checkCategories(); if (CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME) == 'yes') { if ("function" == typeof CookieLawInfo_Accept_Callback) { CookieLawInfo_Accept_Callback(); } } }, generateConsent: function () { var preferenceCookie = CLI_Cookie.read(CLI_PREFERENCE_COOKIE); cliConsent = {}; if (preferenceCookie !== null) { cliConsent = window.atob(preferenceCookie); cliConsent = JSON.parse(cliConsent); } cliConsent.ver = Cli_Data.consentVersion; categories = []; jQuery('.cli-user-preference-checkbox').each( function () { categoryVal = ''; cli_chkbox_data_id = jQuery(this).attr('data-id'); cli_chkbox_data_id = cli_chkbox_data_id.replace('checkbox-', ''); if (jQuery(this).is(':checked')) { categoryVal = true; } else { categoryVal = false; } cliConsent[cli_chkbox_data_id] = categoryVal; } ); cliConsent = JSON.stringify(cliConsent); cliConsent = window.btoa(cliConsent); CLI_Cookie.set(CLI_PREFERENCE_COOKIE, cliConsent, CLI_ACCEPT_COOKIE_EXPIRE); }, addStyleAttribute: function () { var bar = this.bar_elm; var styleClass = ''; if (jQuery(bar).find('.cli-bar-container').length > 0) { styleClass = jQuery('.cli-bar-container').attr('class'); styleClass = styleClass.replace('cli-bar-container', ''); styleClass = styleClass.trim(); jQuery(bar).attr('data-cli-style', styleClass); } }, getParameterByName: function (name, url) { if (!url) { url = window.location.href; } name = name.replace(/[\[\]]/g, '\\$&'); var regex = new RegExp('[?&]' + name + '(=([^&#]*)|&|#|$)'), results = regex.exec(url); if (!results) { return null; } if (!results[2]) { return ''; } return decodeURIComponent(results[2].replace(/\+/g, ' ')); }, CookieLawInfo_Callback: function (enableBar, enableBlocking) { enableBar = typeof enableBar !== 'undefined' ? enableBar : true; enableBlocking = typeof enableBlocking !== 'undefined' ? enableBlocking : true; if (CLI.js_blocking_enabled === true && Boolean(Cli_Data.custom_integration) === true) { cliBlocker.cookieBar(enableBar); cliBlocker.runScripts(enableBlocking); } }, checkifStyleAttributeExist: function () { var exist = false; var attr = this.bar_elm.attr('data-cli-style'); if (typeof attr !== typeof undefined && attr !== false) { exist = true; } return exist; }, reviewConsent: function () { jQuery(document).on( 'click', '.cli_manage_current_consent,.wt-cli-manage-consent-link', function () { CLI.displayHeader(); } ); }, mayBeSetPreferenceCookie: function () { if (CLI.getParameterByName('cli_bypass') === "1") { CLI.generateConsent(); } } } var cliBlocker = { blockingStatus: true, scriptsLoaded: false, ccpaEnabled: false, ccpaRegionBased: false, ccpaApplicable: false, ccpaBarEnabled: false, cliShowBar: true, isBypassEnabled: CLI.getParameterByName('cli_bypass'), checkPluginStatus: function (callbackA, callbackB) { this.ccpaEnabled = Boolean(Cli_Data.ccpaEnabled); this.ccpaRegionBased = Boolean(Cli_Data.ccpaRegionBased); this.ccpaBarEnabled = Boolean(Cli_Data.ccpaBarEnabled); if (Boolean(Cli_Data.custom_integration) === true) { callbackA(false); } else { if (this.ccpaEnabled === true) { this.ccpaApplicable = true; if (Cli_Data.ccpaType === 'ccpa') { if (this.ccpaBarEnabled !== true) { this.cliShowBar = false; this.blockingStatus = false; } } } else { jQuery('.wt-cli-ccpa-opt-out,.wt-cli-ccpa-checkbox,.wt-cli-ccpa-element').remove(); } if (cliBlocker.isBypassEnabled === "1") { cliBlocker.blockingStatus = false; } callbackA(this.cliShowBar); callbackB(this.blockingStatus); } }, cookieBar: function (showbar) { showbar = typeof showbar !== 'undefined' ? showbar : true; cliBlocker.cliShowBar = showbar; if (cliBlocker.cliShowBar === false) { CLI.bar_elm.hide(); CLI.showagain_elm.hide(); CLI.settingsModal.removeClass('cli-blowup cli-out'); CLI.hidePopupOverlay(); jQuery(".cli-settings-overlay").removeClass("cli-show"); } else { if (!CLI_Cookie.exists(CLI_ACCEPT_COOKIE_NAME)) { CLI.displayHeader(); } else { CLI.hideHeader(); } } }, removeCookieByCategory: function () { if (cliBlocker.blockingStatus === true) { if (CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME) !== null) { var non_necessary_cookies = Cli_Data.non_necessary_cookies; for (var key in non_necessary_cookies) { currentCategory = key; if (CLI.allowedCategories.indexOf(currentCategory) === -1) { var nonNecessaryCookies = non_necessary_cookies[currentCategory]; for (var i = 0; i < nonNecessaryCookies.length; i++) { if (CLI_Cookie.read(nonNecessaryCookies[i]) !== null) { CLI_Cookie.erase(nonNecessaryCookies[i]); } } } } } } }, runScripts: function (blocking) { blocking = typeof blocking !== 'undefined' ? blocking : true; cliBlocker.blockingStatus = blocking; srcReplaceableElms = ['iframe', 'IFRAME', 'EMBED', 'embed', 'OBJECT', 'object', 'IMG', 'img']; var genericFuncs = { renderByElement: function (callback) { cliScriptFuncs.renderScripts(); callback(); cliBlocker.scriptsLoaded = true; }, }; var cliScriptFuncs = { // trigger DOMContentLoaded scriptsDone: function () { if (typeof Cli_Data.triggerDomRefresh !== 'undefined') { if (Boolean(Cli_Data.triggerDomRefresh) === true) { var DOMContentLoadedEvent = document.createEvent('Event') DOMContentLoadedEvent.initEvent('DOMContentLoaded', true, true) window.document.dispatchEvent(DOMContentLoadedEvent); } } }, seq: function (arr, callback, index) { // first call, without an index if (typeof index === 'undefined') { index = 0 } arr[index]( function () { index++ if (index === arr.length) { callback() } else { cliScriptFuncs.seq(arr, callback, index) } } ) }, /* script runner */ insertScript: function ($script, callback) { var s = ''; var scriptType = $script.getAttribute('data-cli-script-type'); var elementPosition = $script.getAttribute('data-cli-element-position'); var isBlock = $script.getAttribute('data-cli-block'); var s = document.createElement('script'); var ccpaOptedOut = cliBlocker.ccpaOptedOut(); s.type = 'text/plain'; if ($script.async) { s.async = $script.async; } if ($script.defer) { s.defer = $script.defer; } if ($script.src) { s.onload = callback s.onerror = callback s.src = $script.src } else { s.textContent = $script.innerText } var attrs = jQuery($script).prop("attributes"); for (var ii = 0; ii < attrs.length; ++ii) { if (attrs[ii].nodeName !== 'id') { s.setAttribute(attrs[ii].nodeName, attrs[ii].value); } } if (cliBlocker.blockingStatus === true) { if ((CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME) == 'yes' && CLI.allowedCategories.indexOf(scriptType) !== -1)) { s.setAttribute('data-cli-consent', 'accepted'); s.type = 'text/javascript'; } if (cliBlocker.ccpaApplicable === true) { if (ccpaOptedOut === true || CLI_Cookie.read(CLI_ACCEPT_COOKIE_NAME) == null) { s.type = 'text/plain'; } } } else { s.type = 'text/javascript'; } if ($script.type != s.type) { if (elementPosition === 'head') { document.head.appendChild(s); } else { document.body.appendChild(s); } if (!$script.src) { callback() } $script.parentNode.removeChild($script); } else { callback(); } }, renderScripts: function () { var $scripts = document.querySelectorAll('script[data-cli-class="cli-blocker-script"]'); if ($scripts.length > 0) { var runList = [] var typeAttr Array.prototype.forEach.call( $scripts, function ($script) { // only run script tags without the type attribute // or with a javascript mime attribute value typeAttr = $script.getAttribute('type') runList.push( function (callback) { cliScriptFuncs.insertScript($script, callback) } ) } ) cliScriptFuncs.seq(runList, cliScriptFuncs.scriptsDone); } } }; genericFuncs.renderByElement(cliBlocker.removeCookieByCategory); }, ccpaOptedOut: function () { var ccpaOptedOut = false; var preferenceCookie = CLI_Cookie.read(CLI_PREFERENCE_COOKIE); if (preferenceCookie !== null) { cliConsent = window.atob(preferenceCookie); cliConsent = JSON.parse(cliConsent); if (typeof cliConsent.ccpaOptout !== 'undefined') { ccpaOptedOut = cliConsent.ccpaOptout; } } return ccpaOptedOut; } } jQuery(document).ready( function () { if (typeof cli_cookiebar_settings != 'undefined') { CLI.set( { settings: cli_cookiebar_settings } ); if (CLI.js_blocking_enabled === true) { cliBlocker.checkPluginStatus(cliBlocker.cookieBar, cliBlocker.runScripts); } } } );
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.24 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка