INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(993, 0x7075626c6963, 0x706167655f76696577, 0, '<xf:title>{$page.title}</xf:title>\n<xf:if is=\"$page.description\">\n	<xf:description>{$page.description|raw}</xf:description>\n</xf:if>\n\n<xf:if is=\"!$page.isSearchEngineIndexable()\">\n	<xf:head option=\"metaNoindex\"><meta name=\"robots\" content=\"noindex\" /></xf:head>\n</xf:if>\n\n<xf:macro id=\"metadata_macros::canonical_url\" arg-canonicalUrl=\"{{ link(\'canonical:pages\', $page) }}\" />\n\n<xf:breadcrumb source=\"$page.getBreadcrumbs(false)\" />\n\n<xf:pageaction><xf:if contentcheck=\"true\">\n	<xf:contentcheck>\n		<xf:macro id=\"bookmark_macros::link\"\n			arg-content=\"{$page.Node}\"\n			arg-confirmUrl=\"{{ link(\'pages/bookmark\', $page) }}\"\n			arg-class=\"button button--link\" />\n	</xf:contentcheck>\n</xf:if></xf:pageaction>\n\n<xf:set var=\"$logVisits\">\n	<div class=\"block-outer block-outer--after\">\n		<ul class=\"listInline listInline--bullet\">\n			<li><dl class=\"pairs pairs--inline\">\n				<dt>{{ phrase(\'published\') }}</dt>\n				<dd>{{ date($page.publish_date) }}</dd>\n			</dl></li>\n			<li><dl class=\"pairs pairs--inline\">\n				<dt>{{ phrase(\'page_views\') }}</dt>\n				<dd>{{ number($page.view_count) }}</dd>\n			</dl></li>\n		</ul>\n	</div>\n</xf:set>\n\n<xf:if is=\"$page.advanced_mode\">\n	<xf:include template=\"{$page.getTemplateName()}\" />\n\n	<xf:if is=\"$page.log_visits\">\n		<div class=\"block\">\n			{$logVisits|raw}\n		</div>\n	</xf:if>\n<xf:else />\n	<div class=\"block\">\n		<div class=\"block-container\">\n			<div class=\"block-body block-row\">\n				<xf:include template=\"{$page.getTemplateName()}\" />\n			</div>\n		</div>\n		<xf:if is=\"$page.log_visits\">\n			{$logVisits|raw}\n		</xf:if>\n	</div>\n</xf:if>\n\n<div class=\"blockMessage blockMessage--none\">\n	<xf:macro id=\"share_page_macros::buttons\" arg-iconic=\"{{ true }}\" arg-label=\"{{ phrase(\'share:\') }}\" />\n</div>\n\n<xf:sidenav mode=\"prepend\">\n	<xf:if contentcheck=\"true\">\n		<div class=\"block\">\n			<div class=\"block-container\">\n				<div class=\"block-body\">\n					<xf:contentcheck>\n						<xf:if is=\"$page.list_siblings AND $siblings is not empty\">\n							<xf:if is=\"$parent\">\n								<a href=\"{{ link($parent.getRoute(), $parent) }}\" class=\"blockLink\">{$parent.title}</a>\n							</xf:if>\n\n							<xf:foreach loop=\"$siblings\" value=\"$node\">\n								<a href=\"{{ link($node.getRoute(), $node) }}\" class=\"blockLink {{ $node.node_id == $page.node_id ? \'is-selected\' : \'\' }}\">\n									<span class=\"u-depth{{ $parent ? 1 : 0 }}\">{$node.title}</span>\n								</a>\n								<xf:if is=\"$node.node_id == $page.node_id AND $page.list_children AND $children is not empty\">\n									<xf:foreach loop=\"$children\" value=\"$childNode\">\n										<a href=\"{{ link($childNode.getRoute(), $childNode) }}\" class=\"blockLink\">\n											<span class=\"u-depth{{ $parent ? 2 : 1 }}\">{$childNode.title}</span>\n										</a>\n									</xf:foreach>\n								</xf:if>\n							</xf:foreach>\n							<xf:elseif is=\"$page.list_children AND $children is not empty\" />\n							<xf:foreach loop=\"$children\" value=\"$childNode\">\n								<a href=\"{{ link($childNode.getRoute(), $childNode) }}\" class=\"blockLink\">\n									{$childNode.title}\n								</a>\n							</xf:foreach>\n						</xf:if>\n					</xf:contentcheck>\n				</div>\n			</div>\n		</div>\n	</xf:if>\n</xf:sidenav>', 0x[encoded data, 50018 characters], 0x5846, 2030170, '2.3.1', 1748686065);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(994, 0x7075626c6963, 0x706173736b6579735f6d6163726f73, 0, '<xf:macro id=\"your_passkeys\" arg-passkeys=\"!\" arg-linkType=\"{$xf.appType}\">\n	<xf:js src=\"xf/webauthn.js\" />\n\n	<div class=\"block\">\n		<div class=\"block-container\">\n			<h3 class=\"block-header\">\n				{{ phrase(\'your_passkeys\') }}\n				<xf:if is=\"$xf.request.isSecure()\">\n					<span class=\"u-pullRight u-jsOnly\">\n						<xf:button href=\"{{ link_type($linkType, \'account/passkey/add\') }}\" fa=\"fa-plus\" data-xf-click=\"webauthn-click\">{{ phrase(\'add_passkey\') }}</xf:button>\n					</span>\n				</xf:if>\n			</h3>\n			<div class=\"block-body\">\n				<xf:inforow rowtype=\"close\">\n					{{ phrase(\'passkeys_secure_replacement_for_passwords_allowing_you_to_use\') }}\n				</xf:inforow>\n\n				<xf:foreach loop=\"$passkeys\" value=\"$passkey\">\n					<li class=\"block-row block-row--separated\">\n						<div class=\"contentRow contentRow--alignMiddle\">\n							<xf:if is=\"$passkey.hasIcon()\">\n								<div class=\"contentRow-figure contentRow-figure--fixedSmall\">\n									<xf:macro id=\"style_variation_macros::picture_color_scheme\"\n										arg-light=\"{$passkey.getIcon(\'light\')}\"\n										arg-dark=\"{$passkey.getIcon(\'dark\')}\"\n										arg-width=\"100\" arg-height=\"100\"\n										arg-alt=\"{$passkey.getAuthenticatorName()}\"\n										arg-lazy=\"true\" />\n								</div>\n							</xf:if>\n							<div class=\"contentRow-main\">\n								<div class=\"contentRow-extra\">\n									<div class=\"buttonGroup\">\n										<xf:button href=\"{{ link_type($linkType, \'account/passkeys/edit\', $passkey) }}\" class=\"button--link button--smaller\" overlay=\"true\">{{ phrase(\'edit\') }}</xf:button>\n										<xf:button href=\"{{ link_type($linkType, \'account/passkeys/delete\', $passkey) }}\" class=\"button--link button--smaller\" overlay=\"true\">{{ phrase(\'delete\') }}</xf:button>\n									</div>\n								</div>\n\n								<h2 class=\"contentRow-title\">{$passkey.name}</h2>\n\n								<div class=\"contentRow-minor contentRow-minor--hideLinks\">\n									<ul class=\"listInline listInline--bullet\">\n										<li>\n											{{ phrase(\'created:\') }}\n											<xf:date time=\"{$passkey.create_date}\"/>\n										</li>\n										<xf:if is=\"$passkey.last_use_date\">\n											<li>\n												{{ phrase(\'last_used:\') }}\n												<xf:date time=\"{$passkey.last_use_date}\"/>\n											</li>\n										</xf:if>\n									</ul>\n								</div>\n							</div>\n						</div>\n					</li>\n				</xf:foreach>\n			</div>\n		</div>\n	</div>\n</xf:macro>', 0x[encoded data, 26656 characters], 0x5846, 2030570, '2.3.5', 1748686065);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(995, 0x7075626c6963, 0x70617373776f72645f626f78, 0, '<xf:if is=\"$checkStrength\">\n	<xf:js prod=\"xf/password_box-compiled.js\" dev=\"vendor/dropbox/zxcvbn.min.js, xf/password_box.js\" />\n</xf:if>\n\n<xf:set var=\"$input\">\n	<input type=\"password\" name=\"{$name}\" value=\"{$value}\"\n		class=\"input js-password {{ $hideShow ? \'input--passwordHideShow\' : \'\' }}\" {$attrsHtml|raw} />\n</xf:set>\n\n<div data-xf-init=\"{{ $checkStrength ? \'password-strength\' : null }} {{ $hideShow ? \'password-hide-show\' : \'\' }}\"\n	data-show-text=\"{{ phrase(\'button.show\')|for_attr }}\" data-hide-text=\"{{ phrase(\'button.hide\')|for_attr }}\">\n	<xf:if is=\"$hideShow\">\n		<div class=\"inputGroup inputGroup--joined\">\n			{$input|raw}\n			{$afterInputHtml|raw}\n			<div class=\"inputGroup-text\">\n				<xf:checkbox standalone=\"true\">\n					<xf:option labelclass=\"iconic--hideShow js-hideShowContainer\">{{ phrase(\'button.show\') }}</xf:option>\n				</xf:checkbox>\n			</div>\n		</div>\n	<xf:else />\n		{$input|raw}\n	</xf:if>\n\n	<xf:if is=\"$checkStrength\">\n		<meter min=\"0\" max=\"100\" class=\"meterBar js-strengthMeter\" low=\"40\" high=\"80\" optimum=\"100\"></meter>\n		<span class=\"js-strengthText meterBarLabel\">{{ phrase(\'entering_password_is_required\') }}</span>\n		<script class=\"js-zxcvbnLanguage\" type=\"application/json\">\n			{\n				\"Straight rows of keys are easy to guess\": \"{{ phrase(\'straight_rows_of_keys_easy_to_guess\')|escape(\'json\') }}\",\n				\"Short keyboard patterns are easy to guess\": \"{{ phrase(\'short_keyboard_patterns_easy_to_guess\')|escape(\'json\') }}\",\n				\"Repeats like \\\"aaa\\\" are easy to guess\": \"{{ phrase(\'repeated_characters_such_as_aaa_easy_to_guess\')|escape(\'json\') }}\",\n				\"Repeats like \\\"abcabcabc\\\" are only slightly harder to guess than \\\"abc\\\"\": \"{{ phrase(\'repeated_characters_such_as_abcabcabc_only_slightly_more_difficult\')|escape(\'json\') }}\",\n				\"Avoid repeated words and characters\": \"{{ phrase(\'avoid_repeated_words_and_characters\')|escape(\'json\') }}\",\n				\"Sequences like abc or 6543 are easy to guess\": \"{{ phrase(\'sequences_like_abc_or_6543_easy_to_guess\')|escape(\'json\') }}\",\n				\"Recent years are easy to guess\": \"{{ phrase(\'recent_years_easy_to_guess\')|escape(\'json\') }}\",\n				\"Dates are often easy to guess\": \"{{ phrase(\'dates_often_easy_to_guess\')|escape(\'json\') }}\",\n				\"This is a top-10 common password\": \"{{ phrase(\'this_password_appears_in_top_10_most_common_passwords_list\')|escape(\'json\') }}\",\n				\"This is a top-100 common password\": \"{{ phrase(\'this_password_appears_in_top_100_most_common_passwords_list\')|escape(\'json\') }}\",\n				\"This is a very common password\": \"{{ phrase(\'this_password_is_very_common_password\')|escape(\'json\') }}\",\n				\"This is similar to a commonly used password\": \"{{ phrase(\'this_password_is_similar_to_commonly_used_password\')|escape(\'json\') }}\",\n				\"A word by itself is easy to guess\": \"{{ phrase(\'word_by_itself_is_easy_to_guess\')|escape(\'json\') }}\",\n				\"Names and surnames by themselves are easy to guess\": \"{{ phrase(\'names_and_surnames_by_themselves_easy_to_guess\')|escape(\'json\') }}\",\n				\"Common names and surnames are easy to guess\": \"{{ phrase(\'common_names_and_surnames_easy_to_guess\')|escape(\'json\') }}\",\n\n				\"The chosen password could be stronger\": \"{{ phrase(\'the_chosen_password_could_be_stronger\')|escape(\'json\') }}\",\n				\"Entering a password is required\": \"{{ phrase(\'entering_password_is_required\')|escape(\'json\') }}\",\n				\"This is a very strong password\": \"{{ phrase(\'this_is_very_strong_password\')|escape(\'json\') }}\",\n				\"This is a reasonably strong password\": \"{{ phrase(\'this_is_reasonably_strong_password\')|escape(\'json\') }}\"\n			}\n		</script>\n	</xf:if>\n</div>', 0x[encoded data, 43948 characters], 0x5846, 2010131, '2.1.1 Beta 1', 1748686065);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(996, 0x7075626c6963, 0x7061796d656e745f63616e63656c5f726563757272696e67, 0, '<xf:if is=\"$purchaseRequest.Purchasable.isCancelled($purchaseRequest)\">\n	<div class=\"block-rowMessage block-rowMessage--important\">\n		{{ phrase(\'this_purchase_has_been_cancelled_successfully_and_will_expire\') }}\n	</div>\n<xf:else />\n	<xf:button href=\"{{ link(\'purchase/cancel-recurring\', null, {\'request_key\': $purchaseRequest.request_key}) }}\"\n		overlay=\"true\">\n		{{ phrase(\'button.cancel\') }}\n	</xf:button>\n</xf:if>', 0x[encoded data, 5818 characters], 0x5846, 2030032, '2.3.0 Beta 2', 1748686065),
(997, 0x7075626c6963, 0x7061796d656e745f63616e63656c5f726563757272696e675f636f6e6669726d, 0, '<xf:title>{{ phrase(\'confirm_cancellation_of_subscription:\') }} {$purchasableItem.title}</xf:title>\n\n<xf:form action=\"{{ link(\'purchase/cancel-recurring\', null, {\'request_key\': $purchaseRequest.request_key}) }}\" class=\"block\" ajax=\"true\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:inforow rowtype=\"confirm\">\n				{{ phrase(\'please_confirm_that_you_want_to_cancel_following_subscription:\') }}\n				<strong>{$purchasableItem.title}</strong>\n				<div class=\"blockMessage blockMessage--important\">\n					{{ phrase(\'note_your_subscription_may_appear_active_until_original_expiry_date\') }}\n				</div>\n			</xf:inforow>\n		</div>\n		<xf:submitrow submit=\"{{ phrase(\'button.cancel\') }}\" rowtype=\"simple\" />\n	</div>\n</xf:form>', 0x[encoded data, 9630 characters], 0x5846, 2011070, '2.1.10', 1748686065),
(998, 0x7075626c6963, 0x7061796d656e745f63616e63656c5f726563757272696e675f70617970616c, 0, '<div>\n	<xf:button href=\"{$endpoint}myaccount/autopay/\" target=\"_blank\">\n		{{ phrase(\'button.cancel\') }}\n	</xf:button>\n\n	<div class=\"formRow-explain\">\n		{{ phrase(\'note_paypal_subscriptions_can_only_be_canceled_from_your_paypal_account\') }}\n	</div>\n</div>', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a353a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a373a223c6469763e0a09223b7d693a313b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c546167223a373a7b733a343a226c696e65223b693a343b733a343a226e616d65223b733a363a22627574746f6e223b733a31303a2261747472696275746573223b613a323a7b733a343a2268726566223b4f3a33343a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c51756f746564223a323a7b733a343a226c696e65223b693a323b733a353a227061727473223b613a323a7b693a303b4f3a33363a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c5661726961626c65223a343a7b733a343a226c696e65223b693a323b733a343a226e616d65223b733a383a22656e64706f696e74223b733a31303a2264696d656e73696f6e73223b613a303a7b7d733a373a2266696c74657273223b613a303a7b7d7d693a313b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a323b733a373a22636f6e74656e74223b733a31383a226d796163636f756e742f6175746f7061792f223b7d7d7d733a363a22746172676574223b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a323b733a373a22636f6e74656e74223b733a363a225f626c616e6b223b7d7d733a383a226368696c6472656e223b613a333a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a323b733a373a22636f6e74656e74223b733a333a220a0909223b7d693a313b4f3a33383a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c45787072657373696f6e223a323a7b733a343a226c696e65223b693a333b733a31303a2265787072657373696f6e223b4f3a33323a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c46756e63223a333a7b733a343a226c696e65223b693a333b733a343a226e616d65223b733a363a22706872617365223b733a393a22617267756d656e7473223b613a313a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a333b733a373a22636f6e74656e74223b733a31333a22627574746f6e2e63616e63656c223b7d7d7d7d693a323b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a333b733a373a22636f6e74656e74223b733a323a220a09223b7d7d733a31313a22697353656c66436c6f7365223b623a303b733a31303a22657874656e73696f6e73223b613a303a7b7d733a353a226465707468223b693a303b7d693a323b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a343b733a373a22636f6e74656e74223b733a33353a220a0a093c64697620636c6173733d22666f726d526f772d6578706c61696e223e0a0909223b7d693a333b4f3a33383a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c45787072657373696f6e223a323a7b733a343a226c696e65223b693a373b733a31303a2265787072657373696f6e223b4f3a33323a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c46756e63223a333a7b733a343a226c696e65223b693a373b733a343a226e616d65223b733a363a22706872617365223b733a393a22617267756d656e7473223b613a313a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a373b733a373a22636f6e74656e74223b733a37313a226e6f74655f70617970616c5f737562736372697074696f6e735f63616e5f6f6e6c795f62655f63616e63656c65645f66726f6d5f796f75725f70617970616c5f6163636f756e74223b7d7d7d7d693a343b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a373b733a373a22636f6e74656e74223b733a31353a220a093c2f6469763e0a3c2f6469763e223b7d7d7d, 0x5846, 2020670, '2.2.6', 1748686065),
(999, 0x7075626c6963, 0x7061796d656e745f6368616e67655f7061796d656e745f726563757272696e67, 0, '<xf:button href=\"{{ link(\'purchase/change-payment\', null, {\'request_key\': $purchaseRequest.request_key}) }}\">\n	{{ phrase(\'change_payment\') }}\n</xf:button>', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a313a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c546167223a373a7b733a343a226c696e65223b693a333b733a343a226e616d65223b733a363a22627574746f6e223b733a31303a2261747472696275746573223b613a313a7b733a343a2268726566223b4f3a33383a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c45787072657373696f6e223a323a7b733a343a226c696e65223b693a313b733a31303a2265787072657373696f6e223b4f3a33323a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c46756e63223a333a7b733a343a226c696e65223b693a313b733a343a226e616d65223b733a343a226c696e6b223b733a393a22617267756d656e7473223b613a333a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a32333a2270757263686173652f6368616e67652d7061796d656e74223b7d693a313b4f3a33373a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c4e756c6c56616c7565223a313a7b733a343a226c696e65223b693a313b7d693a323b4f3a33323a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c48617368223a323a7b733a343a226c696e65223b693a313b733a353a227061727473223b613a313a7b693a303b613a323a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a31313a22726571756573745f6b6579223b7d693a313b4f3a33363a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c5661726961626c65223a343a7b733a343a226c696e65223b693a313b733a343a226e616d65223b733a31353a22707572636861736552657175657374223b733a31303a2264696d656e73696f6e73223b613a313a7b693a303b613a323a7b693a303b733a353a226172726179223b693a313b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a31313a22726571756573745f6b6579223b7d7d7d733a373a2266696c74657273223b613a303a7b7d7d7d7d7d7d7d7d7d733a383a226368696c6472656e223b613a333a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a323a220a09223b7d693a313b4f3a33383a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c45787072657373696f6e223a323a7b733a343a226c696e65223b693a323b733a31303a2265787072657373696f6e223b4f3a33323a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c46756e63223a333a7b733a343a226c696e65223b693a323b733a343a226e616d65223b733a363a22706872617365223b733a393a22617267756d656e7473223b613a313a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a323b733a373a22636f6e74656e74223b733a31343a226368616e67655f7061796d656e74223b7d7d7d7d693a323b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a323b733a373a22636f6e74656e74223b733a313a220a223b7d7d733a31313a22697353656c66436c6f7365223b623a303b733a31303a22657874656e73696f6e73223b613a303a7b7d733a353a226465707468223b693a303b7d7d7d, 0x5846, 2030032, '2.3.0 Beta 2', 1748686065),
(1000, 0x7075626c6963, 0x7061796d656e745f696e6974696174652e6c657373, 0, '.block\n{\n	&.block--paymentInitiate\n	{\n		margin-bottom: 0;\n	}\n}\n\n.input\n{\n	&.braintree-hosted-fields-focused\n	{\n		.xf-inputFocus();\n	}\n\n	&.braintree-hosted-fields-invalid\n	{\n		.m-invalidInput();\n	}\n\n	&.StripeElement\n	{\n		&.StripeElement--focus\n		{\n			.xf-inputFocus();\n		}\n\n		&.StripeElement--invalid\n		{\n			.m-invalidInput();\n		}\n	}\n}\n\n.button\n{\n	&.button--apple\n	{\n		border-color: black;\n		background-color: black;\n		background-image: -webkit-named-image(apple-pay-logo-white);\n		background-position: 50% 50%;\n		background-repeat: no-repeat;\n		background-size: 100% calc(~\'60% + 2px\');\n		transition: background-color .15s;\n		min-width: 100px;\n\n		&:hover,\n		&:active,\n		&:focus\n		{\n			background-color: rgba(0,0,0,0.8);\n		}\n	}\n}\n\n.m-invalidInput()\n{\n	border: @xf-borderSize solid #c84448;\n	background: #fde9e9;\n	color: #c84448 !important;\n}', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a313a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a3834303a222e626c6f636b0a7b0a09262e626c6f636b2d2d7061796d656e74496e6974696174650a097b0a09096d617267696e2d626f74746f6d3a20303b0a097d0a7d0a0a2e696e7075740a7b0a09262e627261696e747265652d686f737465642d6669656c64732d666f63757365640a097b0a09092e78662d696e707574466f63757328293b0a097d0a0a09262e627261696e747265652d686f737465642d6669656c64732d696e76616c69640a097b0a09092e6d2d696e76616c6964496e70757428293b0a097d0a0a09262e537472697065456c656d656e740a097b0a0909262e537472697065456c656d656e742d2d666f6375730a09097b0a0909092e78662d696e707574466f63757328293b0a09097d0a0a0909262e537472697065456c656d656e742d2d696e76616c69640a09097b0a0909092e6d2d696e76616c6964496e70757428293b0a09097d0a097d0a7d0a0a2e627574746f6e0a7b0a09262e627574746f6e2d2d6170706c650a097b0a0909626f726465722d636f6c6f723a20626c61636b3b0a09096261636b67726f756e642d636f6c6f723a20626c61636b3b0a09096261636b67726f756e642d696d6167653a202d7765626b69742d6e616d65642d696d616765286170706c652d7061792d6c6f676f2d7768697465293b0a09096261636b67726f756e642d706f736974696f6e3a20353025203530253b0a09096261636b67726f756e642d7265706561743a206e6f2d7265706561743b0a09096261636b67726f756e642d73697a653a20313030252063616c63287e27363025202b2032707827293b0a09097472616e736974696f6e3a206261636b67726f756e642d636f6c6f72202e3135733b0a09096d696e2d77696474683a2031303070783b0a0a0909263a686f7665722c0a0909263a6163746976652c0a0909263a666f6375730a09097b0a0909096261636b67726f756e642d636f6c6f723a207267626128302c302c302c302e38293b0a09097d0a097d0a7d0a0a2e6d2d696e76616c6964496e70757428290a7b0a09626f726465723a204078662d626f7264657253697a6520736f6c696420236338343434383b0a096261636b67726f756e643a20236664653965393b0a09636f6c6f723a20236338343434382021696d706f7274616e743b0a7d223b7d7d7d, 0x5846, 2011070, '2.1.10', 1748686065);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(1001, 0x7075626c6963, 0x7061796d656e745f696e6974696174655f627261696e74726565, 0, '<xf:css src=\"payment_initiate.less\" />\n<xf:js src=\"xf/payment.js\" min=\"1\" />\n\n<xf:title>{{ phrase(\'enter_payment_details\') }}</xf:title>\n\n<div class=\"blocks\">\n	<xf:form action=\"{{ link(\'purchase/process\', null, {\'request_key\': $purchaseRequest.request_key}) }}\" class=\"block\"\n		data-xf-init=\"braintree-payment-form\"\n		data-client-token=\"{$clientToken}\">\n\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<xf:formrow label=\"{{ phrase(\'pay_by_card\') }}\" controlid=\"card-number\" rowtype=\"input\">\n					<div class=\"inputGroup\">\n						<div class=\"inputGroup-text\"><span style=\"width: 30px;\"><xf:fa icon=\"fa-lg fa-credit-card\" id=\"brand-icon\" /></span></div>\n						<div id=\"card-number\" class=\"input is-disabled\"></div>\n						<div class=\"inputGroup-splitter\"></div>\n						<div id=\"card-expiry\" class=\"input is-disabled\" style=\"width: 130px\"></div>\n						<div class=\"inputGroup-splitter\"></div>\n						<div id=\"card-cvv\" class=\"input is-disabled\" style=\"width: 75px\"></div>\n					</div>\n					<div class=\"formRow-explain\">{{ phrase(\'payments_processed_securely_by_x\', {\'link\': \'https://braintreepayments.com/\', \'provider\': \'Braintree\'}) }}</div>\n				</xf:formrow>\n\n				<hr class=\"formRowSep\" />\n\n				<xf:formrow label=\"\" rowtype=\"button\">\n					<xf:button type=\"submit\" icon=\"payment\">\n						{{ phrase(\'pay_x\', {\'cost\': $purchase.cost|currency($purchase.currency)}) }}\n					</xf:button>\n				</xf:formrow>\n\n				<script type=\"application/json\" class=\"js-formStyles\">\n					{\n						<xf:foreach loop=\"$xf.style.getVariations()\" value=\"$variation\">\n							\"{{ $variation|escape(\'json\') }}\": {\n								\"input\": {\n									\"color\": \"{{ property_variation(\'textColor\', $variation, \'#141414\') }}\",\n									\"font-family\": \"{{ property_variation(\'fontFamilyUi\', $variation) }}\",\n									\"font-size\": \"16px\",\n									\"line-height\": \"{{ property_variation(\'lineHeightDefault\', $variation, \'1.4\') }}\"\n								},\n								\"input.invalid\": {\n									\"color\": \"#c84448\"\n								}\n							},\n						</xf:foreach>\n						\"_\": \"_\"\n					}\n				</script>\n			</div>\n		</div>\n	</xf:form>\n\n	<xf:if is=\"$paymentProfile.options.apple_pay_enable OR $paymentProfile.options.paypal_enable\">\n		<div class=\"blocks-textJoiner\"><span></span><em>{{ phrase(\'or_separator\') }}</em><span></span></div>\n\n		<xf:if is=\"$paymentProfile.options.apple_pay_enable\">\n			<xf:form action=\"{{ link(\'purchase/process\', null, {\'request_key\': $purchaseRequest.request_key}) }}\" class=\"block u-hidden\"\n				data-xf-init=\"braintree-apple-pay-form\"\n				data-client-token=\"{$clientToken}\"\n				data-currency-code=\"{$purchase.currency}\"\n				data-board-title=\"{$xf.options.boardTitle}\"\n				data-title=\"{$purchase.purchasableTitle}\"\n				data-amount=\"{$purchase.cost}\">\n\n				<div class=\"block-container\">\n					<div class=\"block-body\">\n						<xf:formrow rowtype=\"button\"\n							label=\"{{ phrase(\'pay_with_apple_pay\') }}\">\n							<xf:button class=\"button--apple js-applePayButton\">&nbsp;</xf:button>\n						</xf:formrow>\n					</div>\n				</div>\n			</xf:form>\n		</xf:if>\n		<xf:if is=\"$paymentProfile.options.paypal_enable\">\n			<xf:form action=\"{{ link(\'purchase/process\', null, {\'request_key\': $purchaseRequest.request_key}) }}\" class=\"block\"\n				data-xf-init=\"braintree-paypal-form\"\n				data-client-token=\"{$clientToken}\"\n				data-test-payments=\"{{ $xf.livePayments ? \'off\' : \'on\' }}\">\n\n				<div class=\"block-container\">\n					<div class=\"block-body\">\n						<xf:formrow rowtype=\"button\"\n							label=\"{{ phrase(\'pay_with_paypal\') }}\">\n							<div id=\"paypal-button\"></div>\n						</xf:formrow>\n					</div>\n				</div>\n			</xf:form>\n		</xf:if>\n	</xf:if>\n</div>', 0x[encoded data, 41114 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686065);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(1002, 0x7075626c6963, 0x7061796d656e745f696e6974696174655f74776f636865636b6f7574, 0, '<!-- 2Checkout insert begins here -->\n<form action=\"{{ $xf.livePayments ? \'https://2checkout.com/checkout/purchase\' : \'https://sandbox.2checkout.com/checkout/purchase\' }}\" method=\"post\" style=\"display: none\" id=\"js-2CheckoutForm\">\n	<xf:hiddenval name=\"sid\">{$paymentProfile.options.account_number}</xf:hiddenval>\n	<xf:hiddenval name=\"mode\">2CO</xf:hiddenval>\n	<xf:hiddenval name=\"li_0_type\">product</xf:hiddenval>\n	<xf:hiddenval name=\"li_0_name\">{$purchase.title}</xf:hiddenval>\n	<xf:hiddenval name=\"li_0_price\">{$purchase.cost}</xf:hiddenval>\n	<xf:hiddenval name=\"li_0_tangible\">N</xf:hiddenval>\n\n	<xf:if is=\"{$recurrence}\">\n		<xf:hiddenval name=\"li_0_recurrence\">{$recurrence}</xf:hiddenval>\n	</xf:if>\n\n	<xf:hiddenval name=\"currency_code\">{$purchase.currency}</xf:hiddenval>\n	<xf:hiddenval name=\"email\">{$xf.visitor.email}</xf:hiddenval>\n	<xf:hiddenval name=\"merchant_order_id\">{$purchaseRequest.request_key}</xf:hiddenval>\n	<xf:hiddenval name=\"x_receipt_link_url\">{{ link(\'canonical:purchase/process\', null, {\'request_key\': $purchaseRequest.request_key}) }}</xf:hiddenval>\n\n		<!-- TODO: If we provide a way to input address details, the inline checkout can be used. -->\n		<input type=\"hidden\" name=\"card_holder_name\" value=\"\" />\n		<input type=\"hidden\" name=\"street_address\" value=\"\" />\n		<input type=\"hidden\" name=\"street_address2\" value=\"\" />\n		<input type=\"hidden\" name=\"city\" value=\"\" />\n		<input type=\"hidden\" name=\"state\" value=\"\" />\n		<input type=\"hidden\" name=\"zip\" value=\"\" />\n		<input type=\"hidden\" name=\"country\" value=\"\" />\n\n	<xf:js>\n		XF.loadScript(\'https://www.2checkout.com/static/checkout/javascript/direct.min.js\', () =>\n		{\n			const form = document.querySelector(\'#js-2CheckoutForm\')\n			if (XF.trigger(form, \'submit\'))\n			{\n				form.submit()\n			}\n		});\n	</xf:js>\n</form>', 0x[encoded data, 19704 characters], 0x5846, 2030170, '2.3.1', 1748686065),
(1003, 0x7075626c6963, 0x706f6c6c2e6c657373, 0, '.pollResult\n{\n	display: table;\n	table-layout: fixed;\n	width: 100%;\n	margin: 0;\n	padding: @xf-blockPaddingV @xf-blockPaddingH;\n\n	&.pollResult--showVoters\n	{\n		cursor: pointer;\n\n		&:hover\n		{\n			background: @xf-contentHighlightBg;\n		}\n	}\n}\n\n.pollResult-response\n{\n	display: table-cell;\n	margin: 0;\n	padding: 0;\n	vertical-align: middle;\n	font-size: @xf-fontSizeNormal;\n	font-weight: @xf-fontWeightNormal;\n\n	.pollResult--voted &\n	{\n		font-weight: @xf-fontWeightHeavy;\n\n		&:before\n		{\n			.m-faBase();\n			.m-faContent(\"@{fa-var-check-circle}\\20\");\n			color: @xf-textColorAttention;\n			unicode-bidi: isolate;\n		}\n	}\n}\n\n.pollResult-votes\n{\n	display: table-cell;\n	width: 6.5em;\n	vertical-align: middle;\n	text-align: right;\n}\n\n.pollResult-percentage\n{\n	display: table-cell;\n	width: 4.35em;\n	vertical-align: middle;\n	text-align: right;\n}\n\n.pollResult-graph\n{\n	display: table-cell;\n	width: 30%;\n	padding-left: @xf-paddingMedium;\n	vertical-align: middle;\n}\n\n.pollResult-bar\n{\n	display: block;\n	position: relative;\n	height: .8em;\n\n	&:empty\n	{\n		display: none;\n	}\n\n	> i\n	{\n		position: absolute;\n		left: 0;\n		top: 0;\n		bottom: 0;\n		background: @xf-progressBarColor;\n		border-radius: @xf-borderRadiusMedium;\n	}\n}\n\n.pollResult-voters\n{\n	padding: @xf-blockPaddingV @xf-blockPaddingH;\n	.xf-contentHighlightBase();\n}\n\n.pollResult--simple\n{\n	display: block;\n	.m-narrowPollResults();\n}\n\n@media (max-width: @xf-responsiveMedium)\n{\n	.pollResult\n	{\n		display: block;\n		.m-narrowPollResults();\n	}\n}\n\n.m-narrowPollResults()\n{\n	.pollResult-response\n	{\n		display: block;\n	}\n\n	.pollResult-votes\n	{\n		display: inline;\n	}\n\n	.pollResult-percentage\n	{\n		display: inline;\n		padding-left: 1em;\n	}\n\n	.pollResult-graph\n	{\n		display: block;\n		width: 100%;\n		padding-left: 0;\n	}\n}', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a313a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a313733393a222e706f6c6c526573756c740a7b0a09646973706c61793a207461626c653b0a097461626c652d6c61796f75743a2066697865643b0a0977696474683a20313030253b0a096d617267696e3a20303b0a0970616464696e673a204078662d626c6f636b50616464696e6756204078662d626c6f636b50616464696e67483b0a0a09262e706f6c6c526573756c742d2d73686f77566f746572730a097b0a0909637572736f723a20706f696e7465723b0a0a0909263a686f7665720a09097b0a0909096261636b67726f756e643a204078662d636f6e74656e74486967686c6967687442673b0a09097d0a097d0a7d0a0a2e706f6c6c526573756c742d726573706f6e73650a7b0a09646973706c61793a207461626c652d63656c6c3b0a096d617267696e3a20303b0a0970616464696e673a20303b0a09766572746963616c2d616c69676e3a206d6964646c653b0a09666f6e742d73697a653a204078662d666f6e7453697a654e6f726d616c3b0a09666f6e742d7765696768743a204078662d666f6e745765696768744e6f726d616c3b0a0a092e706f6c6c526573756c742d2d766f74656420260a097b0a0909666f6e742d7765696768743a204078662d666f6e7457656967687448656176793b0a0a0909263a6265666f72650a09097b0a0909092e6d2d66614261736528293b0a0909092e6d2d6661436f6e74656e742822407b66612d7661722d636865636b2d636972636c657d5c323022293b0a090909636f6c6f723a204078662d74657874436f6c6f72417474656e74696f6e3b0a090909756e69636f64652d626964693a2069736f6c6174653b0a09097d0a097d0a7d0a0a2e706f6c6c526573756c742d766f7465730a7b0a09646973706c61793a207461626c652d63656c6c3b0a0977696474683a20362e35656d3b0a09766572746963616c2d616c69676e3a206d6964646c653b0a09746578742d616c69676e3a2072696768743b0a7d0a0a2e706f6c6c526573756c742d70657263656e746167650a7b0a09646973706c61793a207461626c652d63656c6c3b0a0977696474683a20342e3335656d3b0a09766572746963616c2d616c69676e3a206d6964646c653b0a09746578742d616c69676e3a2072696768743b0a7d0a0a2e706f6c6c526573756c742d67726170680a7b0a09646973706c61793a207461626c652d63656c6c3b0a0977696474683a203330253b0a0970616464696e672d6c6566743a204078662d70616464696e674d656469756d3b0a09766572746963616c2d616c69676e3a206d6964646c653b0a7d0a0a2e706f6c6c526573756c742d6261720a7b0a09646973706c61793a20626c6f636b3b0a09706f736974696f6e3a2072656c61746976653b0a096865696768743a202e38656d3b0a0a09263a656d7074790a097b0a0909646973706c61793a206e6f6e653b0a097d0a0a093e20690a097b0a0909706f736974696f6e3a206162736f6c7574653b0a09096c6566743a20303b0a0909746f703a20303b0a0909626f74746f6d3a20303b0a09096261636b67726f756e643a204078662d70726f6772657373426172436f6c6f723b0a0909626f726465722d7261646975733a204078662d626f726465725261646975734d656469756d3b0a097d0a7d0a0a2e706f6c6c526573756c742d766f746572730a7b0a0970616464696e673a204078662d626c6f636b50616464696e6756204078662d626c6f636b50616464696e67483b0a092e78662d636f6e74656e74486967686c696768744261736528293b0a7d0a0a2e706f6c6c526573756c742d2d73696d706c650a7b0a09646973706c61793a20626c6f636b3b0a092e6d2d6e6172726f77506f6c6c526573756c747328293b0a7d0a0a406d6564696120286d61782d77696474683a204078662d726573706f6e736976654d656469756d290a7b0a092e706f6c6c526573756c740a097b0a0909646973706c61793a20626c6f636b3b0a09092e6d2d6e6172726f77506f6c6c526573756c747328293b0a097d0a7d0a0a2e6d2d6e6172726f77506f6c6c526573756c747328290a7b0a092e706f6c6c526573756c742d726573706f6e73650a097b0a0909646973706c61793a20626c6f636b3b0a097d0a0a092e706f6c6c526573756c742d766f7465730a097b0a0909646973706c61793a20696e6c696e653b0a097d0a0a092e706f6c6c526573756c742d70657263656e746167650a097b0a0909646973706c61793a20696e6c696e653b0a090970616464696e672d6c6566743a2031656d3b0a097d0a0a092e706f6c6c526573756c742d67726170680a097b0a0909646973706c61793a20626c6f636b3b0a090977696474683a20313030253b0a090970616464696e672d6c6566743a20303b0a097d0a7d223b7d7d7d, 0x5846, 2000010, '2.0.0 Alpha', 1748686065),
(1004, 0x7075626c6963, 0x706f6c6c5f626c6f636b, 0, '<xf:title>{{ phrase(\'poll_results\') }}</xf:title>\n\n<xf:breadcrumb source=\"$breadcrumbs\" />\n\n<xf:macro id=\"poll_macros::poll_block\" arg-poll=\"{$poll}\" arg-simpleDisplay=\"{$simpleDisplay}\" />', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a353a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c546167223a373a7b733a343a226c696e65223b693a313b733a343a226e616d65223b733a353a227469746c65223b733a31303a2261747472696275746573223b613a303a7b7d733a383a226368696c6472656e223b613a313a7b693a303b4f3a33383a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c45787072657373696f6e223a323a7b733a343a226c696e65223b693a313b733a31303a2265787072657373696f6e223b4f3a33323a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c46756e63223a333a7b733a343a226c696e65223b693a313b733a343a226e616d65223b733a363a22706872617365223b733a393a22617267756d656e7473223b613a313a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a31323a22706f6c6c5f726573756c7473223b7d7d7d7d7d733a31313a22697353656c66436c6f7365223b623a303b733a31303a22657874656e73696f6e73223b613a303a7b7d733a353a226465707468223b693a303b7d693a313b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a323a220a0a223b7d693a323b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c546167223a373a7b733a343a226c696e65223b693a333b733a343a226e616d65223b733a31303a2262726561646372756d62223b733a31303a2261747472696275746573223b613a313a7b733a363a22736f75726365223b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a333b733a373a22636f6e74656e74223b733a31323a222462726561646372756d6273223b7d7d733a383a226368696c6472656e223b613a303a7b7d733a31313a22697353656c66436c6f7365223b623a313b733a31303a22657874656e73696f6e73223b613a303a7b7d733a353a226465707468223b693a303b7d693a333b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a333b733a373a22636f6e74656e74223b733a323a220a0a223b7d693a343b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c546167223a373a7b733a343a226c696e65223b693a353b733a343a226e616d65223b733a353a226d6163726f223b733a31303a2261747472696275746573223b613a333a7b733a323a226964223b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a353b733a373a22636f6e74656e74223b733a32333a22706f6c6c5f6d6163726f733a3a706f6c6c5f626c6f636b223b7d733a383a226172672d706f6c6c223b4f3a33363a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c5661726961626c65223a343a7b733a343a226c696e65223b693a353b733a343a226e616d65223b733a343a22706f6c6c223b733a31303a2264696d656e73696f6e73223b613a303a7b7d733a373a2266696c74657273223b613a303a7b7d7d733a31373a226172672d73696d706c65446973706c6179223b4f3a33363a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c5661726961626c65223a343a7b733a343a226c696e65223b693a353b733a343a226e616d65223b733a31333a2273696d706c65446973706c6179223b733a31303a2264696d656e73696f6e73223b613a303a7b7d733a373a2266696c74657273223b613a303a7b7d7d7d733a383a226368696c6472656e223b613a303a7b7d733a31313a22697353656c66436c6f7365223b623a313b733a31303a22657874656e73696f6e73223b613a303a7b7d733a353a226465707468223b693a303b7d7d7d, 0x5846, 2030010, '2.3.0 Alpha', 1748686065),
(1005, 0x7075626c6963, 0x706f6c6c5f637265617465, 0, '<xf:title>{{ phrase(\'create_poll\') }}</xf:title>\n\n<xf:breadcrumb source=\"$breadcrumbs\" />\n\n<xf:form action=\"{$createFormUrl}\" class=\"block\" ajax=\"true\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:macro id=\"poll_macros::add_edit_inputs\" />\n		</div>\n\n		<xf:redirect url=\"{$redirect}\" />\n		<xf:submitrow sticky=\"true\" icon=\"save\" />\n	</div>\n</xf:form>', 0x[encoded data, 6020 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686065),
(1006, 0x7075626c6963, 0x706f6c6c5f64656c657465, 0, '<xf:title>{{ phrase(\'reset_poll\') }}</xf:title>\n\n<xf:breadcrumb source=\"$breadcrumbs\" />\n\n<xf:macro id=\"poll_macros::delete_block\" arg-poll=\"{$poll}\" />', 0x4f3a32343a2258465c54656d706c6174655c436f6d70696c65725c417374223a313a7b733a383a226368696c6472656e223b613a353a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c546167223a373a7b733a343a226c696e65223b693a313b733a343a226e616d65223b733a353a227469746c65223b733a31303a2261747472696275746573223b613a303a7b7d733a383a226368696c6472656e223b613a313a7b693a303b4f3a33383a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c45787072657373696f6e223a323a7b733a343a226c696e65223b693a313b733a31303a2265787072657373696f6e223b4f3a33323a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c46756e63223a333a7b733a343a226c696e65223b693a313b733a343a226e616d65223b733a363a22706872617365223b733a393a22617267756d656e7473223b613a313a7b693a303b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a31303a2272657365745f706f6c6c223b7d7d7d7d7d733a31313a22697353656c66436c6f7365223b623a303b733a31303a22657874656e73696f6e73223b613a303a7b7d733a353a226465707468223b693a303b7d693a313b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a313b733a373a22636f6e74656e74223b733a323a220a0a223b7d693a323b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c546167223a373a7b733a343a226c696e65223b693a333b733a343a226e616d65223b733a31303a2262726561646372756d62223b733a31303a2261747472696275746573223b613a313a7b733a363a22736f75726365223b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a333b733a373a22636f6e74656e74223b733a31323a222462726561646372756d6273223b7d7d733a383a226368696c6472656e223b613a303a7b7d733a31313a22697353656c66436c6f7365223b623a313b733a31303a22657874656e73696f6e73223b613a303a7b7d733a353a226465707468223b693a303b7d693a333b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a333b733a373a22636f6e74656e74223b733a323a220a0a223b7d693a343b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c546167223a373a7b733a343a226c696e65223b693a353b733a343a226e616d65223b733a353a226d6163726f223b733a31303a2261747472696275746573223b613a323a7b733a323a226964223b4f3a33313a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c537472223a323a7b733a343a226c696e65223b693a353b733a373a22636f6e74656e74223b733a32353a22706f6c6c5f6d6163726f733a3a64656c6574655f626c6f636b223b7d733a383a226172672d706f6c6c223b4f3a33363a2258465c54656d706c6174655c436f6d70696c65725c53796e7461785c5661726961626c65223a343a7b733a343a226c696e65223b693a353b733a343a226e616d65223b733a343a22706f6c6c223b733a31303a2264696d656e73696f6e73223b613a303a7b7d733a373a2266696c74657273223b613a303a7b7d7d7d733a383a226368696c6472656e223b613a303a7b7d733a31313a22697353656c66436c6f7365223b623a313b733a31303a22657874656e73696f6e73223b613a303a7b7d733a353a226465707468223b693a303b7d7d7d, 0x5846, 2030010, '2.3.0 Alpha', 1748686065);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(1007, 0x7075626c6963, 0x706f6c6c5f65646974, 0, '<xf:title>{{ phrase(\'edit_poll\') }}</xf:title>\n\n<xf:breadcrumb source=\"$breadcrumbs\" />\n\n<xf:form action=\"{{ $poll.getLink(\'edit\') }}\" class=\"block\" ajax=\"true\">\n	<div class=\"block-container\">\n		<div class=\"block-body\">\n			<xf:macro id=\"poll_macros::add_edit_inputs\" arg-poll=\"{$poll}\"/>\n		</div>\n\n		<xf:redirect url=\"{$redirect}\" />\n		<xf:submitrow icon=\"save\" sticky=\"true\" />\n	</div>\n</xf:form>\n\n<xf:if is=\"$poll && $poll.canDelete()\">\n	<xf:macro id=\"poll_macros::delete_block\" arg-poll=\"{$poll}\" />\n</xf:if>', 0x[encoded data, 8936 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686065);
INSERT INTO `xf_template` (`template_id`, `type`, `title`, `style_id`, `template`, `template_parsed`, `addon_id`, `version_id`, `version_string`, `last_edit_date`) VALUES
(1008, 0x7075626c6963, 0x706f6c6c5f6d6163726f73, 0, '<xf:macro id=\"poll_block\" arg-poll=\"!\" arg-showVoteBlock=\"{{ false }}\" arg-simpleDisplay=\"{{ false }}\" arg-forceTitle=\"{{ false }}\">\n	<xf:form action=\"{{ $poll.getLink(\'vote\') }}\" ajax=\"true\" class=\"block js-pollContainer-{$poll.poll_id}\" data-xf-init=\"poll-block\">\n		<div class=\"block-container\">\n			<h2 class=\"{{ $simpleDisplay ? \'block-minorHeader\' : \'block-header\' }}\">\n				<xf:if is=\"$simpleDisplay\">\n					<a href=\"{{ $poll.getLink(\'content\') }}\">{{ $forceTitle ?: $poll.question }}</a>\n				<xf:else />\n					<xf:fa icon=\"fa-chart-bar\" /> {{ $forceTitle ?: $poll.question }}\n					<xf:if is=\"$poll.canEdit()\">\n						<xf:button href=\"{{ $poll.getLink(\'edit\') }}\" class=\"button--link button--small u-pullRight\"\n							overlay=\"true\" icon=\"edit\" />\n					</xf:if>\n				</xf:if>\n			</h2>\n			<xf:if is=\"$poll.canVote() AND ($showVoteBlock OR !$poll.hasVoted())\">\n				<xf:macro id=\"vote\" arg-poll=\"{$poll}\" />\n			<xf:else />\n				<xf:macro id=\"result\" arg-poll=\"{$poll}\" arg-simpleDisplay=\"{$simpleDisplay}\" />\n			</xf:if>\n		</div>\n		<xf:hiddenval name=\"simple_display\">{$simpleDisplay}</xf:hiddenval>\n	</xf:form>\n</xf:macro>\n\n<xf:macro id=\"vote\" arg-poll=\"!\">\n	<div class=\"block-body\">\n		<div class=\"block-row\">\n			<xf:if is=\"$poll.max_votes == 1\">\n				<xf:radio name=\"responses[]\">\n					<xf:foreach loop=\"$poll.responses\" key=\"$responseId\" value=\"$response\">\n						<xf:option value=\"{$responseId}\" selected=\"{{ $poll.hasVoted($responseId) }}\">{$response.response|censor}</xf:option>\n					</xf:foreach>\n				</xf:radio>\n			<xf:else />\n				<xf:checkbox name=\"responses[]\">\n					<xf:foreach loop=\"$poll.responses\" key=\"$responseId\" value=\"$response\">\n						<xf:option value=\"{$responseId}\" selected=\"{{ $poll.hasVoted($responseId) }}\">{$response.response|censor}</xf:option>\n					</xf:foreach>\n				</xf:checkbox>\n			</xf:if>\n		</div>\n		<xf:if contentcheck=\"true\">\n			<hr class=\"block-separator\" />\n			<div class=\"block-row block-row--minor\">\n				<ul class=\"listInline\">\n				<xf:contentcheck>\n					<xf:if is=\"$poll.close_date\">\n						<xf:if is=\"!$poll.isClosed()\">\n							<li>{{ phrase(\'this_poll_will_close:\') }} <xf:date time=\"{$poll.close_date}\" />.</li>\n						<xf:else />\n							<li>{{ phrase(\'poll_closed\') }} <xf:date time=\"{$poll.close_date}\" />.</li>\n						</xf:if>\n					</xf:if>\n					<xf:if is=\"$poll.max_votes != 1\">\n						<li>{{ phrase(\'multiple_votes_allowed\') }}</li>\n					</xf:if>\n					<xf:if is=\"$poll.public_votes\">\n						<li>{{ phrase(\'your_vote_will_be_publicly_visible\') }}</li>\n					</xf:if>\n				</xf:contentcheck>\n				</ul>\n			</div>\n		</xf:if>\n	</div>\n	<div class=\"block-footer\">\n		<span class=\"block-footer-controls\">\n			<xf:button type=\"submit\" class=\"button--primary\" icon=\"vote\">{{ phrase(\'cast_vote\') }}</xf:button>\n			<xf:if is=\"$poll.canViewResults()\">\n				<xf:button href=\"{{ $poll.getLink(\'results\') }}\" overlay=\"true\" icon=\"result\" rel=\"nofollow\">{{ phrase(\'view_results\') }}</xf:button>\n			</xf:if>\n		</span>\n	</div>\n</xf:macro>\n\n<xf:macro id=\"result\" arg-poll=\"!\" arg-simpleDisplay=\"{{ false }}\" arg-showFooter=\"{{ true }}\">\n	<xf:css src=\"poll.less\" />\n	<xf:set var=\"$canViewResults\" value=\"{{ $poll.canViewResults() }}\" />\n\n	<div class=\"block-body\">\n		<ul class=\"listPlain\">\n		<xf:foreach loop=\"$poll.responses\" key=\"$responseId\" value=\"$response\">\n			<li>\n				<xf:set var=\"$canShowVoters\" value=\"{{ $canViewResults AND $poll.public_votes AND $response.response_vote_count AND !$simpleDisplay }}\" />\n				<div class=\"{{ $canShowVoters ? \'fauxBlockLink\' : \'\' }}\">\n					<div class=\"pollResult {{ $simpleDisplay ? \'pollResult--simple\' : \'\' }} {{ $poll.hasVoted($responseId) ? \'pollResult--voted\' : \'\' }} {{ $canShowVoters ? \'pollResult--showVoters\' : \'\' }}\">\n						<h3 class=\"pollResult-response\">{$response.response|censor}</h3>\n						<xf:if is=\"$canViewResults\">\n							<span class=\"pollResult-votes\">\n								<xf:if is=\"$canShowVoters\">\n									<a class=\"fauxBlockLink-blockLink\"\n										data-xf-click=\"toggle\"\n										data-target=\".js-pollResultVoters-{$responseId}\"\n										role=\"button\"\n										tabindex=\"0\">\n										<span class=\"u-muted\">{{ phrase(\'votes:\') }}</span> {$response.response_vote_count|number}\n									</a>\n								<xf:else />\n									<span class=\"u-muted\">{{ phrase(\'votes:\') }}</span> {$response.response_vote_count|number}\n								</xf:if>\n							</span>\n							<span class=\"pollResult-percentage\">\n								{{ $poll.getVotePercentage($response.response_vote_count)|number(1) }}%\n							</span>\n							<span class=\"pollResult-graph\" aria-hidden=\"true\">\n								<span class=\"pollResult-bar\"><xf:if is=\"$response.response_vote_count\">\n									<i style=\"width: {{ $poll.getVotePercentage($response.response_vote_count) }}%\"></i>\n								</xf:if></span>\n							</span>\n						</xf:if>\n					</div>\n				</div>\n				<xf:if is=\"$canShowVoters\">\n					<div class=\"pollResult-voters js-pollResultVoters-{$responseId} toggleTarget\"\n						data-href=\"{{ $poll.getLink(\'results\', {\'response\': $responseId}) }}\"\n						data-load-selector=\".js-pollVoters\"></div>\n				</xf:if>\n			</li>\n		</xf:foreach>\n		</ul>\n		<xf:if is=\"!$canViewResults\">\n			<hr class=\"block-separator\" />\n			<div class=\"block-row block-row--minor\">\n				<span class=\"u-muted\">{{ phrase(\'results_only_viewable_after_voting\') }}</span>\n			</div>\n		<xf:elseif is=\"!$simpleDisplay\" />\n			<hr class=\"block-separator\" />\n			<div class=\"block-row block-row--minor\">\n				<ul class=\"listInline listInline--bullet\">\n					<li>\n						<dl class=\"pairs pairs--inline\">\n							<dt>{{ phrase(\'total_voters\') }}</dt>\n							<dd>{$poll.voter_count|number}</dd>\n						</dl>\n					</li>\n					<xf:if is=\"$poll.close_date\">\n						<xf:if is=\"!$poll.isClosed()\">\n							<li>{{ phrase(\'this_poll_will_close:\') }} <xf:date time=\"{$poll.close_date}\" />.</li>\n						<xf:else />\n							<li>{{ phrase(\'poll_closed\') }} <xf:date time=\"{$poll.close_date}\" />.</li>\n						</xf:if>\n					</xf:if>\n				</ul>\n			</div>\n		</xf:if>\n	</div>\n	<xf:if is=\"$showFooter\">\n		<xf:if contentcheck=\"true\">\n			<div class=\"block-footer\">\n			<xf:contentcheck>\n				<xf:if is=\"$simpleDisplay\">\n					<a href=\"{{ $poll.getLink(\'content\') }}\">{{ phrase(\'see_comments...\') }}</a>\n				<xf:else />\n					<xf:if is=\"$poll.canVote() AND $poll.hasVoted()\">\n						<span class=\"block-footer-controls\"><xf:button href=\"{{ $poll.getLink(\'vote\') }}\"\n							data-xf-click=\"inserter\" data-replace=\".js-pollContainer-{$poll.poll_id}\">\n							{{ phrase(\'change_vote\') }}\n						</xf:button></span>\n					</xf:if>\n				</xf:if>\n			</xf:contentcheck>\n			</div>\n		</xf:if>\n	</xf:if>\n</xf:macro>\n\n<xf:macro id=\"add_edit_inputs\" arg-poll=\"{{ null }}\" arg-draft=\"{{ [] }}\" arg-rowType=\"\">\n	<xf:if is=\"!$poll OR $poll.canEditDetails()\">\n		<xf:textboxrow\n			name=\"poll[question]\"\n			value=\"{{ $draft.question ?: $poll.question }}\"\n			maxlength=\"{{ max_length(\'XF:Poll\', \'question\') }}\"\n			rowtype=\"{$rowType}}\"\n			label=\"{{ phrase(\'question\') }}\" />\n\n	<xf:else />\n		<xf:formrow label=\"{{ phrase(\'question\') }}\" rowtype=\"{$rowType}}\">{$poll.question}</xf:formrow>\n	</xf:if>\n\n	<xf:set var=\"$responsesId\" value=\"{{ unique_id() }}\" />\n	<xf:formrow rowtype=\"input {$rowType}\"\n		label=\"{{ phrase(\'possible_responses\') }}\" labelid=\"{$responsesId}\">\n\n		<ul class=\"inputList\" role=\"group\" aria-labelledby=\"{$responsesId}\">\n			<xf:if is=\"$poll\">\n				<xf:foreach loop=\"$poll.Responses\" value=\"$response\">\n					<li>\n						<xf:if is=\"$poll.canEditDetails()\">\n							<xf:textbox name=\"poll[existing_responses][{$response.poll_response_id}]\"\n								value=\"{$response.response}\"\n								maxlength=\"{{ max_length(\'XF:PollResponse\', \'response\') }}\"\n								aria-label=\"{{ phrase(\'poll_choice\')|for_attr }}\"\n								placeholder=\"{{ phrase(\'poll_choice...\') }}\" />\n						<xf:else />\n							{$response.response}\n						</xf:if>\n					</li>\n				</xf:foreach>\n				<xf:set var=\"$remainingResponses\" value=\"{{ $xf.options.pollMaximumResponses - count($poll.responses) }}\" />\n			<xf:elseif is=\"$draft\" />\n				<xf:foreach loop=\"$draft.new_responses\" value=\"$response\" i=\"$count\" if=\"$response\">\n					<li>\n						<xf:textbox name=\"poll[new_responses][]\" value=\"{$response}\"\n							maxlength=\"{{ max_length(\'XF:PollResponse\', \'response\') }}\"\n							aria-label=\"{{ phrase(\'poll_choice\')|for_attr }}\"\n							placeholder=\"{{ phrase(\'poll_choice...\') }}\" />\n					</li>\n				</xf:foreach>\n				<xf:set var=\"$remainingResponses\" value=\"{{ $xf.options.pollMaximumResponses - $count }}\" />\n			<xf:else />\n				<xf:set var=\"$remainingResponses\" value=\"{$xf.options.pollMaximumResponses}\" />\n			</xf:if>\n			<xf:if is=\"$remainingResponses > 0\">\n				<li data-xf-init=\"field-adder\" data-remaining=\"{{ $remainingResponses - 1 }}\">\n					<xf:textbox name=\"poll[new_responses][]\" value=\"\"\n						maxlength=\"{{ max_length(\'XF:PollResponse\', \'response\') }}\"\n						aria-label=\"{{ phrase(\'poll_choice\')|for_attr }}\"\n						placeholder=\"{{ phrase(\'poll_choice...\') }}\" />\n				</li>\n			</xf:if>\n		</ul>\n	</xf:formrow>\n\n	<xf:radiorow name=\"poll[max_votes_type]\"\n		label=\"{{ phrase(\'maximum_selectable_responses\') }}\"\n		explain=\"{{ phrase(\'this_is_maximum_number_of_responses_voter_may_select_when_voting\') }}\"\n		rowtype=\"{$rowType}\">\n\n		<xf:if is=\"($draft AND $draft.max_votes_type == \'single\') OR !$poll OR $poll.max_votes == 1\">\n			<xf:option value=\"single\" selected=\"{{ ($draft AND $draft.max_votes_type == \'single\') OR (!$draft AND !$poll.poll_id) OR $poll.max_votes == 1 }}\"\n				label=\"{{ phrase(\'single_choice\') }}\" />\n		</xf:if>\n\n		<xf:option value=\"unlimited\" selected=\"{{ ($draft AND $draft.max_votes_type == \'unlimited\') OR $poll AND $poll.max_votes == 0 }}\"\n			label=\"{{ phrase(\'unlimited\') }}\" />\n\n		<xf:option value=\"number\" selected=\"{{ ($draft AND $draft.max_votes_value > 1) OR $poll.max_votes > 1 }}\">\n			<xf:numberbox name=\"poll[max_votes_value]\" min=\"1\" max=\"255\" value=\"{{ $draft.max_votes_value ?: ($poll.max_votes < 2 ? 2 : $poll.max_votes) }}\" />\n		</xf:option>\n	</xf:radiorow>\n\n	<xf:checkboxrow label=\"{{ phrase(\'options\') }}\" rowtype=\"{$rowType}\">\n		<xf:option name=\"poll[change_vote]\" selected=\"{{ ($draft AND $draft.change_vote) OR !$poll OR $poll.change_vote }}\">\n			{{ phrase(\'allow_voters_to_change_their_votes\') }}\n		</xf:option>\n\n		<xf:if is=\"!$poll OR $poll.canChangePollVisibility()\">\n			<xf:option name=\"poll[public_votes]\" selected=\"{{ ($draft AND $draft.public_votes) OR $poll AND $poll.public_votes }}\">\n				{{ phrase(\'display_votes_publicly\') }}\n			</xf:option>\n		</xf:if>\n\n		<xf:option name=\"poll[view_results_unvoted]\" selected=\"{{ ($draft AND $draft.view_results_unvoted) OR !$poll OR $poll.view_results_unvoted }}\">\n			{{ phrase(\'allow_results_to_be_viewed_without_voting\') }}\n		</xf:option>\n\n		<xf:if is=\"$poll AND $poll.close_date\">\n			<xf:option name=\"poll[remove_close]\" selected=\"{$poll.close_date}\">\n				{{ phrase(\'close_this_poll_on_x\', {\'close_date\': date_time($poll.close_date)}) }}\n			</xf:option>\n		<xf:else />\n			<xf:option name=\"poll[close]\"\n				selected=\"$draft AND $draft.close\"\n				label=\"{{ phrase(\'close_this_poll_after:\') }}\">\n\n				<xf:dependent>\n					<div class=\"inputGroup\">\n						<xf:numberbox name=\"poll[close_length]\" value=\"{{ ($draft AND $draft.close_length) ? $draft.close_length : 7 }}\" min=\"1\" max=\"365\" />\n						<span class=\"inputGroup-splitter\"></span>\n						<xf:select name=\"poll[close_units]\" class=\"input--autoSize\">\n							<xf:option value=\"hours\" selected=\"$draft AND $draft.close_units == \'hours\'\">{{ phrase(\'hours\') }}</xf:option>\n							<xf:option value=\"days\" selected=\"($draft AND $draft.close_units == \'days\') OR !$draft\">{{ phrase(\'days\') }}</xf:option>\n							<xf:option value=\"weeks\" selected=\"$draft AND $draft.close_units == \'weeks\'\">{{ phrase(\'weeks\') }}</xf:option>\n							<xf:option value=\"months\" selected=\"$draft AND $draft.close_units == \'months\'\">{{ phrase(\'months\') }}</xf:option>\n						</xf:select>\n					</div>\n				</xf:dependent>\n			</xf:option>\n		</xf:if>\n	</xf:checkboxrow>\n\n</xf:macro>\n\n<xf:macro id=\"delete_block\" arg-poll=\"!\">\n	<xf:form action=\"{{ $poll.getLink(\'delete\') }}\" class=\"block\" ajax=\"true\">\n		<div class=\"block-container\">\n			<div class=\"block-body\">\n				<h2 class=\"block-header\">{{ phrase(\'delete_poll\') }}</h2>\n\n				<xf:radiorow name=\"poll_action\">\n					<xf:option checked=\"1\">{{ phrase(\'do_nothing\') }}</xf:option>\n\n					<xf:if is=\"$poll.voter_count\">\n						<xf:option value=\"reset\">{{ phrase(\'reset_all_votes\') }}</xf:option>\n					</xf:if>\n\n					<xf:option value=\"remove\">{{ phrase(\'delete_entire_poll\') }}</xf:option>\n				</xf:radiorow>\n			</div>\n\n			<xf:redirect fallback=\"{{ $poll.getLink(\'content\') }}\" />\n			<xf:submitrow icon=\"delete\" />\n		</div>\n	</xf:form>\n</xf:macro>', 0x[encoded data, 228450 characters], 0x5846, 2030010, '2.3.0 Alpha', 1748686065);
