/*! For license information please see vd_splitlines.js.LICENSE.txt */
!function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=27)}({27:function(t,e){!function(t){function e(t){return t.clone().css({position:"absolute"})}function n(t){return t.split(/\s+/)}function r(e,n,r){var o=t(e='<div class="stop">'+e).find('*:not(:has("*"))').html(n).closest(".stop").slice(-1);return o.children().each((function(t,e){e.style.setProperty("--line-index",r)})),o.html()}t.fn.splitLines=function(o){var l={width:"auto",tag:"<div>",wrap:"",keepHtml:!0};o&&t.extend(l,o);var i=e(this),u=this.contents(),a=this.text();this.append(i),i.text("42");var h=i.height()+2;i.empty();var p=e(i),s=l.width;"auto"===l.width&&(s=this[0].offsetWidth),p.width(s),this.append(p);var f,c=l.keepHtml?function e(r){for(var o,l=[],i=0;i<r.length;i++)if("BR"!==r[i].nodeName){if(3==r[i].nodeType)o=n(r[i].textContent||r[i].toString());else{var u=t(r[i]).clone();o=e(u.contents());for(var a=0;a<o.length;a++)u.empty(),o[a]=u.html(o[a]).wrap("<p></p>").parent().html()}for(var h=0;h<o.length;h++)""!==o[h]&&l.push(o[h])}else l.push("<br>");return l}(u):n(a);u.length&&(u[0]&&"I"===u[0].nodeName&&c.unshift(u[0].outerHTML),u.length>1&&u[u.length-1]&&"I"===u[u.length-1].nodeName&&c.push(u[u.length-1].outerHTML));for(var d=0,m=0;m<c.length;m++){var g=p.html();p.html(g+c[m]+" "),p.html()!=f?p.height()>h&&(f=p.html(),p.html(g),i.append(r(l.tag,p.html(),d)),p.html(""),m--,d++):(f="",i.append(r(l.tag,p.html(),d)),p.html(""))}i.append(r(l.tag,p.html(),d)),this.html(i.html())}}(jQuery)}});
//# sourceMappingURL=vd_splitlines.js.map