1(self.webpackChunkpdfforge_website=self.webpackChunkpdfforge_website||[]).push([[353],{3585:function(e){var t,i,n,r,a,o,s,c;e.exports=(t="__v-click-outside",i="undefined"!=typeof window,n="undefined"!=typeof navigator,r=i&&("ontouchstart"in window||n&&navigator.msMaxTouchPoints>0)?["touchstart"]:["click"],a=function(e){var t=e.event,i=e.handler;(0,e.middleware)(t)&&i(t)},o=function(e,i){var n=function(e){var t="function"==typeof e;if(!t&&"object"!=typeof e)throw new Error("v-click-outside: Binding value must be a function or an object");return{handler:t?e:e.handler,middleware:e.middleware||function(e){return e},events:e.events||r,isActive:!(!1===e.isActive),detectIframe:!(!1===e.detectIframe),capture:Boolean(e.capture)}}(i.value),o=n.handler,s=n.middleware,c=n.detectIframe,u=n.capture;if(n.isActive){if(e[t]=n.events.map((function(t){return{event:t,srcTarget:document.documentElement,handler:function(t){return function(e){var t=e.el,i=e.event,n=e.handler,r=e.middleware,o=i.path||i.composedPath&&i.composedPath();(o?o.indexOf(t)<0:!t.contains(i.target))&&a({event:i,handler:n,middleware:r})}({el:e,event:t,handler:o,middleware:s})},capture:u}})),c){var d={event:"blur",srcTarget:window,handler:function(t){return function(e){var t=e.el,i=e.event,n=e.handler,r=e.middleware;setTimeout((function(){var e=document.activeElement;e&&"IFRAME"===e.tagName&&!t.contains(e)&&a({event:i,handler:n,middleware:r})}),0)}({el:e,event:t,handler:o,middleware:s})},capture:u};e[t]=[].concat(e[t],[d])}e[t].forEach((function(i){var n=i.event,r=i.srcTarget,a=i.handler;return setTimeout((function(){e[t]&&r.addEventListener(n,a,u)}),0)}))}},s=function(e){(e[t]||[]).forEach((function(e){return e.srcTarget.removeEventListener(e.event,e.handler,e.capture)})),delete e[t]},c=i?{beforeMount:o,updated:function(e,t){var i=t.value,n=t.oldValue;JSON.stringify(i)!==JSON.stringify(n)&&(s(e),o(e,{value:i}))},unmounted:s}:{},{install:function(e){e.directive("click-outside",c)},directive:c})},8993:function(e){e.exports=function(){function e(a,o){if(!(this instanceof e))return new e(a,o);o=Object.assign({},i,o);var s=Math.pow(10,o.precision);this.intValue=a=t(a,o),this.value=a/s,o.increment=o.increment||1/s,o.groups=o.useVedic?r:n,this.s=o,this.p=s}function t(t,i){var n=!(2<arguments.length&&void 0!==arguments[2])||arguments[2],r=i.decimal,a=i.errorOnInvalid,o=i.fromCents,s=Math.pow(10,i.precision),c=t instanceof e;if(c&&o)return t.intValue;if("number"==typeof t||c)r=c?t.value:t;else if("string"==typeof t)a=new RegExp("[^-\\d"+r+"]","g"),r=new RegExp("\\"+r,"g"),r=(r=t.replace(/\((.*)\)/,"-$1").replace(a,"").replace(r,"."))||0;else{if(a)throw Error("Invalid Input");r=0}return o||(r=(r*s).toFixed(4)),n?Math.round(r):r}var i={symbol:"$",separator:",",decimal:".",errorOnInvalid:!1,precision:2,pattern:"!#",negativePattern:"-!#",format:function(e,t){var i=t.pattern,n=t.negativePattern,r=t.symbol,a=t.separator,o=t.decimal;t=t.groups;var s=(""+e).replace(/^-/,"").split("."),c=s[0];return s=s[1],(0<=e.value?i:n).replace("!",r).replace("#",c.replace(t,"$1"+a)+(s?o+s:""))},fromCents:!1},n=/(\d)(?=(\d{3})+\b)/g,r=/(\d)(?=(\d\d)+\d\b)/g;return e.prototype={add:function(i){var n=this.s,r=this.p;return e((this.intValue+t(i,n))/(n.fromCents?1:r),n)},subtract:function(i){var n=this.s,r=this.p;return e((this.intValue-t(i,n))/(n.fromCents?1:r),n)},multiply:function(t){var i=this.s;return e(this.intValue*t/(i.fromCents?1:Math.pow(10,i.precision)),i)},divide:function(i){var n=this.s;return e(this.intValue/t(i,n,!1),n)},distribute:function(t){var i=this.intValue,n=this.p,r=this.s,a=[],o=Math[0<=i?"floor":"ceil"](i/t),s=Math.abs(i-o*t);for(n=r.fromCents?1:n;0!==t;t--){var c=e(o/n,r);0<s--&&(c=c[0<=i?"add":"subtract"](1/n)),a.push(c)}return a},dollars:function(){return~~this.value},cents:function(){return~~(this.intValue%this.p)},format:function(e){var t=this.s;return"function"==typeof e?e(this,t):t.format(this,Object.assign({},t,e))},toString:function(){var e=this.s,t=e.increment;return(Math.round(this.intValue/this.p/t)*t).toFixed(e.precision)},toJSON:function(){return this.value}},e}()},125:e=>{var t,i;t={expires:"1d",path:"; path=/",domain:"",secure:"",sameSite:"; SameSite=Lax",partitioned:""},i={install:function(e,t){t&&this.config(t.expires,t.path,t.domain,t.secure,t.sameSite,t.partitioned),e.prototype&&(e.prototype.$cookies=this),e.config&&e.config.globalProperties&&(e.config.globalProperties.$cookies=this,e.provide("$cookies",this)),e.$cookies=this},config:function(e,i,n,r,a,o){t.expires=e||"1d",t.path=i?"; path="+i:"; path=/",t.domain=n?"; domain="+n:"",t.secure=r?"; Secure":"",t.sameSite=a?"; SameSite="+a:"; SameSite=Lax",t.partitioned=o?"; Partitioned":""},get:function(e){var t=decodeURIComponent(document.cookie.replace(new RegExp("(?:(?:^|.*;)\\s*"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*([^;]*).*$)|^.*$"),"$1"))||null;if(t&&("{"===t.substring(0,1)&&"}
1"===t.substring(t.length-1,t.length)||"["===t.substring(0,1)&&"]"===t.substring(t.length-1,t.length)))try{t=JSON.parse(t)}catch(e){return t}return t},set:function(e,i,n,r,a,o,s,c){if(!e)throw new Error("Cookie name is not found in the first argument.");if(/^(?:expires|max\-age|path|domain|secure|SameSite)$/i.test(e))throw new Error('Cookie name illegality. Cannot be set to ["expires","max-age","path","domain","secure","SameSite"]\t current key name: '+e);i&&"object"==typeof i&&(i=JSON.stringify(i));var u="";if((n=void 0===n?t.expires:n)&&0!==n)switch(n.constructor){case Number:u=n===1/0||-1===n?"; expires=Fri, 31 Dec 9999 23:59:59 GMT":"; max-age="+n;break;case String:if(/^(?:\d+(y|m|d|h|min|s))$/i.test(n)){var d=n.replace(/^(\d+)(?:y|m|d|h|min|s)$/i,"$1");switch(n.replace(/^(?:\d+)(y|m|d|h|min|s)$/i,"$1").toLowerCase()){case"m":u="; max-age="+2592e3*+d;break;case"d":u="; max-age="+86400*+d;break;case"h":u="; max-age="+3600*+d;break;case"min":u="; max-age="+60*+d;break;case"s":u="; max-age="+d;break;case"y":u="; max-age="+31104e3*+d;break;default:new Error('unknown exception of "set operation"')}}else u="; expires="+n;break;case Date:u="; expires="+n.toUTCString()}return document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(i)+u+(a?"; domain="+a:t.domain)+(r?"; path="+r:t.path)+(void 0===o?t.secure:o?"; Secure":"")+(void 0===s?t.sameSite:s?"; SameSite="+s:"")+(void 0===c?t.partitioned:c?"; Partitioned":""),this},remove:function(e,i,n){return!(!e||!this.isKey(e)||(document.cookie=encodeURIComponent(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT"+(n?"; domain="+n:t.domain)+(i?"; path="+i:t.path)+"; SameSite=Lax",0))},isKey:function(e){return new RegExp("(?:^|;\\s*)"+encodeURIComponent(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(document.cookie)},keys:function(){if(!document.cookie)return[];for(var e=document.cookie.replace(/((?:^|\s*;)[^\=]+)(?=;|$)|^\s*|\s*(?:\=[^;]*)?(?:\1|$)/g,"").split(/\s*(?:\=[^;]*)?;\s*/),t=0;t<e.length;t++)e[t]=decodeURIComponent(e[t]);return e}},e.exports=i,"undefined"!=typeof window&&(window.$cookies=i)},2419:(e,t,i)=>{"use strict";i.d(t,{Y:()=>n});const n={mixins:[{name:"AvqToolsMixin",props:{avqToolsOutbound:{type:String,default:"lang, uid, cmp, key1, key2, mkey1, mkey2, mkey5, mkey6, mkey7, mkey9, wid, ref, qti, culture"},useAvqTools:{type:Boolean,default:!1}},methods:{getAvqTrackingParameters(){let e=new Map;const t=avqTools.getSession();for(let[i,n]of Object.keys(t).map((e=>[e,t[e]])))this.avqToolsOutboundList.includes(i)&&e.set(i,n);return e},avqToolsGetEvent(e){avqTools.getEvent(e)}},computed:{avqToolsOutboundList(){return this.avqToolsOutbound.split(",")}}}],data:()=>({}),mounted:function(){},methods:{getPayLinkData:function(e){let t=new Map;t.set("machine_name",this.productId),e&&t.set("coupon",e),this.useAvqTools&&(t=new Map([...t,...this.getAvqTrackingParameters()]));let i=this.getCookieAttrMap();if(i.size>0)for(let[e,n]of i)t.set(e,n);return t},createPayLink:function(e,t){let i={link:"",query:new Map,search:new Map};e.includes("?")?(i.link=e.split("?").shift(),e.split("?").pop().split("&").forEach((e=>{let t=e.split("=");i.query.set(t.shift(),t.pop())}))):i.link=e;const n=this.getPayLinkData(t??"");for(let[e,t]of n)i.query.set(e,t);return this.assemblePayLinkFromPayLinkObject(i)},assemblePayLinkFromPayLinkObject(e){let t=e.link+"?",i=[];for(let[t,n]of e.query)i.push(`${t}=${n}`),"cmp"===t&&i.push(`campaign=${n}`);return t=t.concat(i.join("&")),t}}}},1353:(e,t,i)=>{"use strict";i.r(t),i.d(t,{startArchitectPriceGridApp:()=>v});var n=i(8908),r=i(6014),a=i(1066),o=i(8993),s=i(2419),c=i(9602),u={name:"PDFArchitectPriceGrid",props:{inBackend:{type:Boolean,default:!1},coupon:{type:String,default:""},campaignData:{type:Array,default:()=>[{key:"cmp",value:"pdfforge_sales_b2b"},{key:"key1",value:"direct_b2b"}]}},mixins:[s.Y],data:()=>({cookieAttr:["cmp","key1","key2","keyb","keywords","uid","wid","ref"]}),computed:{purchaseLink(){return this.getPricingLink},payLinkWithParams(){return this.isCartEmpty()?"#":this.createPayLink(this.purchaseLink)},displayedPriceScheme(){return this.priceScheme.slice(0,2)},...(0,r.aH)("pdfArchitectShop",["products","priceScheme","settings","loading","success","addESign"]),...(0,r.L8)("pdfArchitectShop",["getPricingLink","getCartSum","getSavedSum","isAmountLimitExceeded","getProcessedCart","getRawCart"])},mounted:function(){this.fetchPriceGridData();let e=0,t=setInterval((()=>{!this.success&&e<3?(e++,this.fetchPriceGridData()):clearInterval(t)}),3e3)},updated:function(){c("#add-esign-help").tooltip()},methods:{...(0,r.i0)({fetchPriceGridData:"pdfArchitectShop/fetchPriceGridData"}),continueShop(){this.inBackend?console.log("inBackend"):(this.avqToolsGetEvent("Buy"),window.open(this.payLinkWithParams).focus())},getProductPriceAtAmount:(e,t)=>
1(0,a.dD)(e,t),getFormattedPrice(e){const t=this.settings.priceFormat.currency,i=t.format.replace("%s","!").replace("%v","#");return o(e,{symbol:t.symbol,separator:t.thousand,decimal:t.decimal,precision:t.precision,pattern:i}).format()},updateProductAmount(e,t){const i={amount:parseInt(e)||0,product:t};this.$store.commit("pdfArchitectShop/updateCartItemAmount",i)},getCartItemDisplayText(e){return e.amount+" x "+e.displayName+" ("+this.getFormattedPrice(e.price)+")"},isCartEmpty(){return!this.getRawCart?.length},toggleESign(){this.$store.commit("pdfArchitectShop/setAddESign",!this.addESign)},getCookieAttrMap:function(){let e=new Map;return this.campaignData.forEach((t=>{"cmp"===t.key&&e.set("campaign",t.value),e.set(t.key,t.value)})),this.cookieAttr.forEach((t=>{this.$cookies.isKey("__"+t)&&("cmp"===t&&e.set("campaign",this.$cookies.get("__"+t)),e.set(t,this.$cookies.get("__"+t)))})),e}},template:'<slot v-bind="this"/>'},d=i(3822),p=i(125),l=i.n(p),m=i(8165),h=i(3585),f=i.n(h);const g={name:"ArchitectPriceGrid",store:n.M,computed:{isOnMobile:()=>window.innerWidth<992},directives:{clickOutside:f().directive},components:{"pdfarchitect-price-grid":u}},v=e=>{if(e){const t=(0,d.Ef)(g);t.use(l()),t.use(n.M),(0,m.Z)(t),t.mount(e)}}},8165:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});const n=e=>{e.config.warnHandler=(e,t,i)=>!['Property "class" was accessed during render but is not defined on instance.','Property "style" was accessed during render but is not defined on instance.','Property "key" was accessed during render but is not defined on instance.'].some((t=>e.includes(t)))&&console.warn("[Vue warn]: ".concat(e).concat(i))}}}]);
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.