1import{r as p,x as S,o as Z,a as h,c as r,f,d as e,M as B,t as o,n as T,u as C,g as I,v as N,F as $,i as q,h as D,w as E,e as n}from"./app-D1qEUMc8.js";import{u as F,e as G,r as P}from"./index-Ct8bWwSI.js";import{a as U,g as A,b as K}from"./form-CMb2h80w.js";const R={key:0,id:"articleSidebarSubscribe",class:"article-sidebar-subscribe"},j={key:0,class:"article-sidebar-subscribe-success"},z={class:"article-sidebar-title"},J={class:"article-sidebar-desc"},O={key:1},Y={class:"article-sidebar-title"},Q={class:"form-label",for:"email"},W={class:"error-msg"},X=["disabled"],e1={key:0,class:"form-recaptcha-validation"},a1={class:"article-sidebar-subscribe-social social"},s1={class:"social-title"},t1=["innerHTML"],c1={__name:"FormSubscribeSidebar",props:["recaptchaPublicKey","translate","langLocale"],setup(w){const v=p({email:""}),u=w,t=p(JSON.parse(u.translate)),_={email:{required:P,email:G}};S(()=>{g()}),Z(()=>{g()});const g=()=>{localStorage.getItem("subscribedToBlog")!==null&&(m.value=!0)},k=()=>{localStorage.getItem("subscribedToBlog")===null&&localStorage.setItem("subscribedToBlog","true")},c=F(_,v),l=h(null),m=h(!1),d=h(null),V=async()=>{if(l.value==="PENDING")return;if(l.value="PENDING",!await c.value.$validate()){l.value=null;return}d.value=null,grecaptcha.enterprise.ready(async()=>{let i={recaptcha_token:await grecaptcha.enterprise.execute(u.recaptchaPublicKey,{action:"SUBMIT"})};axios.post("/recaptcha-test",i).then(()=>{H()}).catch(b=>{y(b)})})},H=async()=>{const s="39895725",a="93c2ce9e-0b98-467f-b2ad-0538a5bca7d8",i={headers:{"Content-Type":"application/json"}};let b={portalId:s,formGuid:a,fields:[{name:"email",value:v.email},{name:"blog_user_language",value:u.langLocale},{name:"cid",value:A()},{name:"affiliate_id",value:K()}],context:{pageUri:window.location.href,pageName:"Blog article - sidebar",hutk:U()}};axios.post(`https://api.hsforms.com/submissions/v3/integration/submit/${s}/${a}`,b,i).then(M).catch(L=>{x(L)})},M=()=>{l.value="SUCCESS",m.value=!0,k(),dataLayer.push({event:"airio_subscribe_in_sentform"}),fbq("trackCustom","airio_subscribe_in_sentform"),fbq("trackCustom","airio_valuable_viewing")},x=s=>{l.value="FAILED",console.log("Form error",s)},y=s=>{d.value=s.response.data.error,l.value=null};return(s,a)=>t?(n(),r("div",R,[m.value?(n(),r("div",j,[e("h4",z,o(t.subscribe_text.success_title),1),e("p",J,o(t.subscribe_text.success_social),1),a[1]||(a[1]=B('<div class="article-sidebar-subscribe-social social"><div class="social-cont"><a href="https://www.facebook.com/AIRMediaTech" target="_blank" rel="nofollow noopener" class="social-item social-item-facebook"><svg class="svg-icon" width="9" height="17" viewBox="0 0 9 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.66212 5.96221V6.42239H5.1223H7.37614L6.75506 8.03978H5.1223H4.66212V8.49996V16.1606H2.65899V8.49996V8.03978H2.19881H0.709996V6.42239H2.19881H2.65899V5.96221V3.42445C2.65899 2.73291 2.92289 2.07329 3.38705 1.58979C3.85059 1.10693 4.47519 0.83933 5.1223 0.83933H6.61112V2.45672H6.0968C5.7101 2.45672 5.34323 2.61692 5.07576 2.89553C4.8089 3.17351 4.66212 3.54666 4.66212 3.932V5.96221Z" fill="black" stroke="black" stroke-width="0.920358"></path></svg></a><a href="https://www.instagram.com/airmediatech" target="_blank" rel="nofollow noopener" class="social-item social-item-insta"><svg class="svg-icon" width="16" height="17" viewBox="0 0 16 17" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.9775 4.89534C7.26457 4.89534 6.56766 5.10675 5.97488 5.50283C5.3821 5.89891 4.92009 6.46187 4.64726 7.12053C4.37444 7.77919 4.30305 8.50396 4.44214 9.20319C4.58122 9.90242 4.92453 10.5447 5.42865 11.0488C5.93276 11.5529 6.57505 11.8962 7.27427 12.0353C7.9735 12.1744 8.69827 12.103 9.35693 11.8302C10.0156 11.5574 10.5786 11.0954 10.9746 10.5026C11.3707 9.90981 11.5821 9.21289 11.5821 8.49996C11.5811 7.54426 11.201 6.62799 10.5253 5.95221C9.84948 5.27642 8.9332 4.89633 7.9775 4.89534ZM7.9775 10.903C7.50222 10.903 7.0376 10.7621 6.64242 10.4981C6.24723 10.234 5.93923 9.85869 5.75734 9.41958C5.57546 8.98048 5.52787 8.4973 5.62059 8.03114C5.71332 7.56499 5.94219 7.1368 6.27826 6.80073C6.61434 6.46465 7.04253 6.23578 7.50868 6.14305C7.97484 6.05033 8.45802 6.09792 8.89712 6.2798C9.33623 6.46169 9.71154 6.7697 9.97559 7.16488C10.2396 7.56007 10.3806 8.02468 10.3806 8.49996C10.3806 9.1373 10.1274 9.74853 9.67674 10.1992C9.22607 10.6499 8.61484 10.903 7.9775 10.9
103ZM11.5821 0.689941H4.37288C3.2579 0.691134 2.18894 1.13458 1.40053 1.92299C0.612124 2.7114 0.168673 3.78036 0.16748 4.89534V12.1046C0.168673 13.2196 0.612124 14.2885 1.40053 15.0769C2.18894 15.8653 3.2579 16.3088 4.37288 16.31H11.5821C12.6971 16.3088 13.7661 15.8653 14.5545 15.0769C15.3429 14.2885 15.7863 13.2196 15.7875 12.1046V4.89534C15.7863 3.78036 15.3429 2.7114 14.5545 1.92299C13.7661 1.13458 12.6971 0.691134 11.5821 0.689941ZM14.586 12.1046C14.586 12.9013 14.2695 13.6653 13.7062 14.2286C13.1428 14.792 12.3788 15.1084 11.5821 15.1084H4.37288C3.5762 15.1084 2.81216 14.792 2.24883 14.2286C1.6855 13.6653 1.36902 12.9013 1.36902 12.1046V4.89534C1.36902 4.09867 1.6855 3.33462 2.24883 2.77129C2.81216 2.20796 3.5762 1.89148 4.37288 1.89148H11.5821C12.3788 1.89148 13.1428 2.20796 13.7062 2.77129C14.2695 3.33462 14.586 4.09867 14.586 4.89534V12.1046ZM12.7837 4.59495C12.7837 4.77318 12.7308 4.94741 12.6318 5.09561C12.5328 5.2438 12.392 5.35931 12.2274 5.42751C12.0627 5.49572 11.8815 5.51356 11.7067 5.47879C11.5319 5.44402 11.3713 5.35819 11.2453 5.23217C11.1193 5.
110614 11.0334 4.94557 10.9987 4.77076C10.9639 4.59595 10.9817 4.41476 11.05 4.25009C11.1182 4.08543 11.2337 3.94469 11.3819 3.84567C11.5301 3.74665 11.7043 3.6938 11.8825 3.6938C12.1215 3.6938 12.3507 3.78874 12.5197 3.95774C12.6887 4.12674 12.7837 4.35595 12.7837 4.59495Z" fill="black"></path></svg></a><a href="https://www.linkedin.com/company/air-media-tech" target="_blank" rel="nofollow noopener" class="social-item social-item-linkedin"><svg class="svg-icon" width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6.1068 6.13192H8.0935V7.00899V7.46917H8.55368H8.61183H8.89623L9.02342 7.21479C9.35028 6.56106 10.2347 5.84121 11.577 5.84121C13.0312 5.84121 13.7918 6.3156 14.225 7.00638C14.6887 7.74572 14.8379 8.82212 14.8379 10.1486V15.1537H12.6768V10.73C12.6768 10.7165 12.6768 10.7029 12.6768 10.6892C12.6769 10.1358 12.6771 9.39457 12.442 8.78993C12.316 8.46606 12.1148 8.15716 11.7933 7.93262C11.4711 7.70761 11.0683 7.59535 10.5886 7.59535C10.1214 7.59535 9.72053 7.68736 9.3869 7.87352C9.05068 8.06112 8.81068 8.32884 8.6439 8.63461C8.3223 9.22421 8.26793 9.96706 8.26793 10.6137V15.0956H6.1068V6.13192ZM3.20964 15.2118H1.04852V6.13192H3.20964V15.2118ZM0.815953 2.53211C0.815953 1.79786 1.4239 1.18992 2.15815 1.18992C2.8924 1.18992 3.50035 1.79786 3.50035 2.53211C3.50035 3.26636 2.8924 3.87431 2.15815 3.87431C1.4239 3.87431 0.815953 3.26636 0.815953 2.53211Z" fill="black" stroke="black" stroke-width="0.920358"></path></svg></a></div></div>',1))])):(n(),r("div",O,[e("h4",Y,o(t.subscribe_text.title),1),e("form",{class:"form form-dark",onSubmit:E(V,["prevent"]),"data-hs-cf-bound":"false"},[e("div",{class:T(["form-group",{"is-invalid":C(c).email.$errors.length,"is-valid":!C(c).email.$invalid}])},[e("label",Q,o(t.your_email),1),I(e("input",{name:"email",type:"email",class:"form-control",placeholder:"Your e-mail","onUpdate:modelValue":a[0]||(a[0]=i=>C(c).email.$model=i)},null,512),[[N,C(c).email.$model]]),(n(!0),r($,null,q(C(c).email.$errors,i=>(n(),r("div",{class:"form-validation",key:i.$uid},[e("div",W,o(i.$message),1)]))),128))],2),e("button",{class:"btn w-full",type:"submit",disabled:l.value==="PENDING"},[D(o(t.subscribe_text.btn)+" ",1),a[2]||(a[2]=e("svg",{class:"svg-icon",width:"23",height:"15",viewBox:"0 0 23 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M22.218 7.70221L14.7788 0.484498L13.3861 1.91992L18.3152 6.70221L0.781938 6.70221L0.781938 8.70221L18.3152 8.70221L13.3861 13.4845L14.7788 14.9199L22.218 7.70221Z",fill:"white"})],-1))],8,X),d.value?(n(),r("div",e1,o(d.value),1)):f("",!0),e("div",a1,[e("p",s1,o(t.subscribe_text.social),1),a[3]||(a[3]=e("div",{class:"social-cont"},[e("a",{href:"https://www.facebook.com/AIRMediaTech",target:"_blank",onclick:` 2 dataLayer.push({event: 'airio_facebook_in_click'}); 3 fbq('trackCustom', 'airio_facebook_in_click'); 4 fbq('trackCustom', 'airio_valuable_viewing'); 5 `,rel:"nofollow noopener",class:"social-item social-item-facebook"},[e("svg",{class:"svg-icon",width:"9",height:"17",viewBox:"0 0 9 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M4.66212 5.96221V6.42239H5.1223H7.37614L6.75506 8.03978H5.1223H4.66212V8.49996V16.1606H2.65899V8.49996V8.03978H2.19881H0.709996V6.42239H2.19881H2.65899V5.96221V3.42445C2.65899 2.73291 2.92289 2.07329 3.38705 1.58979C3.85059 1.10693 4.47519 0.83933 5.1223 0.83933H6.61112V2.45672H6.0968C5.7101 2.45672 5.34323 2.61692 5.07576 2.89553C4.8089 3.17351 4.66212 3.54666 4.66212 3.932V5.96221Z",fill:"black",stroke:"black","stroke-width":"0.920358"})])]),e("a",{href:"https://www.instagram.com/airmediatech",target:"_blank",onclick:` 6 dataLayer.push({event: 'airio_instagram_in_click'}); 7 fbq('trackCustom', 'airio_instagram_in_click'); 8 fbq('trackCustom', 'airio_valuable_viewing'); 9 `,rel:"nofollow noopener",class:"social-item social-item-insta"},[e("svg",{class:"svg-icon",width:"16",height:"17",viewBox:"0 0 16 17",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M7.9775 4.89534C7.26457 4.89534 6.56766 5.10675 5.97488 5.50283C5.3821 5.89891 4.92009 6.46187 4.64726 7.12053C4.37444 7.77919 4.30305 8.50396 4.44214 9.20319C4.58122 9.90242 4.92453 10.5447 5.42865 11.0488C5.93276 11.5529 6.57505 11.8962 7.27427 12.0353C7.9735 12.1744 8.69827 12.103 9.35693 11.8302C10.0156 11.5574 10.5786 11.0954 10.9746 10.5026C11.3707 9.90981 11.5821 9.21289 11.5821 8.49996C11.5811 7.54426 11.201 6.62799 10.5253 5.95221C9.84948 5.27642 8.9332 4.89633 7.9775 4.89534ZM7.9775 10.9
903C7.50222 10.903 7.0376 10.7621 6.64242 10.4981C6.24723 10.234 5.93923 9.85869 5.75734 9.41958C5.57546 8.98048 5.52787 8.4973 5.62059 8.03114C5.71332 7.56499 5.94219 7.1368 6.27826 6.80073C6.61434 6.46465 7.04253 6.23578 7.50868 6.14305C7.97484 6.05033 8.45802 6.09792 8.89712 6.2798C9.33623 6.46169 9.71154 6.7697 9.97559 7.16488C10.2396 7.56007 10.3806 8.02468 10.3806 8.49996C10.3806 9.1373 10.1274 9.74853 9.67674 10.1992C9.22607 10.6499 8.61484 10.903 7.9775 10.903ZM11.5821 0.689941H4.37288C3.2579 0.691134 2.18894 1.13458 1.40053 1.92299C0.612124 2.7114 0.168673 3.78036 0.16748 4.89534V12.1046C0.168673 13.2196 0.612124 14.2885 1.40053 15.0769C2.18894 15.8653 3.2579 16.3088 4.37288 16.31H11.5821C12.6971 16.3088 13.7661 15.8653 14.5545 15.0769C15.3429 14.2885 15.7863 13.2196 15.7875 12.1046V4.89534C15.7863 3.78036 15.3429 2.7114 14.5545 1.92299C13.7661 1.13458 12.6971 0.691134 11.5821 0.689941ZM14.586 12.1046C14.586 12.9013 14.2695 13.6653 13.7062 14.2286C13.1428 14.792 12.3788 15.1084 11.5821 15.1084H4.37288C3.5762 15.1084 2.81216 14.792 2.24883 14.2286C1.6855 13.6653 1.36902 12.9013 1.36902 12.1046V4.89534C1.36902 4.09867 1.6855 3.33462 2.24883 2.77129C2.81216 2.20796 3.5762 1.89148 4.37288 1.89148H11.5821C12.3788 1.89148 13.1428 2.20796 13.7062 2.77129C14.2695 3.33462 14.586 4.09867 14.586 4.89534V12.1046ZM12.7837 4.59495C12.7837 4.77318 12.7308 4.94741 12.6318 5.09561C12.5328 5.2438 12.392 5.35931 12.2274 5.42751C12.0627 5.49572 11.8815 5.51356 11.7067 5.47879C11.5319 5.44402 11.3713 5.35819 11.2453 5.23217C11.1193 5.
910614 11.0334 4.94557 10.9987 4.77076C10.9639 4.59595 10.9817 4.41476 11.05 4.25009C11.1182 4.08543 11.2337 3.94469 11.3819 3.84567C11.5301 3.74665 11.7043 3.6938 11.8825 3.6938C12.1215 3.6938 12.3507 3.78874 12.5197 3.95774C12.6887 4.12674 12.7837 4.35595 12.7837 4.59495Z",fill:"black"})])]),e("a",{href:"https://www.linkedin.com/company/air-media-tech",target:"_blank",onclick:` 10 dataLayer.push({event: 'airio_linkedin_in_click'}); 11 fbq('trackCustom', 'airio_linkedin_in_click'); 12 fbq('trackCustom', 'airio_valuable_viewing'); 13 `,rel:"nofollow noopener",class:"social-item social-item-linkedin"},[e("svg",{class:"svg-icon",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},[e("path",{d:"M6.1068 6.13192H8.0935V7.00899V7.46917H8.55368H8.61183H8.89623L9.02342 7.21479C9.35028 6.56106 10.2347 5.84121 11.577 5.84121C13.0312 5.84121 13.7918 6.3156 14.225 7.00638C14.6887 7.74572 14.8379 8.82212 14.8379 10.1486V15.1537H12.6768V10.73C12.6768 10.7165 12.6768 10.7029 12.6768 10.6892C12.6769 10.1358 12.6771 9.39457 12.442 8.78993C12.316 8.46606 12.1148 8.15716 11.7933 7.93262C11.4711 7.70761 11.0683 7.59535 10.5886 7.59535C10.1214 7.59535 9.72053 7.68736 9.3869 7.87352C9.05068 8.06112 8.81068 8.32884 8.6439 8.63461C8.3223 9.22421 8.26793 9.96706 8.26793 10.6137V15.0956H6.1068V6.13192ZM3.20964 15.2118H1.04852V6.13192H3.20964V15.2118ZM0.815953 2.53211C0.815953 1.79786 1.4239 1.18992 2.15815 1.18992C2.8924 1.18992 3.50035 1.79786 3.50035 2.53211C3.50035 3.26636 2.8924 3.87431 2.15815 3.87431C1.4239 3.87431 0.815953 3.26636 0.815953 2.53211Z",fill:"black",stroke:"black","stroke-width":"0.920358"})])])],-1))]),e("p",{class:"article-form-policy",innerHTML:t.policy_auto},null,8,t1)],32)]))])):f("",!0)}};export{c1 as default};
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.