PageSourceSearch

https://kislist.com/build/5634.9cd0c302.js

js kislist.com collected 2026-09-24 13:20:23 UTC 32,415 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"3.7.13"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3111c4f6-7efe-4efc-8036-3cec10f52ec9",e._sentryDebugIdIdentifier="sentry-dbid-3111c4f6-7efe-4efc-8036-3cec10f52ec9")}catch{}}();"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[5634],{25634(e,t,o){o.r(t),o.d(t,{default:()=>ey});var l=o(41425);let s={class:"kis-dialog-head"},a={class:"kis-dialog-head-title"},i={class:"kis-dialog-head-cta"},r={id:"proposal-modal"},n={class:"kis-dialog-container"},c={class:"ui-share proposal"},d={class:"ui-share-label"},h={class:"tour_proposal_settings ui-share-settings-wrapper"},m={class:"ui-share-settings"},p=["onClick"],g=["onClick"],u=["onClick"],w=["onClick"],v=["onClick"],f=["onClick"],k={class:"ui-share-settings"},E=["onClick"],x=["onClick"],b={class:"proposal-lang"},V={class:"proposal-lang-menu"},N={class:"ui-share-label"},_={class:"dropdown",style:{"min-width":"110px"}},C={class:"multiselect","data-bs-toggle":"dropdown"},y={class:"multiselect__tags-bullet clickable dropdown-toggle-button d-flex align-items-center"},S=["src"],L={class:"truncate"},B={class:"dropdown-menu kis-dropdown",style:{"min-width":"150px"}},D=["onClick"],P=["src"],T=["href","title"],I={class:"position-relative"},$={key:0,for:"email",class:"field-label"},F=["placeholder"],M={type:"hidden"},R={class:"text-small text-muted flex-fill w-100 pb-6 pl-6 text-12-normal"},A=["onMousedown"],U={class:"clickable"},Z={key:0,class:"position-relative"},O={key:0,for:"proposal-text",class:"field-label"},j={key:1,class:"dropdown d-flex mt-1"},H={key:0,class:"ui-input-form ui-input-form-sm ms-auto"},Q=["placeholder"],Y={class:"ui-share-info"},q={key:0},z={key:1},K={class:"kis-dialog-footer kis-dialog-container kis-dialog-container-sm proposal-footer",id:"proposal-modal-footer"},W={class:"proposal-footer-share"},G=["onClick"],J={key:0,class:"kis-dropdown",style:{"min-width":"180px"}},X={class:"kis-dropdown-header"},ee={class:"kis-dropdown-overflow",style:{"max-height":"168px"}},et={class:"kis-dropdown-item"},eo={key:1,class:"kis-dropdown"},el=["title"],es=["title"],ea={class:"proposal-footer-actions"},ei=["disabled","title"],er=["disabled","title"];o(44114),o(18111),o(61701),o(22489);var en=o(97478),ec=o(4221),ed=o(44347),eh=o(16544),em=o(31839),ep=o(48973),eg=o(14961),eu=o(83868),ew=o(6947),ev=o(17094),ef=o(15906),ek=o(31571),eE=o(88690),ex=o(59931),eb=o(92574);let eV=(0,l.defineAsyncComponent)(()=>Promise.all([o.e(8300),o.e(5877),o.e(5502),o.e(6448),o.e(7687),o.e(9643),o.e(6645),o.e(6908)]).then(o.bind(o,66645))),eN=(0,ed.D7)(),e_={message:"",email:"",listId:null},eC={name:"live-proposal-modal",directives:{validate:ec.b},components:{Tiptap:eV,FormCheckbox:ew.A,LoaderDots:em.A,Popover:ef.A,Dialog:eb.A},props:{langs:Array,defaultLang:String,listId:String,showPercentageForClient:Boolean,name:String,extendedFields:!1},mixins:[ex.co],data:()=>({newTemplateName:"",currency:null,element:document.createElement("span"),templates:[],form:(0,eu.Mjh)("live-proposal-form",{...e_},{mergeDefaults:!0}),attributes:(0,eu.Mjh)("proposal-attributes",{...window.defaultProposalAttributes},{mergeDefaults:!0}),key:null,proposalItems:[],proposalFieldsErrors:{},showProposalLoader:!1,showProposalInitialLoader:!1,proposalUid:null,isProposalShared:!1,showEmailSuggestions:!1,extraSuggestedEmails:[],sentTo:[],showRecipients:!1,TYPE_LIVE_PROPOSAL_TEMPLATE:eE.c8,suggestedEmailsError:null,newTemplateInputActive:!1,closeOnEscape:!0}),computed:{suggestedEmails(){return this.extraSuggestedEmails},proposalRecipients(){return this.formatProposalRecipients(this.form.email.split(","))},link(){return Routing.generate("list_preview",{key:this.proposalUid,lang:this.attributes.locale},!0)},formData(){return{attributes:this.attributes,...this.form}},commandsStore:()=>ev.w,canSaveNewTemplate(){let e=(0,eh.QZ)(this.form.message).length;return this.form.message&&e>0&&e<=4e3},validateFormMessage(){return(0,eh.QZ)(this.form.message).length>4e3&&[(0,en.T)("value_is_too_long",{length:4e3})]}},watch:{"commandsStore.active":{handler(e){this.closeOnEscape=!e}}},methods:{stripHtml:eh.QZ,saveTemplate(){this.newTemplateName&&!((0,eh.QZ)(this.form.message).length<1)&&(0,eh.Hv)(Routing.generate("note_template_create"),{name:this.newTemplateName,content:this.form.message,type:"live_proposal"}).then(e=>{this.$toastSuccess({title:"live_proposal_template_created"}),this.templates.push({name:this.newTemplateName,content:this.form.message,id:e.id}),this.loadTemplates(),this.newTemplateName="",this.closeNewTemplateInput()}).catch(e=>{let t=e.error_message??"";this.$toastError({title:"toast.error",content:t})})},onMessageInput(e){this.form.message=e,this.suggestedEmailsError=null},onEmailInput(){delete this.proposalFieldsErrors.emails,this.suggestedEmailsError=null,this.$nextTick(()=>{this.validateEmail()})},async validateEmail(){let e=await (0,ep.Z)(this.form.email);(0,eh.th)(),e&&(this.suggestedEmailsError=[(0,en.T)("suggested_emails_error",{suggested:e})])},onEmailInputFocus(){this.suggestedEmails.length>0&&(this.showEmailSuggestions=!0)},sendMail(){(0,eh.Hv)(Routing.generate("live_proposal_notify",{id:this.proposalUid}),{list_id:this.listId,form:this.form}).then(e=>{this.isProposalShared=!0,this.sentTo=e.sent_to||[],this.form.email="",this.form.message="",this.$toastSuccess({title:"proposal.live_proposal_sent"}),this.$emit("enabled"),(0,ek._)("live_proposal_shared"),this.$dialog.hide(this.name)}).catch(e=>{if(403===e.status&&this.$toastError({title:"error_no_access_list",content:(0,en.T)("refresh_and_login",{link:window.location.href}),interaction:!0}),400!==e.status)throw e;return this.proposalFieldsErrors=e.errors,this.showProposalLoader=!1,!1}).catch(()=>this.$toastError({title:"error"}))},toggleShare(){!0===this.isProposalShared?this.disableShare():this.enableShare()},disableShare(){this.showProposalLoader||this.changeProposalShareStatus(!1).then(()=>{this.isProposalShared=!1,this.$emit("disabled"),this.$toastSuccess({title:this.translate("proposal.disabled")})})},enableShare(){this.showProposalLoader||this.changeProposalShareStatus(!0).then(()=>{this.isProposalShared=!0,this.$emit("enabled"),(0,ek._)("live_proposal_shared");let e=Routing.generate("list_preview",{key:this.proposalUid}),{toast:t}=this.$toastSuccess({duration:5e3,title:"proposal.share_enabled.title",content:this.translate("proposal.share_enabled.text",{link:e})});t.querySelector("[data-copy]").addEventListener("click",async()=>{await navigator.clipboard.writeText(`${window.location.origin}${e}`),this.$toastSuccess({title:"link_copied_to_clipboard"})}),this.$dialog.hide(this.name)})},changeProposalShareStatus(e){return this.showProposalLoader=!0,(0,eh.Hv)(Routing.generate("live_proposal_toggle",{id:this.proposalUid}),{list_id:this.listId,is_shared:e}).finally(()=>this.showProposalLoader=!1)},setLang(e){this.updateProposal(this.formData),this.attributes.locale=e},getFlag(e){return o(43312)(`./${e||this.defaultLang}.svg`)},translate:en.T,imgSrc:eh.cM,selectLinkContent(e){(0,eh.UV)(e.target)},onRejectingItemChange(){!1===this.attributes.allowRejectingItem&&(this.attributes.opinionDeadlineRequired=!1),this.onInputForm()},formatProposalRecipients:e=>e.map(e=>e.trim()).filter(e=>e),emailIsSelected(e){return -1!==this.proposalRecipients.indexOf(e.toLowerCase())},appendSuggestedMail(e){if(-1!==this.proposalRecipients.indexOf(e.trim())){this.form.email=this.proposalRecipients.filter(t=>t!==e).join(", "),this.updateProposal(this.formData),delete this.proposalFieldsErrors.email;return}let t=this.form.email.trim(),o=t+(""!==t&&","!==t[t.length-1]?", ":" ")+e;this.form.email=o.trim(),this.updateProposal(this.formData),delete this.proposalFieldsErrors.email},copyToClipboard(){(0,eh.lW)(this.link),this.$toastSuccess({title:"copied_to_clipboard"})},updateProposal(e){(0,eh.xf)(),eN(1e3).then(()=>{this.showProposalLoader||!this.proposalUid?(0,eh.th)():(this.showProposalLoader=!0,this.saveProposal(e,Routing.generate("live_proposal_update",{id:this.proposalUid})).then(()=>{(0,eh.th)(),this.showProposalLoader=!1}).catch(()=>{this.$toastError({title:"toast.error"}),this.showProposalLoader=!1}))})},showProposalModal(){this.listId&&this.createProposal()},createProposal(){return this.showProposalInitialLoader=!0,this.showProposalLoader=!0,this.saveProposal({},Routing.generate("live_proposal_create")).then(e=>{let t=this.form?.listId;t&&this.listId!==t&&(this.form.email="",this.form.message=""),this.form.listId=this.listId,this.attributes=e.attributes?Object.assign(this.attributes,e.attributes):this.attributes,this.extraSuggestedEmails=e.suggestedEmails,this.currency=e.currency,this.proposalUid=e.key,this.isProposalShared=!!e.isShared,this.sentTo=e.sentTo||[],this.isProposalShared&&this.$emit("enabled"),this.showProposalInitialLoader=!1,this.showProposalLoader=!1,!this.form.email&&this.extraSuggestedEmails.length>0&&(this.form.email=this.extraSuggestedEmails[0]);let o={name:(0,en.T)("default_mal"),content:e.defaultTemplate,id:"default"};this.templates=[o].concat(e.templates.map(e=>({name:e.name,content:e.content,id:e.id}))),this.loadTemplates(),this.form.message=(0,eh.QZ)(this.form.message)?this.form.message:e.defaultTemplate,this.$emit("created"),this.form.email&&setTimeout(()=>this.$refs.messageTextarea?.focus(),500)}).catch(e=>{403===e.status?this.$toastError({title:"error_no_access_list",content:(0,en.T)("refresh_and_login",{link:window.location.href}),interaction:!0}):this.$toastError({title:"toast.error"}),this.showProposalInitialLoader=!1})},saveProposal(e={},t){if(this.listId)return(0,eh.Hv)(t,{list_id:this.listId,...e}).catch(e=>{if(403===e.status)return this.$toastError({title:"error_no_access_list",content:(0,en.T)("refresh_and_login",{link:window.location.href}),interaction:!0}),!1;if(400!==e.status)throw e;return this.proposalFieldsErrors=e.errors,this.showProposalLoader=!1,!1})},onInputForm(){this.updateProposal(this.formData)},clearForm(){this.form={...this.form,...e_}},formatToCurrency(e){return(0,eg.vv)(e,this.currency)},openNewTemplateInput(){this.newTemplateInputActive=!0,setTimeout(()=>{this.$refs.proposalTemplateInput.focus()},100)},closeNewTemplateInput(){this.$nextTick(()=>{this.newTemplateName="",this.newTemplateInputActive=!1})},loadTemplates(){ev.w.commandsLiveProposal=this.templates.map(e=>({title:e.name,command:({editor:t,range:o})=>{t.chain().focus().deleteRange(o).insertContent(e.content).run()},id:e.id,content:e.content}))||[]},createNewLink(){(0,eh.Hv)(Routing.generate("live_proposal_reset_share_link"),{list_id:this.listId}).then(e=>{this.extraSuggestedEmails=e.suggestedEmails,this.proposalUid=e.key,this.isProposalShared=!!e.isShared,this.sentTo=e.sentTo||[],this.$toastSuccess({title:"live_proposal_link_reset"})})},showProposalRecipients(){this.showRecipients=!0,this.$nextTick(()=>{this.$refs.proposalActions.alignOverlay()})},close(){this.$dialog.hide(this.name)}},mounted(){this.$emit("mounted",this.name)}},ey=(0,o(66262).A)(eC,[["render",function(e,t,o,en,ec,ed){let eh=(0,l.resolve
1Component)("loader-dots"),em=(0,l.resolveComponent)("form-checkbox"),ep=(0,l.resolveComponent)("tiptap"),eg=(0,l.resolveComponent)("Popover"),eu=(0,l.resolveComponent)("Dialog"),ew=(0,l.resolveDirective)("validate"),ev=(0,l.resolveDirective)("click-away");return(0,l.openBlock)(),(0,l.createBlock)(eu,{name:o.name,onShow:ed.showProposalModal,onHide:t[26]||(t[26]=t=>e.$emit("close",ed.formData)),"content-class":"kis-dialog-column",closable:!1,"close-on-escape":ec.closeOnEscape,style:{"max-width":"690px",width:"100%"}},{body:(0,l.withCtx)(()=>[(0,l.createElementVNode)("div",s,[(0,l.createElementVNode)("div",a,(0,l.toDisplayString)(ec.isProposalShared?ed.translate("change_share_settings"):ed.translate("share_with_link")),1),(0,l.createElementVNode)("div",i,[(0,l.createElementVNode)("button",{class:"kis-icon kis-icon-lg",onClick:t[0]||(t[0]=(...e)=>ed.close&&ed.close(...e))},[...t[27]||(t[27]=[(0,l.createElementVNode)("svg",{width:"12",height:"12",viewBox:"0 0 12 12","aria-hidden":"true"},[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-dialog-close"})],-1)])])])]),(0,l.createElementVNode)("div",r,[(0,l.createElementVNode)("div",n,[ec.showProposalInitialLoader?((0,l.openBlock)(),(0,l.createBlock)(eh,{key:0,"top-class":"loader-dots-absolute"})):(0,l.createCommentVNode)("v-if",!0),(0,l.createElementVNode)("div",c,[(0,l.createElementVNode)("div",d,(0,l.toDisplayString)(ed.translate("proposal.visible_elements")),1),(0,l.createElementVNode)("div",h,[(0,l.createElementVNode)("div",m,[o.extendedFields?((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,{key:0},[(0,l.createTextVNode)(" todo: extended fields ")],64)):((0,l.openBlock)(),(0,l.createElementBlock)(l.Fragment,{key:1},[(0,l.createVNode)(em,{modelValue:ec.attributes.showPrice,"onUpdate:modelValue":t[1]||(t[1]=e=>ec.attributes.showPrice=e),onChange:ed.onInputForm,classes:"form-check-label d-flex"},{extra:(0,l.withCtx)(()=>[...t[28]||(t[28]=[(0,l.createElementVNode)("svg",{class:"ui-form-checkbox light-grey",width:"13",height:"9",viewBox:"0 0 13 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("path",{d:"M5.00301 8.99989L0.76001 4.75689L2.17401 3.34289L5.00301 6.17189L10.659 0.514893L12.074 1.92889L5.00301 8.99989Z",fill:"#2D9CDB"})],-1)])]),"off-extra":(0,l.withCtx)(()=>[...t[29]||(t[29]=[(0,l.createElementVNode)("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("rect",{x:"0.5",y:"0.5",width:"19",height:"19",stroke:"#BDC3C7"})],-1)])]),label:(0,l.withCtx)(({toggle:e})=>[(0,l.createElementVNode)("label",{class:"check-label m-0",onClick:e},(0,l.toDisplayString)(ed.translate("proposal.prices_visible")),9,p)]),_:1},8,["modelValue","onChange"]),(0,l.createVNode)(em,{modelValue:ec.attributes.showAmount,"onUpdate:modelValue":t[2]||(t[2]=e=>ec.attributes.showAmount=e),classes:"form-check-label d-flex",onChange:ed.onInputForm},{extra:(0,l.withCtx)(()=>[...t[30]||(t[30]=[(0,l.createElementVNode)("svg",{class:"ui-form-checkbox light-grey",width:"13",height:"9",viewBox:"0 0 13 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("path",{d:"M5.00301 8.99989L0.76001 4.75689L2.17401 3.34289L5.00301 6.17189L10.659 0.514893L12.074 1.92889L5.00301 8.99989Z",fill:"#2D9CDB"})],-1)])]),"off-extra":(0,l.withCtx)(()=>[...t[31]||(t[31]=[(0,l.createElementVNode)("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("rect",{x:"0.5",y:"0.5",width:"19",height:"19",stroke:"#BDC3C7"})],-1)])]),label:(0,l.withCtx)(({toggle:e})=>[(0,l.createElementVNode)("label",{class:"check-label m-0",onClick:e},(0,l.toDisplayString)(ed.translate("proposal.amount_visible")),9,g)]),_:1},8,["modelValue","onChange"]),(0,l.createVNode)(em,{modelValue:ec.attributes.showLinks,"onUpdate:modelValue":t[3]||(t[3]=e=>ec.attributes.showLinks=e),classes:"form-check-label d-flex",onChange:ed.onInputForm},{extra:(0,l.withCtx)(()=>[...t[32]||(t[32]=[(0,l.createElementVNode)("svg",{class:"ui-form-checkbox light-grey",width:"13",height:"9",viewBox:"0 0 13 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("path",{d:"M5.00301 8.99989L0.76001 4.75689L2.17401 3.34289L5.00301 6.17189L10.659 0.514893L12.074 1.92889L5.00301 8.99989Z",fill:"#2D9CDB"})],-1)])]),"off-extra":(0,l.withCtx)(()=>[...t[33]||(t[33]=[(0,l.createElementVNode)("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("rect",{x:"0.5",y:"0.5",width:"19",height:"19",stroke:"#BDC3C7"})],-1)])]),label:(0,l.withCtx)(({toggle:e})=>[(0,l.createElementVNode)("label",{class:"check-label m-0",onClick:e},(0,l.toDisplayString)(ed.translate("proposal.show_links")),9,u)]),_:1},8,["modelValue","onChange"]),(0,l.createVNode)(em,{modelValue:ec.attributes.showCatalogNr,"onUpdate:modelValue":t[4]||(t[4]=e=>ec.attributes.showCatalogNr=e),classes:"form-check-label d-flex",onChange:ed.onInputForm},{extra:(0,l.withCtx)(()=>[...t[34]||(t[34]=[(0,l.createElementVNode)("svg",{class:"ui-form-checkbox light-grey",width:"13",height:"9",viewBox:"0 0 13 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("path",{d:"M5.00301 8.99989L0.76001 4.75689L2.17401 3.34289L5.00301 6.17189L10.659 0.514893L12.074 1.92889L5.00301 8.99989Z",fill:"#2D9CDB"})],-1)])]),"off-extra":(0,l.withCtx)(()=>[...t[35]||(t[35]=[(0,l.createElementVNode)("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("rect",{x:"0.5",y:"0.5",width:"19",height:"19",stroke:"#BDC3C7"})],-1)])]),label:(0,l.withCtx)(({toggle:e})=>[(0,l.createElementVNode)("label",{class:"check-label m-0",onClick:e},(0,l.toDisplayString)(ed.translate("proposal.catalog_nr")),9,w)]),_:1},8,["modelValue","onChange"]),(0,l.createVNode)(em,{modelValue:ec.attributes.showSupplier,"onUpdate:modelValue":t[5]||(t[5]=e=>ec.attributes.showSupplier=e),classes:"form-check-label d-flex",onChange:ed.onInputForm},{extra:(0,l.withCtx)(()=>[...t[36]||(t[36]=[(0,l.createElementVNode)("svg",{class:"ui-form-checkbox light-grey",width:"13",height:"9",viewBox:"0 0 13 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("path",{d:"M5.00301 8.99989L0.76001 4.75689L2.17401 3.34289L5.00301 6.17189L10.659 0.514893L12.074 1.92889L5.00301 8.99989Z",fill:"#2D9CDB"})],-1)])]),"off-extra":(0,l.withCtx)(()=>[...t[37]||(t[37]=[(0,l.createElementVNode)("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("rect",{x:"0.5",y:"0.5",width:"19",height:"19",stroke:"#BDC3C7"})],-1)])]),label:(0,l.withCtx)(({toggle:e})=>[(0,l.createElementVNode)("label",{class:"check-label m-0",onClick:e},(0,l.toDisplayString)(ed.translate("proposal.supplier")),9,v)]),_:1},8,["modelValue","onChange"]),(0,l.createVNode)(em,{modelValue:ec.attributes.showStatuses,"onUpdate:modelValue":t[6]||(t[6]=e=>ec.attributes.showStatuses=e),classes:"form-check-label d-flex",onChange:ed.onInputForm},{extra:(0,l.withCtx)(()=>[...t[38]||(t[38]=[(0,l.createElementVNode)("svg",{class:"ui-form-checkbox light-grey",width:"13",height:"9",viewBox:"0 0 13 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("path",{d:"M5.00301 8.99989L0.76001 4.75689L2.17401 3.34289L5.00301 6.17189L10.659 0.514893L12.074 1.92889L5.00301 8.99989Z",fill:"#2D9CDB"})],-1)])]),"off-extra":(0,l.withCtx)(()=>[...t[39]||(t[39]=[(0,l.createElementVNode)("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("rect",{x:"0.5",y:"0.5",width:"19",height:"19",stroke:"#BDC3C7"})],-1)])]),label:(0,l.withCtx)(({toggle:e})=>[(0,l.createElementVNode)("label",{class:"check-label m-0",onClick:e},(0,l.toDisplayString)(ed.translate("proposal.show_statuses")),9,f)]),_:1},8,["modelValue","onChange"])],64))]),t[44]||(t[44]=(0,l.createElementVNode)("div",{class:"ui-share-settings-divider"},null,-1)),(0,l.createElementVNode)("div",k,[(0,l.createVNode)(em,{modelValue:ec.attributes.showComments,"onUpdate:modelValue":t[7]||(t[7]=e=>ec.attributes.showComments=e),classes:"form-check-label d-flex",onChange:ed.onInputForm},{extra:(0,l.withCtx)(()=>[...t[40]||(t[40]=[(0,l.createElementVNode)("svg",{class:"ui-form-checkbox light-grey",width:"13",height:"9",viewBox:"0 0 13 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("path",{d:"M5.00301 8.99989L0.76001 4.75689L2.17401 3.34289L5.00301 6.17189L10.659 0.514893L12.074 1.92889L5.00301 8.99989Z",fill:"#2D9CDB"})],-1)])]),"off-extra":(0,l.withCtx)(()=>[...t[41]||(t[41]=[(0,l.createElementVNode)("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("rect",{x:"0.5",y:"0.5",width:"19",height:"19",stroke:"#BDC3C7"})],-1)])]),label:(0,l.withCtx)(({toggle:e})=>[(0,l.createElementVNode)("label",{class:"check-label m-0",onClick:e},(0,l.toDisplayString)(ed.translate("proposal.show_comments")),9,E)]),_:1},8,["modelValue","onChange"]),(0,l.createVNode)(em,{modelValue:ec.attributes.allowRejectingItem,"onUpdate:modelValue":t[8]||(t[8]=e=>ec.attributes.allowRejectingItem=e),classes:"form-check-label d-flex",onChange:ed.onRejectingItemChange},{extra:(0,l.withCtx)(()=>[...t[42]||(t[42]=[(0,l.createElementVNode)("svg",{class:"ui-form-checkbox light-grey",width:"13",height:"9",viewBox:"0 0 13 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("path",{d:"M5.00301 8.99989L0.76001 4.75689L2.17401 3.34289L5.00301 6.17189L10.659 0.514893L12.074 1.92889L5.00301 8.99989Z",fill:"#2D9CDB"})],-1)])]),"off-extra":(0,l.withCtx)(()=>[...t[43]||(t[43]=[(0,l.createElementVNode)("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("rect",{x:"0.5",y:"0.5",width:"19",height:"19",stroke:"#BDC3C7"})],-1)])]),label:(0,l.withCtx)(({toggle:e})=>[(0,l.createElementVNode)("label",{class:"check-label m-0",onClick:e},(0,l.toDisplayString)(ed.translate("proposal.accepting_item")),9,x)]),_:1},8,["modelValue","onChange"])])]),t[48]||(t[48]=(0,l.createElementVNode)("div",{class:"ui-share-settings-divider"},null,-1)),(0,l.createElementVNode)("div",b,[(0,l.createElementVNode)("div",V,[(0,l.createElementVNode)("div",N,(0,l.toDisplayString)(ed.translate("language")),1),(0,l.createElementVNode)("div",_,[(0,l.createElementVNode)("div",C,[(0,l.createElementVNode)("div",y,[(0,l.createElementVNode)("img",{src:ed.getFlag(ec.attributes.locale),width:"20",height:"20",alt:"",class:"clickable me-2"},null,8,S),(0,l.createElementVNode)("span",L,(0,l.toDisplayString)(ed.translate(`languages.${ec.attributes.locale}`)),1)]),t[45]||(t[45]=(0,l.createElementVNode)("span",{class:"select-caret"},[(0,l.createElementVNode)("svg",{width:"9",height:"5",viewBox:"0 0 9 5","aria-hidden":"true"},[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-arrow"})])],-1))]),(0,l.createElementVNode)("div",B,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(o.langs,e=>((0,l.openBlock)(),(0,l.createElementBlock)("a",{href:"#",onClick:(0,l.withModifiers)(t=>ed.setLang(e),["prevent"]),class:"kis-dropdown-item"},[(0,l.createElementVNode)("img",{src:ed.getFlag(e),width:"16",height:"16",alt:""},null,8,P),(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(ed.translate(`languages.${e}`)),1)],8,D))),256))])])]),(0,l.createElementVNode)("a",{href:ed.link,class:"kis-anchor-primary proposal-lang-link",target:"_blank",title:ed.translate("see_what_client_sees")},[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(ed.translate("see_what_client_sees")),1),t[46]||(t[46]=(0,l.createElementVNode)("svg",{width:"16",height:"16",viewBox:"0 0 18 16","aria-hidden":"true"},[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-share-view"})],-1))],8,T)]),t[49]||(t[49]=(0,l.createElementVNode)("div",{class:"ui-share-settings-divider"},null,-1)),(0,l.createElementVNode)("div",I,[ec.form.email?((0,l.openBlock)(),(0,l.createElementBlock)("label",$,(0,l.toDisplayString)(ed.translate("proposal.email")),1)):(0,l.createCommentVNode)("v-if",!0),(0,l.withDirectives)((0,l.createElementVNode)("input",{type:"text","onUpdate:modelValue":t[9]||(t[9]=e=>ec.form.email=e),onInput:t[10]||(t[10]=(...e)=>ed.onEmailInput&&ed.onEmailInput(...e)),onFocus:t[11]||(t[11]=(...e)=>ed.onEmailInputFocus&&ed.onEmailInputFocus(...e)),onBlur:t[12]||(t[12]=e=>ec.showEmailSuggestions=!1),placeholder:ed.translate("proposal.email"),id:"email",autocomplete:"off",class:"field-input text-ellipsis"},null,40,F),[[ew,ec.proposalFieldsErrors.emails,void 0,{tooltip:!0}],[l.vModelText,ec.form.email]]),(0,l.withDirectives)((0,l.createElementVNode)("input",M,null,512),[[ew,ec.suggestedEmailsError,void 0,{tooltip:!0}]]),ec.showEmailSuggestions?((0,l.openBlock)(),(0,l.createElementBlock)("div",{key:1,class:"w-100 d-flex tags-container d-flex flex-wrap position-absolute",onMousedown:t[13]||(t[13]=(0,l.withModifiers)(e=>ec.showEmailSuggestions=!0,["prevent"]))},[(0,l.createElementVNode)("span",R,(0,l.toDisplayString)(ed.translate("select_previous_proposal_recipients"))+":",1),((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(ed.suggestedEmails,(e,t)=>((0,l.openBlock)(),(0,l.createElementBlock)("span",{class:(0,l.normalizeClass)(["tag",{selected:ed.emailIsSelected(e)}]),onMousedown:(0,l.withModifiers)(t=>ed.appendSuggestedMail(e),["prevent"])},[(0,l.createElementVNode)("span",U,(0,l.toDisplayString)(e),1)],42,A))),256))],32)):(0,l.createCommentVNode)("v-if",!0)]),""!==ec.form.email?((0,l.openBlock)(),(0,l.createElementBlock)("div",Z,[ec.form.message?((0,l.openBlock)(),(0,l.createElementBlock)("label",O,(0,l.toDisplayString)(ed.translate("proposal.message")),1)):(0,l.createCommentVNode)("v-if",!0),(0,l.withDirectives)((0,l.createVNode)(ep,{ref:"messageTextarea",autofocus:!1,value:ec.form.message,onInput:ed.onMessageInput,placeholder:ed.translate("proposal.command_template"),id:"proposal-text",class:"field-input mail-msg-input","templates-active":!0,"templates-type":ec.TYPE_LIVE_PROPOSAL_TEMPLATE,style:{"min-height":"190px","max-height":"300px",resize:"vertical",overflow:"auto"},"menu-options":["link"],"link-previews":!1},null,8,["value","onInput","placeholder","templates-type"]),[[ew,ec.proposalFieldsErrors.message,void 0,{tooltip:!0}]]),(0,l.withDirectives)((0,l.createElementVNode)("div",null,[(0,l.withDirectives)((0,l.createElementVNode)("div",null,null,512),[[ew,ed.validateFormMessage,void 0,{tooltip:!0,div:!0}]])],512),[[l.vShow,!ec.showProposalInitialLoader]]),ed.canSaveNewTemplate?((0,l.openBlock)(),(0,l.createElementBlock)("div",j,[ec.newTemplateInputActive?(0,l.withDirectives)(((0,l.openBlock)(),(0,l.createElementBlock)("div",H,[(0,l.withDirectives)((0,l.createElementVNode)("input",{type:"text",placeholder:ed.translate("template_name"),onClick:t[14]||(t[14]=(0,l.withModifiers)(()=>{},["stop"])),"onUpdate:modelValue":t[15]||(t[15]=e=>ec.newTemplateName=e),ref:"proposalTemplateInput",onKeydown:t[16]||(t[16]=(0,l.withKeys)((...e)=>ed.saveTemplate&&ed.saveTemplate(...e),["enter"]))},null,40,Q),[[l.vModelText,ec.newTemplateName]]),(0,l.createElementVNode)("button",{onClick:t[17]||(t[17]=(...e)=>ed.saveTemplate&&ed.saveTemplate(...e)),class:"kis-btn kis-btn-sm kis-btn-purple text-nowrap"},(0,l.toDisplayString)(ed.translate("save")),1)])),[[ev,ed.closeNewTemplateInput]]):((0,l.openBlock)(),(0,l.createElementBlock)("button",{key:1,class:"ui-button ui-button-grey-alt ui-button-sm ui-button-clear text-nowrap text-unset ms-auto me-1",onClick:t[18]||(t[18]=(...e)=>ed.openNewTemplateInput&&ed.openNewTemplateInput(...e))},(0,l.toDisplayString)(ed.translate("save_template")),1))])):(0,l.createCommentVNode)("v-if",!0)])):(0,l.createCommentVNode)("v-if",!0),t[50]||(t[50]=(0,l.createElementVNode)("div",{class:"ui-share-settings-divider"},null,-1)),(0,l.createElementVNode)("div",Y,[t[47]||(t[47]=(0,l.createElementVNode)("svg",{width:"20",height:"16",viewBox:"0 0 16 16","aria-hidden":"true"},[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-info-grey"})],-1)),ec.isProposalShared?((0,l.openBlock)(),(0,l.createElementBlock)("span",q,(0,
1l.toDisplayString)(ed.translate("everyone_can_see_live_proposal")),1)):((0,l.openBlock)(),(0,l.createElementBlock)("span",z,(0,l.toDisplayString)(ed.translate("everyone_will_see_live_proposal")),1))]),t[51]||(t[51]=(0,l.createElementVNode)("div",{class:"ui-share-settings-divider"},null,-1))])])]),(0,l.createElementVNode)("div",K,[(0,l.createElementVNode)("div",W,[(0,l.createVNode)(em,{modelValue:ec.isProposalShared,"onUpdate:modelValue":t[19]||(t[19]=e=>ec.isProposalShared=e),onChange:ed.toggleShare,classes:"d-flex clickable",title:ed.translate(ec.isProposalShared?"team_permissions.remove_share_list_info":"team_permissions.share_list_by_url_info"),disabled:ec.showProposalLoader},{extra:(0,l.withCtx)(()=>[...t[52]||(t[52]=[(0,l.createElementVNode)("svg",{class:"ui-form-checkbox light-grey",width:"13",height:"9",viewBox:"0 0 13 9",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("path",{d:"M5.00301 8.99989L0.76001 4.75689L2.17401 3.34289L5.00301 6.17189L10.659 0.514893L12.074 1.92889L5.00301 8.99989Z",fill:"#2D9CDB"})],-1)])]),"off-extra":(0,l.withCtx)(()=>[...t[53]||(t[53]=[(0,l.createElementVNode)("svg",{width:"16",height:"16",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[(0,l.createElementVNode)("rect",{x:"0.5",y:"0.5",width:"19",height:"19",stroke:"#BDC3C7"})],-1)])]),label:(0,l.withCtx)(({toggle:e})=>[(0,l.createElementVNode)("label",{class:"check-label m-0",onClick:e},(0,l.toDisplayString)(ed.translate("shared_alt")),9,G)]),_:1},8,["modelValue","onChange","title","disabled"]),ec.isProposalShared?((0,l.openBlock)(),(0,l.createElementBlock)("button",{key:0,class:"ui-button-clear",onClick:t[20]||(t[20]=(...t)=>e.$refs.proposalActions.toggle&&e.$refs.proposalActions.toggle(...t))},[...t[54]||(t[54]=[(0,l.createElementVNode)("svg",{height:"14",width:"14",viewBox:"0 0 4 16","aria-hidden":"true"},[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-dots-vertical"})],-1)])])):(0,l.createCommentVNode)("v-if",!0)]),ec.isProposalShared?((0,l.openBlock)(),(0,l.createBlock)(eg,{key:0,ref:"proposalActions",style:{"border-radius":"0",background:"#fafafa"},onHide:t[23]||(t[23]=e=>ec.showRecipients=!1)},{default:(0,l.withCtx)(()=>[ec.showRecipients?((0,l.openBlock)(),(0,l.createElementBlock)("div",J,[(0,l.createElementVNode)("div",X,(0,l.toDisplayString)(ed.translate("who_received_link")),1),(0,l.createElementVNode)("div",ee,[((0,l.openBlock)(!0),(0,l.createElementBlock)(l.Fragment,null,(0,l.renderList)(ec.sentTo,e=>((0,l.openBlock)(),(0,l.createElementBlock)("div",et,[(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(e),1)]))),256))])])):((0,l.openBlock)(),(0,l.createElementBlock)("div",eo,[(0,l.createElementVNode)("button",{class:"kis-dropdown-item",onClick:t[21]||(t[21]=(...e)=>ed.createNewLink&&ed.createNewLink(...e)),title:ed.translate("create_new_link_title")},[t[55]||(t[55]=(0,l.createElementVNode)("svg",{height:"16",width:"16",viewBox:"0 0 20 20","aria-hidden":"true"},[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-url-refresh"})],-1)),(0,l.createElementVNode)("div",null,(0,l.toDisplayString)(ed.translate("create_new_link")),1)],8,el),ec.sentTo.length>0?((0,l.openBlock)(),(0,l.createElementBlock)("button",{key:0,class:"kis-dropdown-item",onClick:t[22]||(t[22]=(...e)=>ed.showProposalRecipients&&ed.showProposalRecipients(...e)),title:ed.translate("who_received_link")},[t[56]||(t[56]=(0,l.createElementVNode)("svg",{height:"16",width:"16",viewBox:"0 0 20 20","aria-hidden":"true"},[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-users-alt"})],-1)),(0,l.createElementVNode)("div",null,(0,l.toDisplayString)(ed.translate("who_received_link")),1)],8,es)):(0,l.createCommentVNode)("v-if",!0)]))]),_:1},512)):(0,l.createCommentVNode)("v-if",!0),(0,l.createElementVNode)("div",ea,[ec.isProposalShared?((0,l.openBlock)(),(0,l.createElementBlock)("button",{key:0,onClick:t[24]||(t[24]=(...e)=>ed.copyToClipboard&&ed.copyToClipboard(...e)),disabled:ec.showProposalLoader,class:"kis-btn kis-btn-light-alt",type:"button",title:ed.translate("copy_link")},[t[57]||(t[57]=(0,l.createElementVNode)("svg",{height:"16",width:"20",viewBox:"0 0 20 20","aria-hidden":"true"},[(0,l.createElementVNode)("use",{"xlink:href":"/build/images/spritemap.svg#icon-ico-copy-content"})],-1)),(0,l.createElementVNode)("span",null,(0,l.toDisplayString)(ed.translate("copy_link")),1)],8,ei)):(0,l.createCommentVNode)("v-if",!0),(0,l.createElementVNode)("button",{class:"kis-btn kis-btn-purple",disabled:ec.showProposalLoader||""===ec.form.email,onClick:t[25]||(t[25]=(...e)=>ed.sendMail&&ed.sendMail(...e)),title:ed.translate("send_and_share")},(0,l.toDisplayString)(ed.translate("send_and_share")),9,er)])])]),_:1},8,["name","onShow","close-on-escape"])}],["__scopeId","data-v-832816ba"]])}}]);

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.