1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103
|
<style include="cr-shared-style shared-style">
#privacyPolicyLink {
color: var(--cr-link-color);
}
</style>
<div id="consentNotice" hidden$="[[hideConsentNoticePage_]]">
<div class="content-area custom-scrollbar" scrollable tabindex="-1">
<div class="header">
<img class="logo" alt="">
<h1>$i18n{m1ConsentTitle}</h1>
</div>
<template is="dom-if" if="[[!shouldShowV2()]]">
<div id="consentContent">
<div class="section cr-secondary-text">
$i18n{m1ConsentDescription1}
</div>
<div class="section cr-secondary-text">
$i18n{m1ConsentDescription2}
</div>
<div class="banner">
<img class="topics-banner" alt="">
</div>
<div class="section cr-secondary-text">
$i18n{m1ConsentDescription3}
</div>
<privacy-sandbox-dialog-learn-more class="learn-more-section"
expanded="{{expanded_}}"
title="$i18n{m1ConsentLearnMoreExpandLabel}">
<ul class="cr-secondary-text">
<li>$i18nRaw{m1ConsentLearnMoreBullet1}</li>
<li>$i18nRaw{m1ConsentLearnMoreBullet2}</li>
<li>$i18nRaw{m1ConsentLearnMoreBullet3}</li>
</ul>
<div id="privacyPolicyDiv" class="cr-secondary-text">
$i18nRaw{m1ConsentLearnMorePrivacyPolicyLink}</div>
</privacy-sandbox-dialog-learn-more>
<div class="section cr-secondary-text" id="lastTextElement">
$i18n{m1ConsentDescription4}
</div>
</div>
</template>
<template is="dom-if" if="[[shouldShowV2()]]">
<div id="consentContentV2">
<div id="consentContentV2FirstDescription" class="section cr-secondary-text">
[[consentContentV2FirstDescription_]]
</div>
<div class="banner">
<img class="topics-banner" alt="">
</div>
<div class="section cr-secondary-text">
$i18n{m1ConsentDescription3}
</div>
<privacy-sandbox-dialog-learn-more class="learn-more-section"
expanded="{{expanded_}}"
title="$i18n{m1ConsentLearnMoreExpandLabel}">
<ul class="cr-secondary-text">
<li>$i18nRaw{m1ConsentLearnmoreBullet1V2}</li>
<li>$i18nRaw{m1ConsentLearnmoreBullet2V2}</li>
<template is="dom-if" if="[[!shouldShowAdTopicsContentParity_]]">
<div id="learnMoreBulletDescription" class="learn-more-bullet-description">
$i18nRaw{m1ConsentLearnmoreBullet2Description}
</div>
</template>
<template is="dom-if" if="[[shouldShowAdTopicsContentParity_]]">
<div id="learnMoreBulletDescriptionContentParity" class="learn-more-bullet-description">
$i18nRaw{m1ConsentLearnMoreBullet2DescriptionContentParity}
</div>
</template>
<li>$i18nRaw{m1ConsentLearnmoreBullet3V2}</li>
</ul>
</privacy-sandbox-dialog-learn-more>
<div class="section cr-secondary-text" id="lastTextElementV2">
$i18n{m1ConsentDescription4V2}
</div>
</div>
</template>
<div class="buttons-container">
<cr-button id="declineButton" class="tonal-button"
on-click="onConsentDeclined_">
$i18n{m1ConsentDeclineButton}
</cr-button>
<cr-button id="confirmButton" class="tonal-button"
on-click="onConsentAccepted_">
$i18n{m1ConsentAcceptButton}
</cr-button>
</div>
</div>
<div id="showMoreOverlay" hidden="[[wasScrolledToBottom]]">
<cr-button id="moreButton" on-click="onConsentMoreClicked"
class="action-button">
$i18n{m1DialogMoreButton}
<cr-icon icon="cr:expand-more"></cr-icon>
</cr-button>
</div>
</div>
<template is="dom-if" if="[[loadPrivacyPolicy_]]">
<privacy-sandbox-privacy-policy-dialog
id="privacyPolicyDialog"
should-show="[[hideConsentNoticePage_]]"
on-back-button-clicked="onBackButtonClicked_">
</privacy-sandbox-privacy-policy-dialog>
</template>
|