PageSourceSearch

https://www.pingflow.com/wp-content/cache/minify/b9c37.js

js pingflow.com collected 2026-10-04 13:29:45 UTC 24,270 bytes, 28 lines download raw bytes

1/**
2 * vivus - JavaScript library to make drawing animation on SVG
3 * @version v0.4.0
4 * @link https://github.com/maxwellito/vivus
5 * @license MIT
6 */
7"use strict";!function(t,e){function r(r){if("undefined"==typeof r)throw new Error('Pathformer [constructor]: "element" parameter is required');if(r.constructor===String&&(r=e.getElementById(r),!r))throw new Error('Pathformer [constructor]: "element" parameter is not related to an existing ID');if(!(r.constructor instanceof t.SVGElement||/^svg$/i.test(r.nodeName)))throw new Error('Pathformer [constructor]: "element" parameter must be a string or a SVGelement');this.el=r,this.scan(r)}function n(t,e,r){this.isReady=!1,this.setElement(t,e),this.setOptions(e),this.setCallback(r),this.isReady&&this.init()}r.prototype.TYPES=["line","ellipse","circle","polygon","polyline","rect"],r.prototype.ATTR_WATCH=["cx","cy","points","r","rx","ry","x","x1","x2","y","y1","y2"],r.prototype.scan=function(t){for(var e,r,n,i,a=t.querySelectorAll(this.TYPES.join(",")),s=0;s<a.length;s++)r=a[s],e=this[r.tagName.toLowerCase()+"ToPath"],n=e(this.parseAttr(r.attributes)),i=this.pathMaker(r,n),r.parentNode.replaceChild(i,r)},r.prototype.lineToPath=function(t){var e={},r=t.x1||0,n=t.y1||0,i=t.x2||0,a=t.y2||0;return e.d="M"+r+","+n+"L"+i+","+a,e},r.prototype.rectToPath=function(t){var e={},r=parseFloat(t.x)||0,n=parseFloat(t.y)||0,i=parseFloat(t.width)||0,a=parseFloat(t.height)||0;return e.d="M"+r+" "+n+" ",e.d+="L"+(r+i)+" "+n+" ",e.d+="L"+(r+i)+" "+(n+a)+" ",e.d+="L"+r+" "+(n+a)+" Z",e},r.prototype.polylineToPath=function(t){var e,r,n={},i=t.points.trim().split(" ");if(-1===t.points.indexOf(",")){var a=[];for(e=0;e<i.length;e+=2)a.push(i[e]+","+i[e+1]);i=a}for(r="M"+i[0],e=1;e<i.length;e++)-1!==i[e].indexOf(",")&&(r+="L"+i[e]);return n.d=r,n},r.prototype.polygonToPath=function(t){var e=r.prototype.polylineToPath(t);return e.d+="Z",e},r.prototype.ellipseToPath=function(t){var e={},r=parseFloat(t.rx)||0,n=parseFloat(t.ry)||0,i=parseFloat(t.cx)||0,a=parseFloat(t.cy)||0,s=i-r,o=a,h=parseFloat(i)+parseFloat(r),l=a;return e.d="M"+s+","+o+"A"+r+","+n+" 0,1,1 "+h+","+l+"A"+r+","+n+" 0,1,1 "+s+","+l,e},r.prototype.circleToPath=function(t){var e={},r=parseFloat(t.r)||0,n=parseFloat(t.cx)||0,i=parseFloat(t.cy)||0,a=n-r,s=i,o=parseFloat(n)+parseFloat(r),h=i;return e.d="M"+a+","+s+"A"+r+","+r+" 0,1,1 "+o+","+h+"A"+r+","+r+" 0,1,1 "+a+","+h,e},r.prototype.pathMaker=function(t,r){var n,i,a=e.createElementNS("http://www.w3.org/2000/svg","path");for(n=0;n<t.attributes.length;n++)i=t.attributes[n],-1===this.ATTR_WATCH.indexOf(i.name)&&a.setAttribute(i.name,i.value);for(n in r)a.setAttribute(n,r[n]);return a},r.prototype.parseAttr=function(t){for(var e,r={},n=0;n<t.length;n++){if(e=t[n],-1!==this.ATTR_WATCH.indexOf(e.name)&&-1!==e.value.indexOf("%"))throw new Error("Pathformer [parseAttr]: a SVG shape got values in percentage. This cannot be transformed into 'path' tags. Please use 'viewBox'.");r[e.name]=e.value}return r};var i,a,s;n.LINEAR=function(t){return t},n.EASE=function(t){return-Math.cos(t*Math.PI)/2+.5},n.EASE_OUT=function(t){return 1-Math.pow(1-t,3)},n.EASE_IN=function(t){return Math.pow(t,3)},n.EASE_OUT_BOUNCE=function(t){var e=-Math.cos(.5*t*Math.PI)+1,r=Math.pow(e,1.5),n=Math.pow(1-t,2),i=-Math.abs(Math.cos(2.5*r*Math.PI))+1;return 1-n+i*n},n.prototype.setElement=function(r,n){if("undefined"==typeof r)throw new Error('Vivus [constructor]: "element" parameter is required');if(r.constructor===String&&(r=e.getElementById(r),!r))throw new Error('Vivus [constructor]: "element" parameter is not related to an existing ID');if(this.parentEl=r,n&&n.file){var i=e.createElement("object");i.setAttribute("type","image/svg+xml"),i.setAttribute("data",n.file),i.setAttribute("built-by-vivus","true"),r.appendChild(i),r=i}switch(r.constructor){case t.SVGSVGElement:case t.SVGElement:this.el=r,this.isReady=!0;break;case t.HTMLObjectElement:var a,s;s=this,a=function(t){if(!s.isReady){if(s.el=r.contentDocument&&r.contentDocument.querySelector("svg"),!s.el&&t)throw new Error("Vivus [constructor]: object loaded does not contain any SVG");return s.el?(r.getAttribute("built-by-vivus")&&(s.parentEl.insertBefore(s.el,r),s.parentEl.removeChild(r),s.el.setAttribute("width","100%"),s.el.setAttribute("height","100%")),s.isReady=!0,s.init(),!0):void 0}},a()||r.addEventListener("load",a);break;default:throw new Error('Vivus [constructor]: "element" parameter is not val
7id (or miss the "file" attribute)')}},n.prototype.setOptions=function(e){var r=["delayed","sync","async","nsync","oneByOne","scenario","scenario-sync"],i=["inViewport","manual","autostart"];if(void 0!==e&&e.constructor!==Object)throw new Error('Vivus [constructor]: "options" parameter must be an object');if(e=e||{},e.type&&-1===r.indexOf(e.type))throw new Error("Vivus [constructor]: "+e.type+" is not an existing animation `type`");if(this.type=e.type||r[0],e.start&&-1===i.indexOf(e.start))throw new Error("Vivus [constructor]: "+e.start+" is not an existing `start` option");if(this.start=e.start||i[0],this.isIE=-1!==t.navigator.userAgent.indexOf("MSIE")||-1!==t.navigator.userAgent.indexOf("Trident/")||-1!==t.navigator.userAgent.indexOf("Edge/"),this.duration=s(e.duration,120),this.delay=s(e.delay,null),this.dashGap=s(e.dashGap,1),this.forceRender=e.hasOwnProperty("forceRender")?!!e.forceRender:this.isIE,this.reverseStack=!!e.reverseStack,this.selfDestroy=!!e.selfDestroy,this.onReady=e.onReady,this.map=[],this.frameLength=this.currentFrame=this.delayUnit=this.speed=this.handle=null,this.ignoreInvisible=e.hasOwnProperty("ignoreInvisible")?!!e.ignoreInvisible:!1,this.animTimingFunction=e.animTimingFunction||n.LINEAR,this.pathTimingFunction=e.pathTimingFunction||n.LINEAR,this.delay>=this.duration)throw new Error("Vivus [constructor]: delay must be shorter than duration")},n.prototype.setCallback=function(t){if(t&&t.constructor!==Function)throw new Error('Vivus [constructor]: "callback" parameter must be a function');this.callback=t||function(){}},n.prototype.mapping=function(){var e,r,n,i,a,o,h,l;for(l=o=h=0,r=this.el.querySelectorAll("path"),e=0;e<r.length;e++)n=r[e],this.isInvisible(n)||(a={el:n,length:Math.ceil(n.getTotalLength())},isNaN(a.length)?t.console&&console.warn&&console.warn("Vivus [mapping]: cannot retrieve a path element length",n):(this.map.push(a),n.style.strokeDasharray=a.length+" "+(a.length+2*this.dashGap),n.style.strokeDashoffset=a.length+this.dashGap,a.length+=this.dashGap,o+=a.length,this.renderPath(e)));for(o=0===o?1:o,this.delay=null===this.delay?this.duration/3:this.delay,this.delayUnit=this.delay/(r.length>1?r.length-1:1),this.reverseStack&&this.map.reverse(),e=0;e<this.map.length;e++){switch(a=this.map[e],this.type){case"delayed":a.startAt=this.delayUnit*e,a.duration=this.duration-this.delay;break;case"oneByOne":a.startAt=h/o*this.duration,a.duration=a.length/o*this.duration;break;case"sync":case"async":case"nsync":a.startAt=0,a.duration=this.duration;break;case"scenario-sync":n=a.el,i=this.parseAttr(n),a.startAt=l+(s(i["data-delay"],this.delayUnit)||0),a.duration=s(i["data-duration"],this.duration),l=void 0!==i["data-async"]?a.startAt:a.startAt+a.duration,this.frameLength=Math.max(this.frameLength,a.startAt+a.duration);break;case"scenario":n=a.el,i=this.parseAttr(n),a.startAt=s(i["data-start"],this.delayUnit)||0,a.duration=s(i["data-duration"],this.duration),this.frameLength=Math.max(this.frameLength,a.startAt+a.duration)}h+=a.length,this.frameLength=this.frameLength||this.duration}},n.prototype.drawer=function(){var t=this;if(this.currentFrame+=this.speed,this.currentFrame<=0)this.stop(),this.reset();else{if(!(this.currentFrame>=this.frameLength))return this.trace(),this.handle=i(function(){t.drawer()}),void 0;this.stop(),this.currentFrame=this.frameLength,this.trace(),this.selfDestroy&&this.destroy()}this.callback(this),this.instanceCallback&&(this.instanceCallback(this),this.instanceCallback=null)},n.prototype.trace=function(){var t,e,r,n;for(n=this.animTimingFunction(this.currentFrame/this.frameLength)*this.frameLength,t=0;t<this.map.length;t++)r=this.map[t],e=(n-r.startAt)/r.duration,e=this.pathTimingFunction(Math.max(0,Math.min(1,e))),r.progress!==e&&(r.progress=e,r.el.style.strokeDashoffset=Math.floor(r.length*(1-e)),this.renderPath(t))},n.prototype.renderPath=function(t){if(this.forceRender&&this.map&&this.map[t]){var e=this.map[t],r=e.el.cloneNode(!0);e.el.parentNode.replaceChild(r,e.el),e.el=r}},n.prototype.init=function(){this.frameLength=0,this.currentFrame=0,this.map=[],new r(this.el),this.mapping(),this.starter(),this.onReady&&this.onReady(this)},n.prototype.starter=function(){switch(this.start){case"manual":return;case"autostart":this.play();break;case"inViewport":var e=this,r=function(){e.isInViewport(e.parentEl,1)&&(e.play(),t.removeEventListener("scroll",r))};t.addEventListener("scroll",r),r()}},n.prototype.getStatus=function(){return 0===this.currentFrame?"start":this.currentFrame===this.frameLength?"end":"progress"},n.prototype.reset=function(){return this.setFrameProgress(0)},n.prototype.finish=function(){return this.setFrameProgress(1)},n.prototype.setFrameProgress=function(t){return t=Math.min(1,Math.max(0,t)),this.currentFrame=Math.round(this.frameLength*t),this.trace(),this},n.prototype.play=function(t,e){if(this.instanceCallback=null,t&&"function"==typeof t)this.instanceCallback=t,t=null;else if(t&&"number"!=typeof t)throw new Error("Vivus [play]: invali
7d speed");return e&&"function"==typeof e&&!this.instanceCallback&&(this.instanceCallback=e),this.speed=t||1,this.handle||this.drawer(),this},n.prototype.stop=function(){return this.handle&&(a(this.handle),this.handle=null),this},n.prototype.destroy=function(){this.stop();var t,e;for(t=0;t<this.map.length;t++)e=this.map[t],e.el.style.strokeDashoffset=null,e.el.style.strokeDasharray=null,this.renderPath(t)},n.prototype.isInvisible=function(t){var e,r=t.getAttribute("data-ignore");return null!==r?"false"!==r:this.ignoreInvisible?(e=t.getBoundingClientRect(),!e.width&&!e.height):!1},n.prototype.parseAttr=function(t){var e,r={};if(t&&t.attributes)for(var n=0;n<t.attributes.length;n++)e=t.attributes[n],r[e.name]=e.value;return r},n.prototype.isInViewport=function(t,e){var r=this.scrollY(),n=r+this.getViewportH(),i=t.getBoundingClientRect(),a=i.height,s=r+i.top,o=s+a;return e=e||0,n>=s+a*e&&o>=r},n.prototype.docElem=t.document.documentElement,n.prototype.getViewportH=function(){var e=this.docElem.clientHeight,r=t.innerHeight;return r>e?r:e},n.prototype.scrollY=function(){return t.pageYOffset||this.docElem.scrollTop},i=function(){return t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(e){return t.setTimeout(e,1e3/60)}}(),a=function(){return t.cancelAnimationFrame||t.webkitCancelAnimationFrame||t.mozCancelAnimationFrame||t.oCancelAnimationFrame||t.msCancelAnimationFrame||function(e){return t.clearTimeout(e)}}(),s=function(t,e){var r=parseInt(t,10);return r>=0?r:e},"function"==typeof define&&define.amd?define([],function(){return n}):"object"==typeof exports?module.exports=n:t.Vivus=n}(window,document);
8;!function a(n,r,o){function s(e,t){if(!r[e]){if(!n[e]){var i="function"==typeof require&&require;if(!t&&i)return i(e,!0);if(_)return _(e,!0);throw(t=new Error("Cannot find module '"+e+"'")).code="MODULE_NOT_FOUND",t}i=r[e]={exports:{}},n[e][0].call(i.exports,function(t){return s(n[e][1][t]||t)},i,i.exports,a,n,r,o)}return r[e].exports}for(var _="function"==typeof require&&require,t=0;t<o.length;t++)s(o[t]);return s}({1:[function(t,e,i){jQuery(function(f){function c(t){t=JSON.parse(t.attr("data-config"));return"on_hover"===t.animation_start?f.extend({},t,{repeat_mode:"infinite",animation_repeat_counts:"1"}):t}function r(t){var e=t.data("hoverLeaveReverseTimer"),e=(e&&(clearTimeout(e),t.removeData("hoverLeaveReverseTimer")),t.data("totalIntervalTimer")),e=(e&&(clearInterval(e),t.removeData("totalIntervalTimer")),t.data("vivussPlayTimer")),e=(e&&(clearTimeout(e),t.removeData("vivussPlayTimer")),t.data("vivusReversePlayTimer"));e&&(clearTimeout(e),t.removeData("vivusReversePlayTimer"))}function m(t,e){var i,e=t.waypoint(e);e&&0<e.length&&(t.data("et_waypoint")||t.data("et_waypoint",e[0]),(i=t.data("dipi_th_waypoint_instances")||[]).push(e[0]),t.data("dipi_th_waypoint_instances",i))}f.fn.dipi_text_highlighter=function(t){var e=f(this),i=f(this).find(".dipi-highlight-text-wrapper"),a=c(i),n="svg-".concat(a.id),r=f(this).find(".dipi-text-highlight-svg > svg");if(r.attr("id",n),"no"!==a.repeat_mode){var o,s,r=new Vivus(n,{type:"oneByOne",duration:parseInt(a.animation_duration,10)/15,start:"manual",pathTimingFunction:Vivus.EASE,animTimingFunction:Vivus.EASE,forceRender:/^((?!chrome|android).)*(msie|edge|trident|safari)/i.test(window.navigator.userAgent)});if(i.data("Vivus")||i.data("Vivus",r),"in_loading"===a.animation_start)e.dipi_text_highlighter_update();else if("on_hover"===a.animation_start){var n=e.find(".dipi-text-highlight-wrapper"),r=i.data("Vivus");r&&r.reset(),n.off("mouseenter.dipiTextHighlighterHover mouseleave.dipiTextHighlighterHover").on("mouseenter.dipiTextHighlighterHover",function(){e.stop_animation(),e.dipi_text_highlighter_update()}).on("mouseleave.dipiTextHighlighterHover",function(){e.dipi_text_highlighter_hover_leave()})}else if(f.fn.waypoint){var _=function(t){e.dipi_text_highlighter_update({waypoint_direction:t})},r=a.animation_start_viewport,d="string"!=typeof(n=r)||!(d=String(n).trim().match(/^([\d.]+)\s*%$/))||(d=parseFloat(d[1],10),isNaN(d))?n:(n=100<(n=(n=100-d)<0?0:n)?100:n)+"%",p=(n=d,o=u(h=r),s=u(n),(null===o||null===s?String(h)===String(n):Math.abs(o-s)<.001)?m(e,{offset:r,handler:function(t){"down"!==t&&"up"!==t||_(t)}}):(m(e,{offset:r,handler:function(t){"down"===t&&_(t)}}),m(e,{offset:d,handler:function(t){"up"===t&&_(t)}})),m(e,{offset:"bottom-in-view",handler:function(t){"up"===t&&_(t)}}),e),v=i,h=a,n=p.data("dipi_th_viewport_io");if(n){try{n.disconnect()}catch(t){}p.removeData("dipi_th_viewport_io")}"in_a_viewport"===h.animation_start&&"everytime_in_viewport"===h.count_mode&&(v.data("dipi_th_ready_to_play",!0),"undefined"!=typeof IntersectionObserver)&&((n=new IntersectionObserver(function(t){t.forEach(function(t){t.isIntersecting||(p.stop_animation(),(t=v.data("Vivus"))&&t.reset(),v.removeData("animation_repeat_counts"),v.removeData("playingback"),v.data("dipi_th_ready_to_play",!0))})},{threshold:0,root:null})).observe(p[0]),p.data("dipi_th_viewport_io",n))}}function u(t){return"string"==typeof t&&(t=String(t).trim().match(/^([\d.]+)\s*%$/))?parseFloat(t[1],10):null}},f.fn.dipi_text_highlighter_update=function(t){f(this);var e=f(this).find(".dipi-highlight-text-wrapper"),i=c(e),a=e.data("Vivus"),n=parseInt(i.animation_delay),r=parseInt(i.animation_duration),o=parseInt(i.delay_after_animation),s=i.count_mode,_=parseInt(i.animation_repeat_counts),d=e.data("animation_repeat_counts"),p="cumulative"===s&&void 0!==d?d:_,v=e.data("totalIntervalTimer"),h=e.data("vivussPlayTimer"),u=e.data("vivusReversePlayTimer"),d=e.data("dipi_th_ready_to_play");function m(){a.play(-1),e.data("playingback",!0)}function l(){try{"definite"===i.repeat_mode&&p<=0?(clearInterval(v),v=0,e.removeData("totalIntervalTimer")):(h=setTimeout(function(){if("end"===a.getStatus()){if("definite"===i.repeat_mode&&(p-=1,e.data("animation_repeat_counts",p),p<=0))return;a.reset()}"on"===i.reverse_animation&&e.data("playingback")&&"start"===a.getStatus()&&"definite"===i.repeat_mode&&(e.data("playingback",!1),p-=1,e.data("animation_repeat_counts",p),p<=0)||(a.play(),"on"===i.reverse_animation&&"on_hover"!==i.animation_start&&("infinite"===i.repeat_mode||"definite"===i.repeat_mode&&1<p)&&
8(u=setTimeout(m,r+o),e.data("vivusReversePlayTimer",u)))},n),e.data("vivussPlayTimer",h))}catch(t){console.error("Error in dipi_text_highlighter_update:",t)}}v&&(clearInterval(v),v=0),"no"!==i.repeat_mode&&(_=r+o,"on"===i.reverse_animation&&"on_hover"!==i.animation_start&&(_+=n+r+1e3),"in_a_viewport"!==i.animation_start||"everytime_in_viewport"!==s||!1!==d)&&(!t||"down"!==t.waypoint_direction&&"up"!==t.waypoint_direction||"in_a_viewport"!==i.animation_start||"definite"!==i.repeat_mode||"everytime_in_viewport"!==s||(e.removeData("animation_repeat_counts"),e.removeData("playingback"),a&&"start"!==a.getStatus()&&a.reset()),"in_a_viewport"===i.animation_start&&"everytime_in_viewport"===s&&e.data("dipi_th_ready_to_play",!1),l(),1<p)&&(v=setInterval(function(){l()},_),e.data("totalIntervalTimer",v))},f.fn.dipi_text_highlighter_hover_leave=function(){var t=f(this),i=t.find(".dipi-highlight-text-wrapper"),e=c(i),a=i.data("Vivus");if(a){if("on_hover"===e.animation_start)return r(i),i.removeData("playingback"),"end"!==(n=a.getStatus())&&"progress"!==n?void 0:(n=parseInt(e.delay_after_animation,10),(isNaN(n)||n<0)&&(n=0),n=setTimeout(function(){i.removeData("hoverLeaveReverseTimer");var t,e=i.data("Vivus");!e||"end"!==(t=e.getStatus())&&"progress"!==t||e.play(-1)},n),void i.data("hoverLeaveReverseTimer",n));t.stop_animation(),i.removeData("playingback");var n=a.getStatus();"on"===e.reverse_animation?"end"!==n&&"progress"!==n||a.play(-1):"start"!==n&&a.reset()}},f.fn.stop_animation=function(t){f(this);var e=f(this).find(".dipi-highlight-text-wrapper"),i=e.data("Vivus");r(e),i&&i.stop()},f.fn.dipi_text_highlighter_destroy=function(t){var e=f(this),i=f(this).find(".dipi-highlight-text-wrapper"),a=e.data("dipi_th_viewport_io");if(a){try{a.disconnect()}catch(t){}e.removeData("dipi_th_viewport_io")}e.find(".dipi-text-highlight-wrapper").off("mouseenter.dipiTextHighlighterHover mouseleave.dipiTextHighlighterHover"),this.stop_animation(),e.find(".resize-sensor").remove(),i.removeData("Vivus"),i.removeData("dipi_th_ready_to_play");a=e.data("dipi_th_waypoint_instances");a&&a.length&&a.forEach(function(t){try{t&&"function"==typeof t.destroy&&t.destroy()}catch(t){}}),e.removeData("dipi_th_waypoint_instances"),e.removeData("et_waypoint")},f(".dipi_text_highlighter").each(function(){f(this).dipi_text_highlighter()})})},{}]},{},[1]);
9;!function(o){const n=(t,e)=>({enterEffect:t,effect:e.attr(t?"data-effect-in":"data-effect-out"),intensity:parseInt(e.attr(t?"data-intensity-in":"data-intensity-out")),opacity:e.attr("data-effect-opacity"),duration:parseInt(e.attr("data-effect-ms"))}),e=(o.fn.ddb_popup_init=function(){return this.each(function(){var t,e;o(this).closest(".ddb-mobile-menu").length?o(this).remove():(t=(t=>{let e="#page-container";return t.closest("#main-content .et-l--body").length?e="#main-content .et-l--body":t.closest("header.et-l--header").length?e="header.et-l--header":t.closest("footer.et-l--footer").length?e="footer.et-l--footer":t.closest("#main-content .et-l--post").length?e="#main-content .et-l--post":o("#main-content .et-l--body").length?e="#main-content .et-l--body":o("header.et-l--header").length?e="header.et-l--header":o("footer.et-l--footer").length?e="footer.et-l--footer":o("#main-content .et-l--post").length&&(e="#main-content .et-l--post"),o(e)})(o(this)),e=o(this).detach(),t.children("#"+o(this).attr("id")).remove(),t.prepend(e),o(this).attr("data-load")&&o(this).ddb_popup_open(o(this).attr("id"),o(this).attr("data-delay")),o(this).attr("data-element-class")&&o("."+o(this).attr("data-element-class")).addClass("ddb-popup-item"))}),this},o.fn.ddb_popup_maybe_open=function(e){const d=o(e.target);return this.each(function(){var t=o(this).attr("data-element-class");t&&d.closest("."+t).length&&!o(".ddb-popup-c.ddb-ff").length&&(e.preventDefault(),o(this).ddb_popup_open(o(this).attr("id"),o(this).attr("data-delay")))}),this},o.fn.ddb_popup_open=function(t,e){const a=parseInt(e);return this.each(function(){if(o(this).attr("id")===t){const e=o(this),d=n(!0,o(this));setTimeout(function(){var t=e.children(".ddb-popup");e.hasClass("ddb-item-popup")?(($trigger_item=o("."+e.attr("data-element-class"))).ddb_handle_item_state("open"),t.ddb_animate({...d,triggerItem:$trigger_item})):t.ddb_animate(d),o("body").addClass(e.hasClass("ddb-disable-page-scroll")?"ddb-popup-active ddb-popup-active--disable-page-scroll":"ddb-popup-active").trigger("dondivi-p
9opup"),e.addClass("ddb-ff").ddb_init_modules()},a)}}),this},o.fn.ddb_popup_close=function(){var t;return this.length&&(t=n(!1,this),this.hasClass("ddb-item-popup")?($trigger_item=o("."+this.attr("data-element-class")),this.children(".ddb-popup").ddb_animate({...t,triggerItem:$trigger_item},e)):this.children(".ddb-popup").ddb_animate(t,e)),this},(t,e)=>{t.parent().removeClass("ddb-ff").hide(),e.triggerItem&&e.triggerItem.ddb_handle_item_state("close"),o("body").removeClass("ddb-popup-active ddb-popup-active--disable-page-scroll")})}(jQuery),jQuery(function(d){d(".ddb-popup-c:not(.dds-popup-c)").ddb_popup_init(),d(document).on("mouseenter",".ddb-popup-item",function(t){d(".ddb-popup-c.ddb-show-hover").ddb_popup_maybe_open(t)}),d(document).on("click keydown",function(t){var e;("keydown"!==t.type||"Enter"===t.key)&&(e=d(t.target),d(".ddb-popup-c:not(.dds-popup-c)").ddb_popup_maybe_open(t),e.is(".ddb-popup-icon")||d(".ddb-popup-c.ddb-ff:not(.ddb-c-btn)").length&&!e.parents().is(".ddb-item, .ddb-popup, .mfp-wrap"))&&d(".ddb-popup-c.ddb-ff").ddb_popup_close()}),d(document).on("mouseout",function(t){d(".ddb-popup-c:not(.dds-popup-c)").each(function(){t.toElement||t.relatedTarget||!d(this).attr("data-exit-intent")||d(this).removeAttr("data-exit-intent").ddb_popup_open(d(this).attr("id"),d(this).attr("data-delay"))})}),d(window).on("scroll",function(){d(".ddb-popup-c:not(.dds-popup-c)").each(function(){d(this).attr("data-page-scroll")&&parseInt(d(this).attr("data-page-scroll"))<=parseInt(d(window).scrollTop()/(d(document).height()-d(window).height())*100)&&d(this).removeAttr("data-page-scroll").ddb_popup_open(d(this).attr("id"),d(this).attr("data-delay"))})})});
10;;
11/*!
12* FitVids 1.1
13*
14* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
15* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
16* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
17*
18*/
19(function($){'use strict';$.fn.fitVids=function(options){var settings={customSelector:null,ignore:null};if(!document.getElementById('fit-vids-style')){var head=document.head||document.getElementsByTagName('head')[0];var css='.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}';var div=document.createElement("div");div.innerHTML='<p>x</p><style id="fit-vids-style">'+css+'</style>';head.appendChild(div.childNodes[1]);}
20if(options){$.extend(settings,options);}
21return this.each(function(){var selectors=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]','object','embed'];if(settings.customSelector){selectors.push(settings.customSelector);}
22var ignoreList='.fitvidsignore';if(settings.ignore){ignoreList=ignoreList+', '+settings.ignore;}
23var $allVideos=$(this).find(selectors.join(','));$allVideos=$allVideos.not('object object');$allVideos=$allVideos.not(ignoreList);$allVideos.each(function(){var $this=$(this);if($this.parents(ignoreList).length>0){return;}
24if(this.tagName.toLowerCase()==='embed'&&$this.parent('object').length||$this.parent('.fluid-width-video-wrapper').length){return;}
25if((!$this.css('height')&&!$this.css('width'))&&(isNaN($this.attr('height'))||isNaN($this.attr('width'))))
26{$this.attr('height',9);$this.attr('width',16);}
27var height=(this.tagName.toLowerCase()==='object'||($this.attr('height')&&!isNaN(parseInt($this.attr('height'),10))))?parseInt($this.attr('height'),10):$this.height(),width=!isNaN(parseInt($this.attr('width'),10))?parseInt($this.attr('width'),10):$this.width(),aspectRatio=height/width;if(!$this.attr('name')){var videoName='fitvid'+$.fn.fitVids._count;$this.attr('name',videoName);$.fn.fitVids._count++;}
28$this.wrap('<div class="fluid-width-video-wrapper"></div>').parent('.fluid-width-video-wrapper').css('padding-top',(aspectRatio*100)+'%');$this.removeAttr('height').removeAttr('width');});});};$.fn.fitVids._count=0;})(window.jQuery||window.Zepto);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.