<commit_before><addon addon_id="s9e" title="s9e Media Pack" url="https://xenforo.com/community/resources/s9e-media-bbcodes-pack.2476/" version_id="201511071" version_string="20151107b" install_callback_class="s9e_MediaBBCodes" install_callback_method="install" uninstall_callback_class="s9e_MediaBBCodes" uninstall_callback_method="uninstall">
  <bb_code_media_sites/>
  <phrases>
    <phrase title="option_group_s9e" version_id="1" version_string="1">s9e Media Pack</phrase>
    <phrase title="option_s9e_footer" version_id="1" version_string="1">Show your support</phrase>
    <phrase title="option_s9e_footer_explain" version_id="1" version_string="1">You may also choose to support the author directly with a voluntary donation in USD or in EUR.&lt;br&gt;&lt;a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;amp;hosted_button_id=ABGFV5AGE98AG"&gt;&lt;img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG_global.gif" alt="Donate in USD" title="Donate in USD"&gt;&lt;a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=6P6985GT2DLGL"&gt;&lt;img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG_global.gif" alt="Donate in EUR" title="Donate in EUR"&gt;&lt;/a&gt;</phrase>
    <phrase title="option_group_s9e_description" version_id="1" version_string="1">Configure the s9e media sites</phrase>
    <phrase title="option_s9e_media_tags" version_id="1" version_string="1">Categories of media sites to install</phrase>
    <phrase title="option_s9e_media_tags_explain" version_id="1" version_string="1">&lt;a href="http://s9e.github.io/XenForoMediaBBCodes/tags.html" target="_blank"&gt;List of optional sites enabled by each category&lt;/a&gt;</phrase>
    <phrase title="option_s9e_custom_callbacks" version_id="1" version_string="1">Custom callbacks</phrase>
    <phrase title="option_s9e_custom_callbacks_explain" version_id="1" version_string="1">&lt;a href="https://github.com/s9e/XenForoMediaBBCodes/blob/master/docs/CustomCallbacks.md" target="_blank" style="cursor:help"&gt;Help&lt;/a&gt;</phrase>
    <phrase title="option_s9e_custom_dimensions" version_id="1" version_string="1">Custom dimensions</phrase>
    <phrase title="option_s9e_custom_dimensions_explain" version_id="1" version_string="1">&lt;i&gt;Deprecated&lt;/i&gt;</phrase>
    <phrase title="option_s9e_excluded_sites" version_id="1" version_string="1">Excluded sites</phrase>
    <phrase title="option_s9e_excluded_sites_explain" version_id="1" version_string="1">Comma-separated list of sites not to install</phrase>
    <phrase title="option_s9e_lazy_loading" version_id="1" version_string="1">Performance</phrase>
    <phrase title="option_s9e_lazy_loading_explain" version_id="1" version_string="1">Deferring the loading of embedded content makes pages load faster and use less memory.</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG" version_id="1" version_string="1">AMAZON_ASSOCIATE_TAG</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_explain" version_id="1" version_string="1"/>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_CA" version_id="1" version_string="1">AMAZON_ASSOCIATE_TAG_CA</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_CA_explain" version_id="1" version_string="1"/>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_DE" version_id="1" version_string="1">AMAZON_ASSOCIATE_TAG_DE</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_DE_explain" version_id="1" version_string="1"/>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_ES" version_id="1" version_string="1">AMAZON_ASSOCIATE_TAG_ES</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_ES_explain" version_id="1" version_string="1"/>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_FR" version_id="1" version_string="1">AMAZON_ASSOCIATE_TAG_FR</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_FR_explain" version_id="1" version_string="1"/>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_IT" version_id="1" version_string="1">AMAZON_ASSOCIATE_TAG_IT</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_IT_explain" version_id="1" version_string="1"/>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_JP" version_id="1" version_string="1">AMAZON_ASSOCIATE_TAG_JP</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_JP_explain" version_id="1" version_string="1"/>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_UK" version_id="1" version_string="1">AMAZON_ASSOCIATE_TAG_UK</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_UK_explain" version_id="1" version_string="1"/>
  </phrases>
  <public_template_modifications>
    <modification action="preg_replace" description="Fixes responsive embeds in XenForo Media Gallery" enabled="1" execution_order="10" modification_key="s9e_xmg_fix" template="xengallery_media_view.css">
      <find>(^)</find>
      <replace>.videoContainer&gt;[data-s9e-mediaembed]
{
	max-width:100%!important;
}

</replace>
    </modification>
    <modification action="preg_replace" description="Fixes responsive embeds in XenForo Media Gallery's lightbox" enabled="1" execution_order="10" modification_key="s9e_lightbox_fix" template="xengallery_media_preview.css">
      <find>(^)</find>
      <replace>.mfp-iframe-scaler&gt;div[data-s9e-mediaembed]&gt;div&gt;iframe
{
	position: fixed !important;
}

</replace>
    </modification>
    <modification action="str_replace" description="Adds a link back to s9e Media Pack" enabled="1" execution_order="10" modification_key="s9e_footer" template="footer">
      <find>{xen:phrase extra_copyright}</find>
      <replace> | &lt;a class="concealed" href="https://xenforo.com/community/resources/s9e-media-bbcodes-pack.2476/" title="Media BBCodes provided by s9e Media Pack 20151107b"&gt;Media embeds by s9e&lt;/a&gt;$0</replace>
    </modification>
    <modification action="preg_replace" description="Defers the loading of embedded content" enabled="0" execution_order="10" modification_key="s9e_lazy_loading" template="ad_thread_view_below_messages"><commit_msg>Bumped version<commit_after><addon addon_id="s9e" title="s9e Media Pack" url="https://xenforo.com/community/resources/s9e-media-bbcodes-pack.2476/" version_id="201511080" version_string="20151108" install_callback_class="s9e_MediaBBCodes" install_callback_method="install" uninstall_callback_class="s9e_MediaBBCodes" uninstall_callback_method="uninstall">
  <bb_code_media_sites/>
  <phrases>
    <phrase title="option_group_s9e" version_id="1" version_string="1">s9e Media Pack</phrase>
    <phrase title="option_s9e_footer" version_id="1" version_string="1">Show your support</phrase>
    <phrase title="option_s9e_footer_explain" version_id="1" version_string="1">You may also choose to support the author directly with a voluntary donation in USD or in EUR.&lt;br&gt;&lt;a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;amp;hosted_button_id=ABGFV5AGE98AG"&gt;&lt;img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG_global.gif" alt="Donate in USD" title="Donate in USD"&gt;&lt;a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=6P6985GT2DLGL"&gt;&lt;img src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG_global.gif" alt="Donate in EUR" title="Donate in EUR"&gt;&lt;/a&gt;</phrase>
    <phrase title="option_group_s9e_description" version_id="1" version_string="1">Configure the s9e media sites</phrase>
    <phrase title="option_s9e_media_tags" version_id="1" version_string="1">Categories of media sites to install</phrase>
    <phrase title="option_s9e_media_tags_explain" version_id="1" version_string="1">&lt;a href="http://s9e.github.io/XenForoMediaBBCodes/tags.html" target="_blank"&gt;List of optional sites enabled by each category&lt;/a&gt;</phrase>
    <phrase title="option_s9e_custom_callbacks" version_id="1" version_string="1">Custom callbacks</phrase>
    <phrase title="option_s9e_custom_callbacks_explain" version_id="1" version_string="1">&lt;a href="https://github.com/s9e/XenForoMediaBBCodes/blob/master/docs/CustomCallbacks.md" target="_blank" style="cursor:help"&gt;Help&lt;/a&gt;</phrase>
    <phrase title="option_s9e_custom_dimensions" version_id="1" version_string="1">Custom dimensions</phrase>
    <phrase title="option_s9e_custom_dimensions_explain" version_id="1" version_string="1">&lt;i&gt;Deprecated&lt;/i&gt;</phrase>
    <phrase title="option_s9e_excluded_sites" version_id="1" version_string="1">Excluded sites</phrase>
    <phrase title="option_s9e_excluded_sites_explain" version_id="1" version_string="1">Comma-separated list of sites not to install</phrase>
    <phrase title="option_s9e_lazy_loading" version_id="1" version_string="1">Performance</phrase>
    <phrase title="option_s9e_lazy_loading_explain" version_id="1" version_string="1">Deferring the loading of embedded content makes pages load faster and use less memory.</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG" version_id="1" version_string="1">AMAZON_ASSOCIATE_TAG</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_explain" version_id="1" version_string="1"/>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_CA" version_id="1" version_string="1">AMAZON_ASSOCIATE_TAG_CA</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_CA_explain" version_id="1" version_string="1"/>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_DE" version_id="1" version_string="1">AMAZON_ASSOCIATE_TAG_DE</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_DE_explain" version_id="1" version_string="1"/>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_ES" version_id="1" version_string="1">AMAZON_ASSOCIATE_TAG_ES</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_ES_explain" version_id="1" version_string="1"/>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_FR" version_id="1" version_string="1">AMAZON_ASSOCIATE_TAG_FR</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_FR_explain" version_id="1" version_string="1"/>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_IT" version_id="1" version_string="1">AMAZON_ASSOCIATE_TAG_IT</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_IT_explain" version_id="1" version_string="1"/>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_JP" version_id="1" version_string="1">AMAZON_ASSOCIATE_TAG_JP</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_JP_explain" version_id="1" version_string="1"/>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_UK" version_id="1" version_string="1">AMAZON_ASSOCIATE_TAG_UK</phrase>
    <phrase title="option_s9e_AMAZON_ASSOCIATE_TAG_UK_explain" version_id="1" version_string="1"/>
  </phrases>
  <public_template_modifications>
    <modification action="preg_replace" description="Fixes responsive embeds in XenForo Media Gallery" enabled="1" execution_order="10" modification_key="<KEY>" template="xengallery_media_view.css">
      <find>(^)</find>
      <replace>.videoContainer&gt;[data-s9e-mediaembed]
{
	max-width:100%!important;
}

</replace>
    </modification>
    <modification action="preg_replace" description="Fixes responsive embeds in XenForo Media Gallery's lightbox" enabled="1" execution_order="10" modification_key="s9e_lightbox_fix" template="xengallery_media_preview.css">
      <find>(^)</find>
      <replace>.mfp-iframe-scaler&gt;div[data-s9e-mediaembed]&gt;div&gt;iframe
{
	position: fixed !important;
}

</replace>
    </modification>
    <modification action="str_replace" description="Adds a link back to s9e Media Pack" enabled="1" execution_order="10" modification_key="s9e_footer" template="footer">
      <find>{xen:phrase extra_copyright}</find>
      <replace> | &lt;a class="concealed" href="https://xenforo.com/community/resources/s9e-media-bbcodes-pack.2476/" title="Media BBCodes provided by s9e Media Pack 20151108"&gt;Media embeds by s9e&lt;/a&gt;$0</replace>
    </modification>
    <modification action="preg_replace" description="Defers the loading of embedded content" enabled="0" execution_order="10" modification_key="s9e_lazy_loading" template="ad_thread_view_below_messages">
{'fraction_non_alphanumeric': 0.1351284787784254, 'fraction_numerical': 0.02733765700681389, 'mean_word_length': 8.592125984251968, 'pattern_counts': {'":': 0, '<': 156, '<?xml version=': 0, '>': 156, 'https://': 14, 'lorem ipsum': 0, 'www.': 8, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '614059', 'n_tokens_mistral': 4590, 'n_tokens_neox': 4420, 'n_words': 602}