(()=>{var e={96:(e,t,o)=>{var i=o.g;(function(){!function(e){var t,o={className:"autosizejs",id:"autosizejs",append:"\n",callback:!1,resizeDelay:10,placeholder:!0},r=["fontFamily","fontSize","fontWeight","fontStyle","letterSpacing","textTransform","wordSpacing","textIndent","whiteSpace"],n=e('<textarea tabindex="-1"/>').data("autosize",!0)[0];n.style.cssText="position:absolute; top:-999px; left:0; right:auto; bottom:auto; border:0; padding: 0; -moz-box-sizing:content-box; -webkit-box-sizing:content-box; box-sizing:content-box; word-wrap:break-word; height:0 !important; min-height:0 !important; overflow:hidden; transition:none; -webkit-transition:none; -moz-transition:none;",n.style.lineHeight="99px","99px"===e(n).css("lineHeight")&&r.push("lineHeight"),n.style.lineHeight="",e.fn.autosize=function(a){return this.length?(a=e.extend({},o,a||{}),n.parentNode!==document.body&&e(document.body).append(n),this.each((function(){var o,s,l,c=this,u=e(c),d=0,h=e.isFunction(a.callback),p={height:c.style.height,overflow:c.style.overflow,overflowY:c.style.overflowY,wordWrap:c.style.wordWrap,resize:c.style.resize},f=u.width(),b=u.css("resize");function g(){var t,o=i.getComputedStyle?i.getComputedStyle(c,null):null;o?(t=parseFloat(o.width),"border-box"!==o.boxSizing&&"border-box"!==o.webkitBoxSizing&&"border-box"!==o.mozBoxSizing||e.each(["paddingLeft","paddingRight","borderLeftWidth","borderRightWidth"],(function(e,i){t-=parseFloat(o[i])}))):t=u.width(),n.style.width=Math.max(t,0)+"px"}function z(){var l,p;t!==c?function(){var s={};if(t=c,n.className=a.className,n.id=a.id,o=parseFloat(u.css("maxHeight")),e.each(r,(function(e,t){s[t]=u.css(t)})),e(n).css(s).attr("wrap",u.attr("wrap")),g(),i.chrome){var l=c.style.width;c.style.width="0px",c.offsetWidth,c.style.width=l}}():g(),!c.value&&a.placeholder?n.value=u.attr("placeholder")||"":n.value=c.value,n.value+=a.append||"",n.style.overflowY=c.style.overflowY,p=parseFloat(c.style.height)||0,n.scrollTop=0,n.scrollTop=9e4,l=n.scrollTop,o&&l>o?(c.style.overflowY="scroll",l=o):(c.style.overflowY="hidden",l<s&&(l=s)),l+=d,Math.abs(p-l)>.01&&(c.style.height=l+"px",n.className=n.className,h&&a.callback.call(c,c),u.trigger("autosize.resized"))}function w(){clearTimeout(l),l=setTimeout((function(){var e=u.width();e!==f&&(f=e,z())}),parseInt(a.resizeDelay,10))}u.data("autosize")||(u.data("autosize",!0),"border-box"!==u.css("box-sizing")&&"border-box"!==u.css("-moz-box-sizing")&&"border-box"!==u.css("-webkit-box-sizing")||(d=u.outerHeight()-u.height()),s=Math.max(parseFloat(u.css("minHeight"))-d||0,u.height()),u.css({overflow:"hidden",overflowY:"hidden",wordWrap:"break-word"}),"vertical"===b?u.css("resize","none"):"both"===b&&u.css("resize","horizontal"),"onpropertychange"in c?"oninput"in c?u.on("input.autosize keyup.autosize",z):u.on("propertychange.autosize",(function(){"value"===event.propertyName&&z()})):u.on("input.autosize",z),!1!==a.resizeDelay&&e(i).on("resize.autosize",w),u.on("autosize.resize",z),u.on("autosize.resizeIncludeStyle",(function(){t=null,z()})),u.on("autosize.destroy",(function(){t=null,clearTimeout(l),e(i).off("resize",w),u.off("autosize").off(".autosize").css(p).removeData("autosize")})),z())}))):this}}(jQuery||$)}).call(o.g)}},t={};function o(i){var r=t[i];if(void 0!==r)return r.exports;var n=t[i]={exports:{}};return e[i](n,n.exports,o),n.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";o(96)})()})();
//# sourceMappingURL=jquery-autosize.js.map