1"use strict";(self.webpackChunkDashboard=self.webpackChunkDashboard||[]).push([[5869],{29829:(t,o,e)=>{e.a(t,(async t=>{e.d(o,{Z:()=>d});var s=e(2934),n=e.n(s),i=e(30507),a=e(72268),r=e.n(a),c=t([i]);i=(c.then?await c:c)[0],n().use(r());const d={name:"ShopWidgetOutputCode",props:{data:{type:[Object,Array],required:!0}},data:function(){return{copied:!1}},computed:{previewMode:function(){return this.data.previewMode},object:function(){return this.data.object},objectInfo:function(){return this.data.objectInfo},settings:function(){return this.data.settings},outputCode:function(){if(this.previewMode)return"";var t=this.object.id,o=this.object.type,e=4==this.objectInfo.mandant?"de":this.objectInfo.mandantAbbr,s=JSON.stringify({objID:this.object.id,swKey:this.object.swKey,type:this.object.type,size:this.settings.size,font:this.settings.font,shadow:this.settings.shadow,contour:this.settings.contour,coverContour:this.settings.coverContour,fontColor:this.settings.fontColor,contourColor:this.settings.contourColor,shadowBtn:this.settings.shadowBtn,contourBtn:this.settings.contourBtn,bgColor:this.settings.bgColor,btnFontColor:this.settings.btnFontColor,btnColor:this.settings.btnColor,btnContourColor:this.settings.btnContourColor,mandantShopUrl:this.objectInfo.mandantShopUrl,lang:e});return"\x3c!-- ### Begin BoD ShopWidget --\x3e\n"+'<div id="bodShopWidget_'.concat(t,"_").concat(o,'" class="bodShopWidget"></div>')+'<script type="text/javascript">if(typeof checkLibExist == "undefined"){var script = document.createElement("script");'+'script.src ="'.concat(i.Qu,'/shopwidget/build/js/v1.1/shopWidget.min.js";')+'script.type = "text/javascript";document.head.appendChild(script);var checkLibExist = true;}if(typeof books === "undefined") var books=[];'+"books.push(".concat(s,");")+"<\/script>\n\x3c!-- ### End BoD ShopWidget --\x3e"},btnCopyLabel:function(){return this.copied?'<i class="fa-regular fa-circle-check"></i> '+this.$t("shopwidget.outputCodeBtnCopied"):'<i class="fa-solid fa-copy"></i> '+this.$t("shopwidget.outputCodeBtnCopy")}},methods:{onCopy:function(){var t=this;this.$copyText(this.outputCode).then((function(o){t.$refs.outputCode.select(),t.copied=!0,setTimeout((function(){t.copied=!1}),2e3)}))}}}}))},44252:(t,o,e)=>{e.a(t,(async t=>{e.r(o),e.d(o,{default:()=>r});var s=e(66167),n=e(59450),i=e(51900),a=t([n]);n=(a.then?await a:a)[0];const r=(0,i.Z)(n.Z,s.s,s.x,!1,null,null,null).exports}))},59450:(t,o,e)=>{e.a(t,(async t=>{e.d(o,{Z:()=>i});var s=e(29829),n=t([s]);const i=(s=(n.then?await n:n)[0]).Z}))},66167:(t,o,e)=>{e.d(o,{s:()=>s,x:()=>n});var s=function(){var t=this,o=t.$createElement,e=t._self._c||o;return e("div",{staticClass:"shop-widget-output-code"},[e("div",{staticClass:"p-4 bg-bodgrey-light mt-4 mt-xl-5"},[e("h2",{staticClass:"display-5 fw-bold text-bodblue-dark"},[t._v("\n "+t._s(t.$t("shopwidget.outputCodeTitle"))+"\n ")]),t._v(" "),e("p",{staticClass:"lead",domProps:{innerHTML:t._s(t.$t("shopwidget.outputCodeDescription"))}}),t._v(" "),t.objectInfo?e("div",{staticClass:"mb-4"},[e("label",{staticClass:"form-label",attrs:{for:"outputCode"}}),t._v(" "),e("textarea",{directives:[{name:"model",rawName:"v-model",value:t.outputCode,expression:"outputCode"}],ref:"outputCode",staticClass:"form-control bg-white",attrs:{id:"outputCode",rows:"8",readonly:""},domProps:{value:t.outputCode},on:{click:t.onCopy,input:function(o){o.target.composing||(t.outputCode=o.target.value)}}})]):t._e(),t._v(" "),e("div",{staticClass:"text-end"},[e("button",{staticClass:"btn rounded-pill px-4",class:{"btn-outline-dark":!t.copied,"btn-success":t.copied},attrs:{type:"button"},on:{click:t.onCopy}},[e("span",{domProps:{innerHTML:t._s(t.btnCopyLabel)}})])])])])},n=[]}}]);
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.