/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ "undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s}); window.CopyTheCodeToClipboard=(function(window,document,navigator){var textArea,copy;function isOS(){return navigator.userAgent.match(/ipad|iphone/i);} function createTextArea(text){textArea=document.createElement('textArea');textArea.value=text;document.body.appendChild(textArea);} function selectText(){var range,selection;if(isOS()){range=document.createRange();range.selectNodeContents(textArea);selection=window.getSelection();selection.removeAllRanges();selection.addRange(range);textArea.setSelectionRange(0,999999);}else{textArea.select();}} function copyToClipboard(){document.execCommand('copy');document.body.removeChild(textArea);if(copyTheCode.redirect_url){window.location.href=copyTheCode.redirect_url;}} copy=function(text){createTextArea(text);selectText();copyToClipboard();};return{copy:copy};})(window,document,navigator);(function($){CopyTheCode={selector:copyTheCode.settings.selector||copyTheCode.selector||'pre',button_position:copyTheCode.settings['button-position']||'inside',init:function(){this._bind();this._initialize();},_bind:function(){$(document).on('click','.copy-the-code-button',CopyTheCode.copyCode);$(document).on('click','.copy-the-code-shortcode',CopyTheCode.copyShortcode);},_initialize:function(){if(!$(copyTheCode.selectors).length){return;} $(copyTheCode.selectors).each(function(index,el){var button_copy_text=el['button_copy_text']||'';var button_position=el['button_position']||'';var button_text=el['button_text']||'';var button_title=el['button_title']||'';var selector=el['selector']||'';var style=el['style']||'';var copy_format=el['copy_format']||'';$(selector).each(function(index,single_selector){var buttonMarkup=CopyTheCode._getButtonMarkup(button_title,button_text,style);$(single_selector).addClass('copy-the-code-target');if('cover'!==style&&'outside'===button_position){$(single_selector).wrap('');$(single_selector).parent().prepend('
'+buttonMarkup+'
');}else{$(single_selector).wrap('');$(single_selector).append(buttonMarkup);} switch(style){case'svg-icon':$(single_selector).find('.copy-the-code-button').html(copyTheCode.buttonSvg);break;case'cover':case'button':default:$(single_selector).find('.copy-the-code-button').html(button_text);break;}});});},_getButtonMarkup:function(button_title,button_text,style){if('svg-icon'===style){button_text=copyTheCode.buttonSvg;} return'';},format:function(html){var tab='\t';var result='';var indent='';html.split(/>\s*\r\n';if(element.match(/^]*[^\/]$/)&&!element.startsWith("input")){indent+=tab;}});return result.substring(1,result.length-3);},copyShortcode:function(event){event.preventDefault();var btn=$(this),oldText=btn.html(),target=btn.attr('data-target')||'',copy_content_as=btn.attr('data-copy-as')||copyTheCode.copy_content_as,button_copy_text=btn.attr('data-button-copy-text')||'',content=btn.attr('data-content')||'',link=btn.attr('data-link')||'';if(content){CopyTheCodeToClipboard.copy(content);btn.text(button_copy_text);setTimeout(function(){btn.html(oldText);if(link){window.open(link,'_blank').focus()}},1000);return;} var source=$(target);if(!source.length){btn.text('Not found!');setTimeout(function(){btn.text(oldText);},1000);return;} var html=source.html();html=CopyTheCode.format(html);if('html'!==copy_content_as){var brRegex=//gi;html=html.replace(brRegex,"\n");var divRegex=//gi;html=html.replace(divRegex,"\n");var pRegex=//gi;html=html.replace(pRegex,"\n");var pRegex=//gi;html=html.replace(pRegex,"\n");html=html.replace(/(<([^>]+)>)/ig,'');} if('html'!==copy_content_as){html=html.replace(/[\t\n]+/gm,' ').trim();}else{var reWhiteSpace=new RegExp("/^\s+$/");html=html.replace(reWhiteSpace,"");} var tempElement=$("
");$("body").append(tempElement);html=$.trim(html);$('#temp-element').html(html);var html=$('#temp-element').html();$('#temp-element').remove();var tempHTML=html;var tempPre=$("