text: !function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:i})},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 i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)n.d(i,r,function(e){return t[e]}.bind(null,r));return i},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="/dist",n(n.s=5)}([function(t,e){t.exports=jQuery},function(t,e,n){var i=n(2);"string"==typeof i&&(i=[[t.i,i,""]]);var r={insert:"head",singleton:!1};n(4)(i,r);i.locals&&(t.exports=i.locals)},function(t,e,n){(t.exports=n(3)(!1)).push([t.i,"@charset \"UTF-8\";\n.simple-resize {\n  position: relative; }\n  .simple-resize-top, .simple-resize-bottom {\n    position: absolute;\n    width: 100%;\n    height: 6px;\n    cursor: s-resize; }\n  .simple-resize-top {\n    top: -3px;\n    left: 0; }\n  .simple-resize-bottom {\n    left: 0;\n    bottom: -3px; }\n  .simple-resize-left, .simple-resize-right {\n    position: absolute;\n    width: 6px;\n    height: 100%;\n    cursor: e-resize; }\n  .simple-resize-left {\n    top: 0;\n    left: -3px; }\n  .simple-resize-right {\n    top: 0;\n    right: -3px; }\n  .simple-resize-top-left, .simple-resize-top-right, .simple-resize-bottom-left, .simple-resize-bottom-right {\n    position: absolute;\n    width: 1em;\n    height: 1em;\n    color: #ddd;\n    text-align: center; }\n    .simple-resize-top-left:after, .simple-resize-top-right:after, .simple-resize-bottom-left:after, .simple-resize-bottom-right:after {\n      content: '\\2877'; }\n  .simple-resize-top-left {\n    left: -.36em;\n    top: .08em;\n    transform: rotate(225deg);\n    cursor: se-resize; }\n  .simple-resize-top-right {\n    right: .08em;\n    top: -.36em;\n    transform: rotate(-45deg);\n    cursor: sw-resize; }\n  .simple-resize-bottom-left {\n    left: .08em;\n    bottom: -.36em;\n    transform: rotate(135deg);\n    cursor: ne-resize; }\n  .simple-resize-bottom-right {\n    right: -.36em;\n    bottom: .08em;\n    transform: rotate(45deg);\n    cursor: nw-resize; }\n  .simple-resize-outer-top, .simple-resize-outer-bottom {\n    border: 1px solid #ccc;\n    background-color: #d3d3d3;\n    height: 3px;\n    cursor: s-resize; }\n  .simple-resize-outer-left, .simple-resize-outer-right {\n    border: 1px solid #ccc;\n    background-color: #d3d3d3;\n    width: 3px;\n    cursor: e-resize; }\n",""])},function(t,e){t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var n=function(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"==typeof btoa){var r=(s=i,"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(s))))+" */"),o=i.sources.map((function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"}));return[n].concat(o).concat([r]).join("\n")}var s;return[n].join("\n")}(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n})).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var i={},r=0;r<this.length;r++){var o=this[r][0];"number"==typeof o&&(i[o]=!0)}for(r=0;r<t.length;r++){var s=t[r];"number"==typeof s[0]&&i[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},function(t,e,n){"use strict";var i,r={},o=function(){return void 0===i&&(i=Boolean(window&&document&&document.all&&!window.atob)),i},s=function(){var t={};return function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(t){n=null}t[e]=n}return t[e]}}();function a(t,e){for(var n=[],i={},r=0;r<t.length;r++){var o=t[r],s=e.base?o[0]+e.base:o[0],a={css:o[1],media:o[2],sourceMap:o[3]};i[s]?i[s].parts.push(a):n.push(i[s]={id:s,parts:[a]})}return n}function u(t,e){for(var n=0;n<t.length;n++){var i=t[n],o=r[i.id],s=0;if(o){for(o.refs++;s<o.parts.length;s++)o.parts[s](i.parts[s]);for(;s<i.parts.length;s++)o.parts.push(v(i.parts[s],e))}else{for(var a=[];s<i.parts.length;s++)a.push(v(i.parts[s],e));r[i.id]={id:i.id,refs:1,parts:a}}}}function c(t){var e=document.createElement("style");if(void 0===t.attributes.nonce){var i=n.nc;i&&(t.attributes.nonce=i)}if(Object.keys(t.attributes).forEach((function(n){e.setAttribute(n,t.attributes[n])})),"function"==typeof t.insert)t.insert(e);else{var r=s(t.insert||"head");if(!r)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");r.appendChild(e)}return e}var l,h=(l=[],function(t,e){return l[t]=e,l.filter(Boolean).join("\n")});function f(t,e,n,i){var r=n?"":i.css;if(t.styleSheet)t.styleSheet.cssText=h(e,r);else{var o=document.createTextNode(r),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function p(t,e,n){var i=n.css,r=n.media,o=n.sourceMap;if(r&&t.setAttribute("media",r),o&&btoa&&(i+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleSheet)t.styleSheet.cssText=i;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var d=null,m=0;function v(t,e){var n,i,r;if(e.singleton){var o=m++;n=d||(d=c(e)),i=f.bind(null,n,o,!1),r=f.bind(null,n,o,!0)}else n=c(e),i=p.bind(null,n,e),r=function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(n)};return i(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;i(t=e)}else r()}}t.exports=function(t,e){(e=e||{}).attributes="object"==typeof e.attributes?e.attributes:{},e.singleton||"boolean"==typeof e.singleton||(e.singleton=o());var n=a(t,e);return u(n,e),function(t){for(var i=[],o=0;o<n.length;o++){var s=n[o],c=r[s.id];c&&(c.refs--,i.push(c))}t&&u(a(t,e),e);for(var l=0;l<i.length;l++){var h=i[l];if(0===h.refs){for(var f=0;f<h.parts.length;f++)h.parts[f]();delete r[h.id]}}}}},function(t,e,n){"use strict";n.r(e);var i=n(0),r=n.n(i);function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function a(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}var u=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,t),this.opts={type:e.type||"session",key:e.key},this.inst=new c(this.opts)}return a(t,[{key:"get",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return this.inst.get(this.opts.key)||t}},{key:"set",value:function(t){this.inst.set(this.opts.key,t)}},{key:"remove",value:function(){this.inst.remove(this.opts.key)}}]),t}(),c=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o(this,t),this.storage={local:window.localStorage,session:window.sessionStorage}[e.type]}return a(t,[{key:"get",value:function(t){try{var e=this.storage.getItem(t);return e?JSON.parse(e):null}catch(t){return console.log(t),null}}},{key:"set",value:function(t,e){try{this.storage.setItem(t,JSON.stringify(e))}catch(t){console.log(t)}}},{key:"remove",value:function(t){this.storage.removeItem(t)}}]),t}(),l=(n(1),"simple-resize");function h(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var f={top:null,bottom:null,left:null,right:null,topLeft:null,topRight:null,bottomLeft:null,bottomRight:null,corner:null,store:null,storeKey:null},p=["top","bottom","left","right","top-left","top-right","bottom-left","bottom-right"],d=function(){function t(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.options=r.a.extend({},f,n),this.options.corner&&(this.options.bottomRight=this.options.corner),this.$target=r()(e),this.$document=r()(document),this.$handlers=r()(),this.uid=(new Date).getTime()+Math.random(),this.namespace="".concat(l,"-").concat(this.uid),this.touchMoveListener=this.touchMove.bind(this),this.options.store&&this.options.storeKey&&(this.store=new u({type:this.options.store,key:this.options.storeKey})),this.init(),this.load()}var e,n,i;return e=t,i=[{key:"camelize",value:function(t){return t.replace(/-([a-z])/g,(function(t){return t[1].toUpperCase()}))}},{key:"getDefaults",value:function(){return f}},{key:"setDefaults",value:function(t){return r.a.extend(f,t)}}],(n=[{key:"init",value:function(){this.$target.addClass(l),this.build(),this.unbind(),this.bind()}},{key:"destroy",value:function(){var t=this;this.$target.removeClass(l),p.forEach((function(e){t.$handlers.removeClass("".concat(l,"-").concat(e," ").concat(l,"-outer-").concat(e))})),this.$handlers.each((function(e,n){var i=r()(n),o=i.data("".concat(l,"-type"));1==t.options[o]&&i.remove()})),this.unbind()}},{key:"build",value:function(){var t=this;this.$handlers=r()(),p.forEach((function(e){var n=t.buildHandler(e);n&&(n.data("".concat(l,"-type"),e),t.$handlers=t.$handlers.add(n))}))}},{key:"buildHandler",value:function(e){var n=null,i=this.options[t.camelize(e)];return 1==i?(n=r()("<div>").appendTo(this.$target)).addClass("".concat(l,"-").concat(e)):i&&(n=r()(i),r.a.contains(this.$target[0],n[0])?n.addClass("".concat(l,"-").concat(e)):n.addClass("".concat(l,"-outer-").concat(e))),n}},{key:"bind",value:function(){var t=this;this.$handlers.on("mousedown.".concat(this.namespace),(function(e){t.start(r()(e.currentTarget),e.pageX,e.pageY)})).on("touchstart.".concat(this.namespace),(function(e){var n=e.originalEvent.changedTouches[0];t.start(r()(e.currentTarget),n.pageX,n.pageY)}))}},{key:"unbind",value:function(){this.$target.off("resize:start resize:move resize:end"),this.$handlers.off(".".concat(this.namespace)),this.$document.off(".".concat(this.namespace))}},{key:"start",value:function(t,e,n){var i=this;this.$handler=t,this.startX=e,this.startY=n,this.startWidth=this.$target.width(),this.startHeight=this.$target.height(),this.$document.on("mousemove.".concat(this.namespace),(function(t){i.move(t.pageX,t.pageY)})).on("mouseup.".concat(this.namespace),(function(t){i.end()})).on("touchend.".concat(this.namespace),(function(t){i.end()})).on("selectstart.".concat(this.namespace),(function(t){return!1})),document.addEventListener("touchmove",this.touchMoveListener,{passive:!1}),r()("iframe").css("pointer-events","none"),this.$target.trigger("resize:start",[t])}},{key:"move",value:function(t,e){var n=this.$handler.data("".concat(l,"-type")),i=t-this.startX,r=e-this.startY;-1!=n.indexOf("left")&&(i*=-1),-1!=n.indexOf("top")&&(r*=-1);var o=this.startWidth+i,s=this.startHeight+r;-1==n.indexOf("left")&&-1==n.indexOf("right")||this.$target.width(o),-1==n.indexOf("top")&&-1==n.indexOf("bottom")||this.$target.height(s),this.$target.trigger("resize:move",[this.$handler])}},{key:"end",value:function(){this.$document.off(".".concat(this.namespace)),document.removeEventListener("touchmove",this.touchMoveListener),r()("iframe").css("pointer-events","auto"),this.save(),this.$target.trigger("resize:end",[this.$handler])}},{key:"touchMove",value:function(t){this.move(t.changedTouches[0].pageX,t.changedTouches[0].pageY),t.preventDefault()}},{key:"load",value:function(){if(this.store){var t=this.store.get();t&&(t.width&&this.$target.width(t.width),t.height&&this.$target.height(t.height))}}},{key:"save",value:function(){if(this.store){var t={},e=this.$handlers.map((function(t,e){return r()(e).data("".concat(l,"-type"))})).get();e.some((function(t){return-1!=t.indexOf("left")||-1!=t.indexOf("right")}))&&(t.width=this.$target.width()),e.some((function(t){return-1!=t.indexOf("top")||-1!=t.indexOf("bottom")}))&&(t.height=this.$target.height()),this.store.set(t)}}}])&&h(e.prototype,n),i&&h(e,i),t}();r.a.fn.simpleResize=function(t){return this.each((function(e,n){var i=r()(n);i.data(l)&&i.data(l).destroy(),i.data(l,new d(i,t))}))},r.a.SimpleResize=d}]);