1"use strict";(self.webpackChunk_cmrad_cmrad=self.webpackChunk_cmrad_cmrad||[]).push([[20345,73477],{76492:function(e,t,o){function n(e,t){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100,n=setInterval((function(){var o=e();o&&(t(o),clearInterval(n))}),null!=o?o:100)}o.d(t,{Z:function(){return n}})},20345:function(e,t,o){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function r(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function l(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?r(Object(o),!0).forEach((function(t){s(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):r(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function s(e,t,o){return(t=function(e){var t=function(e,t){if("object"!==n(e)||null===e)return e;var o=e[Symbol.toPrimitive];if(void 0!==o){var r=o.call(e,t||"default");if("object"!==n(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===n(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}o.r(t),o.d(t,{default:function(){return u}});var i=o(76492),a=o(76104),c={name:"SplitModal",props:{id:{type:String,default:o.n(a)()("split-modal-")},canCloseOnBackdrop:{type:Boolean,default:!0},canCloseOnEsc:{type:Boolean,default:!0},contentClass:{type:String,default:"pb-2"},size:{type:[String,null],default:"xl"},draggable:{type:Boolean,default:!0},easyClose:{type:Boolean,default:!0},closeable:{type:Boolean,default:!0},canClose:{type:Boolean,default:!0},centered:{type:Boolean,default:!0},footerClass:{type:String,default:""},titleIcon:{type:String,default:null},value:{type:Boolean,default:null},noDefaultFooterClass:Boolean,headerOnlyClose:Boolean,cancelDisabled:Boolean,scrollable:Boolean,screenSize:String,bodyClass:String,dataCy:String,title:String},data:function(){return{isGrabbed:!1,pos1:0,pos2:0,pos3:0,pos4:0}},methods:{onHide:function(e){this.$emit("hidden",e),this.$emit("input",!1)},onOpen:function(e){this.$emit("open",e),this.$emit("input",!0)},onClose:function(){this.$emit("close")},onOk:function(e){this.$emit("ok",e)},hide:function(){this.$refs.modal.hide()},mousedown:function(e){var t=document.querySelector("#".concat(this.id,"___BV_modal_header_"));this.draggable&&(t.contains(e.target)||e.target===t)&&(this.isGrabbed=!0,this.pos3=e.clientX,this.pos4=e.clientY)},mouseup:function(){this.isGrabbed=!1},mousemove:function(e){var t,o,n=null===(t=this.$refs.modal)||void 0===t||null===(o=t.$refs)||void 0===o?void 0:o.modal;this.isGrabbed&&n&&(this.pos1=this.pos3-e.clientX,this.pos2=this.pos4-e.clientY,this.pos3=e.clientX,this.pos4=e.clientY,n.style.top=n.offsetTop-this.pos2+"px",n.style.left=n.offsetLeft-this.pos1+"px")}},computed:{isMobile:function(){return"xs"===this.$store.state.breakpoint},computedFooterClass:function(){return"".concat(this.noDefaultFooterClass?"":"py-0 px-3 pt-3 my-3"," ").concat(this.footerClass)},isResearch:function(){return this.$route().current().startsWith("research-")}},watch:{value:{immediate:!0,handler:function(e){var t=this;e&&(0,i.Z)((function(){return document.querySelector("#".concat(t.id))}),(function(e){e.addEventListener("mousedown",t.mousedown),e.addEventListener("mouseup",t.mouseup),e.addEventListener("mousemove",t.mousemove)}))}}}},u=(0,o(51900).Z)(c,(function(){var e=this,t=e._self._c;return t("b-modal",e._b({ref:"modal",attrs:{"content-class":e.contentClass||(e.isMobile?"pt-3 pb-2":"pt-3"),"no-close-on-backdrop":!e.easyClose||!e.canCloseOnBackdrop||!e.closeable,"body-class":e.bodyClass||"pt-2 pb-3 ".concat(e.isMobile?"px-3":"px-5"),"no-close-on-esc":!e.easyClose||!e.canCloseOnEsc||!e.closeable,"footer-class":e.computedFooterClass,"dialog-class":{draggable:e.draggable,"research-split-modal-dialog":e.isResearch},"data-cy":e.dataCy,visible:e.value},on:{show:function(t){return e.$emit("show",t)},hidden:function(t){return e.onHide(t)},open:function(t){return e.onOpen(t)},close:e.onClose,ok:e.onOk},scopedSlots:e._u([{key:"modal-header",fn:function(o){var n=o.close;return[t("section",{class:["title-section space-x-2 mb-2 mx-3 border-0",{"header-only-close":e.headerOnlyClose}]},[e.titleIcon?t("i",{staticClass:"fa fa-2x big-icon black",class:e.titleIcon}
1):e._e(),e._v(" "),t("h1",{class:["d-inline-block mb-0 unselectable",{"ml-3":!!e.titleIcon}]},[e._t("title",(function(){return[e._v(e._s(e.title))]}))],2),e._v(" "),e._t("prepend-close"),e._v(" "),t("b-button-close",{directives:[{name:"show",rawName:"v-show",value:e.closeable,expression:"closeable"}],on:{click:function(e){return n()}}},[t("i",{staticClass:"fa fa-square-xmark fa-swap-opacity"})])],2),e._v(" "),e._t("subtitle")]}},{key:"default",fn:function(){return[e._t("default")]},proxy:!0},{key:"modal-footer",fn:function(){return[e._t("modal-footer")]},proxy:!0},{key:"modal-cancel",fn:function(){return[e._t("modal-cancel")]},proxy:!0},{key:"modal-ok",fn:function(){return[e._t("modal-ok")]},proxy:!0}],null,!0)},"b-modal",l(l({},e.$attrs),{},{cancelDisabled:e.cancelDisabled,scrollable:e.scrollable,centered:e.centered,size:e.size,id:e.id}),!1))}),[],!1,null,null,null).exports}}]); 2//# sourceMappingURL=20345.ca99c6f773a4a919.js.map
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.