PageSourceSearch

https://www.vidnoz.com/js/common.js?t=1784278430

js vidnoz.com collected 2026-09-24 09:21:53 UTC 84,430 bytes, 1 lines download raw bytes

1function isMobile(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent)}const timestamp=(new Date).getTime();let myWindows;isMobile()&&!document.location.pathname.includes("flex-pricing.html")&&$('.appsignupbtn[product-name="flex"], .appsigninbtn[product-name="flex"], .page-google[data-productname="flex"]').css("pointer-events","none");const isRelease=location.host.startsWith("en-release"),VITE_API_URL="www.vidnoz.com"==location.host?"api.vidnoz.com":isRelease?"api-release.vidnoz.com":"api-test.vidnoz.com",interHost="www.vidnoz.com"==location.host?"https://api.vidnoz.com":isRelease?"https://api-release.vidnoz.com":"https://api-test.vidnoz.com",toolsHost="www.vidnoz.com"===location.host?"https://tool-api.vidnoz.com":isRelease?"https://tool-api-release.vidnoz.com":"https://tool-api-test.vidnoz.com",localUrl="www.vidnoz.com"==location.host?"https://app.vidnoz.com":"http://flex-test.vidnoz.com/",aiUrl="www.vidnoz.com"==location.host?"https://aiapp.vidnoz.com":"https://ai-test.vidnoz.com",mobProductLink="www.vidnoz.com"===location.host?"https://m.vidnoz.com":"https://m-test-f700c64e.vidnoz.com",aiappUrl=isMobile()?mobProductLink:aiUrl+"/index.html?name=ai",editorUrl="www.vidnoz.com"==location.host?"https://editor.vidnoz.com/":"https://editor-test.vidnoz.com/",cloneUrl="www.vidnoz.com"==location.host?"https://aiapp.vidnoz.com/clone-voice/index.html":"https://ai-test.vidnoz.com/clone-voice/index.html",flexUrl=localUrl+"/library",editorHost="www.vidnoz.com"===location.host?"https://editor.vidnoz.com":"https://editor-test.vidnoz.com",avatarUrl="www.vidnoz.com"==location.host?"https://avatar.vidnoz.com/":"https://avatar-test.vidnoz.com/";var XTASKVERSION=isRelease?"100.0.0":"2.0.0";const gotoProductLikn={ai:aiUrl,flex:flexUrl,aiapp:aiappUrl,editor:editorUrl,avatar:avatarUrl},gotoProductInfo={cloneCtx:{url:cloneUrl,name:"ai-clone"}};let pornDetectthreshold2,currentPagepath=window.location.pathname,currentPagelocation=window.location.href,cataLogue="www.vidnoz.com"==location.host?"https://www.vidnoz.com":"/preview",cataLogueAfter=window.location.pathname.replace(/^\/preview/,""),autoGoAppArr=["","/","/index.html","/video-for-marketing.html","/video-for-sales.html","/video-for-communication.html","/video-for-support.html","/screen-recorder.html","/pricing.html"],gotoApplibraryUrl="https://app.vidnoz.com/library",getoriginHost="www.vidnoz.com"==location.host?"https://app.vidnoz.com":"https://192.168.1.41:89";const reloadObj={"/index.html":"/","/blog":"/blog/","/blog/index.html":"/blog/"},locationHref=window.location.href,splitArr=locationHref.split("vidnoz.com");Object.keys(reloadObj).includes(splitArr[1])&&(window.location.href=splitArr[0]+"vidnoz.com"+reloadObj[splitArr[1]]);const localtionPath={"/":"home","/index.html":"home","/video-for-marketing.html":"marketing","/video-for-sales.html":"sales","/video-for-communication.html":"communication","/video-for-support.html":"support","/screen-recorder.html":"recorder","/sound-test.html":"sound","/text-to-speech.html":"text","/mic-test.html":"mic","/pricing.html":"pricing","/flex-pricing.html":"price","/create-video-online.html":"vcr","/cut-video.html":"cut","/video-hosting.html":"hosts","/share-video.html":"share","/video-email.html":"vemail","/online-teleprompter.html":"prompt","/image-background-remover.html":"bg","/ai-avatar-generator.html":"avatar","/ai-vocal-remover.html":"aivocal","/transcribe-video-to-text.html":"transcribe","/online-recorder.html":"flex","/ai-video-generator.html":"avg","/test-webcam.html":"webcam","/talking-head.html":"head","/about.html":"about","/training-and-development.html":"training","/e-learning.html":"learn","/custom-avatar.html":"customavatar","/ethics.html":"ethics","/privacy-policy.html":"hshotprivacy","/privacy.html":"privacy","/terms.html":"terms","/refundpolicy.html":"refund","/news.html":"news","/video-template.html":"template","/avatars.html":"aiavatar","/url-to-video.html":"urltovideo","/ai-voice-cloning.html":"voicecloning","/explainer-videos.html":"explainer","/ai-terms-of-service.html":"aiterms","/ai-privacy-policy.html":"aiprivacy","/vi
1deo-editor.html":"aieditor","/image-to-video-ai.html":"imagevideo","/kling-ai-video.html":"klingvideo","/hailuo-ai-video.html":"hailuovideo","/online-video-editor.html":"onlineditor","/chat-pdf.html":"chatpdf","/ai-voice.html":"aivoice","/ai-video-highlights.html":"videohighlights","/ai-kissing.html":"kissingphoto","/ghostface-voice-changer.html":"ghostfacevoicechange","/ai-image-describer.html":"imagedescriber","/free-ai-voice.html":"freevoice","/ai-lip-sync.html":"ailipsync","/ai-image-extender.html":"imgext","/aimusic-privacy-policy.html":"aimusicprivacy","/aimusic-terms-of-service.html":"aimusicterms","/ai-color-correction.html":"colorcorrect"},returnGastring=()=>localtionPath[cataLogueAfter],getGatg=e=>{e&&($(".signinnavbtn").attr("onclick","gtag('event', 'login_"+e+"_header')"),$(".signupnavbtn").attr("onclick","gtag('event', 'signup_"+e+"_header')"),$(".signupfootbtn").attr("onclick","gtag('event', 'signup_"+e+"_footer')"))};function getUrlParam(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),i=window.location.search.substr(1).match(t);return null!=i?encodeURI(i[2]):null}function Modal(e){const{iconType:t="",titleText:i="",isCancel:n="false",submitType:o="",content:a="",contentList:r="[]",isClose:l="true",submitText:s=""}=e;$("body").append(`\n    <confirm-dialog\n      titleText="${i}"\n      contentList='${r}'\n      iconType="${t}"\n      isClose=${l}\n      isCancel="${n}"\n      submitType="${o}"\n      content="${a}"\n      submitText="${s}">\n    </confirm-dialog>`)}function GetQueryString(e){var t=new RegExp("(^|&)"+e+"=([^&]*)(&|$)"),i=window.location.search.substr(1).match(t);return null!=i?decodeURIComponent(i[2]):null}function debounce(e,t){let i=null;return()=>{clearTimeout(i),i=setTimeout((()=>e()),t)}}function throttle(e,t){let i=!0,n=null;return()=>{if(!i)return!1;i=!1,n=setTimeout((()=>{e(),i=!0}),t)}}function formatSecondsToMinutes(e){if(e<=0||!e)return"0 min";const t=Math.floor(e/60),i=e%60;if(t>=1){let e="";e=1===t?"1 min":`${t} mins`;return`${e}${i>0?` ${i}s`:""}`}return`${i}s`}function openCenteredWindow(e,t,i){const n=(window.innerWidth-t)/2,o=`width=${t},height=${i},top=${(window.innerHeight-i)/2},left=${n},scrollbars=yes,resizable=yes`;window.open(e,"_blank",o)}let access_token=getCookie("access_token")?getCookie("access_token"):"",refresh_token=getCookie("refresh_token")?getCookie("refresh_token"):"",allowToken=["/web/recorder/newsharepage.html"],notTokenFlag=!1,request_header="";function jqAjaxPromise(e,t=(()=>{}),i="web"){access_token=getCookie("access_token")?getCookie("access_token"):"",refresh_token=getCookie("refresh_token")?getCookie("refresh_token"):"";let n=interHost+e.url;return e?.tools&&(n=toolsHost+e.url),request_header=getCookie("access_token")?{Authorization:"Bearer "+access_token}:{Authorization:""},request_header["X-TASK-VERSION"]=XTASKVERSION,request_header["Request-Language"]="en",request_header["Request-Origin"]=i,request_header["Request-App"]="ai",new Promise(((o,a)=>{let r=$.ajax({url:n,type:e.type||"GET",headers:{...request_header,...e.headers,"Request-Origin":i},data:{origin:i,...e.data||""},cache:!0,async:!0,timeout:3e5,xhrFields:{withCredentials:!0},xhr:()=>{var e=$.ajaxSettings.xhr();return e&&(e.onprogress=function(e){e.lengthComputable&&t(e)}),e},success:function(t){401==(t="string"==typeof t?JSON.parse(t):t).code?(notTokenFlag||e?.notRefreshToken||requestAtoken(refresh_token),e.cb401&&e.cb401({data:t,resolve:o,reject:a})):o(t)},error:function(e){a(e)},complete:function(e,t){"timeout"===t&&r.abort()}});e.cancelToken&&e.cancelToken.promise.then((()=>{a({status:"canceled"}),r.abort()})),e.signal&&(e.signal.aborted?r&&r.abort():e.signal.addEventListener("abort",(e=>{r&&r.abort()})))}))}function jqAjaxPromiseJson(e,t=(()=>{}),i="web"){access_token=getCookie("access_token")?getCookie("access_token"):"",refresh_token=getCookie("refresh_token")?getCookie("refresh_token"):"";const n=(e.interHost||interHost)+e.url;return request_header=getCookie("access_token")?{Authorization:"Bearer "+access_token}:{Authorization:""},request_header["X-TASK-VERSION"]=XTASKVERSION,new Promise(((o,a)=>{let r=$.ajax({url:n,type:e.type||"GET",headers:{...request_header,...e.headers,"Request-Origin":i,"content-Type":"application/json"},data:JSON.stringify({origin:i,...e.data||""}),cache:!0,async:!0,timeout:3e5,xhrFields:{withCredentials:!0},xhr:()=>{var e=$.ajaxSettings.xhr();return e&&(e.onprogress=function(e){e.lengthComputable&&t(e)}),e},success:function(t){401==(t="string"==typeof t?JSON.parse(t):t).code?(notTokenFlag||requestAtoken(refresh_token),e.cb401&&e.cb401({data:t,resolve:o,reject:a})):o(t)},error:function(e){a(e)},complete:function(e,t){"timeout"===t&&r.abort()}});e.cancelToken&&e.cancelToken.promise.then((()=>{a({status:"canceled"}),r.abort()}))}))}
1function jqAjaxPromiseFile(e,t=(()=>{}),i="web"){access_token=getCookie("access_token")?getCookie("access_token"):"";const n=(e.interHost||interHost)+e.url;return e.data.append("origin",i),new Promise(((i,o)=>{let a=$.ajax({url:n,type:e.type||"GET",data:e.data||"",cache:!0,async:!0,timeout:3e5,processData:!1,contentType:!1,headers:{Authorization:"Bearer "+access_token,...e.headers,"X-TASK-VERSION":XTASKVERSION},mimeType:"multipart/form-data",xhrFields:{withCredentials:!0},xhr:function(){var e=$.ajaxSettings.xhr();return e.upload&&(e.upload.onprogress=function(e){e.lengthComputable&&t(e)}),e},success:function(t){401==(t="string"==typeof t?JSON.parse(t):t).code?(notTokenFlag||requestAtoken(refresh_token),e.cb401&&e.cb401({data:t,resolve:i,reject:o})):i(t)},error:function(e){o(e)},complete:function(e,t){"timeout"===t&&a.abort()}});e.cancelToken&&e.cancelToken.promise.then((()=>{o({status:"canceled"}),a.abort()}))}))}const currentDate=new Date,timezoneOffset=currentDate.getTimezoneOffset(),browserLanguage=navigator.language||navigator.userLanguage;let checkCelebritySwitch=!0;var currentCountry="";const getWhiteList=()=>jqAjaxPromise({url:`/api/site/app-config?t=${(new Date).getTime()}`}).then((e=>{if(200===e.code){console.log(`app switch:${e.data.celeb_detect?.app_enable},tool switch: ${e.data.celeb_detect?.tool_enable}`),setCookie("generate_music_unit_price",e.data.generate_music_unit_price),setCookie("generate_music_photo_unit_price",e.data.generate_music_photo_unit_price),setCookie("pricing_ai_free_time",e.data.credit.giveaway.free.credit),setCookie("pricing_ai_vip_time",e.data.credit.giveaway.vip.credit),window.appConfigData=e.data;let t="",i=window.location.href.match(/\/([^\/?#]+)\.html/);if(i&&i[1]&&(t=window.location.href.match(/\/([^\/?#]+)\.html/)[1]),checkCelebritySwitch=e.data.celeb_detect?.tool_enable,console.log("current page: "+t),["ai-santa-video"].includes(t)&&(checkCelebritySwitch=e.data.celeb_detect?.app_enable),["talking-head"].includes(t)&&(checkCelebritySwitch=e.data.celeb_detect?.talking_photo_enable),setCookie("userCountryGradient",e.data.user_country_gradient),setCookie("high_light_duration_limit",e.data.high_light_duration_limit),setCookie("real_country",e.data.real_country),currentCountry=e.data.current_country.toUpperCase(),e.data.show_credit_banner&&e.data?.credit?.giveaway?.free?.credit&&!["/pricing.html","/flex-pricing.html","/ai-headshot-generator.html","/xmassale.html","/xssale.html","/bfsale.html","/vidnoz-ai-video-translator-pricing.html","/vidnoz-gen-pricing.html","/vidnoz-gen-pricinga.html","/vidnoz-gen-pricingc.html","/vidnoz-gen-pricinghl.html","/vidnoz-gen-pricingviphl.html","/vidnoz-gen-pricingbfr.html","/vidnoz-gen-pricingvipbfr.html","/vidnoz-gen-pricingxs.html","/vidnoz-gen-pricingvipxs.html","/vidnoz-gen-pricingvipes.html","/vidnoz-ai-studio-pricing.html","/vidnoz-ai-studio-app-pricing.html","/vidnoz-ai-studio-pricing-credit.html","/vidnoz-ai-studio-app-pricing-credit.html"].includes(cataLogueAfter)){let t=e.data.credit.giveaway.free.credit;$("#changetime").text(t),1==t?$("#changetimetext").text("Credit"):$("#changetimetext").text("Credits"),3!==e.data.user_country_gradient&&$(".header-banner").css("display","flex"),$(".home-header").css({top:"40px"}),document.documentElement.style.setProperty("--api-top","175px")}else $(".header-banner").hide();if(e.data.access_allowed_param.some((e=>getUrlParam(e.name)&&e.values.some((t=>getUrlParam(e.name).includes(t)))))&&setCookie("getPrList",JSON.stringify(e.data.access_allowed_param),30),getCookie("getPrList"))return;const{porn_detect_threshold:n,sensitive_word_interception_ratio:o}=e.data;void 0===n&&null===n||(pornDetectthreshold2=n)}else console.log("err")}));function onceFunc(e){let t=!1;const i=(...i)=>{if(!t)return t=!0,e(...i)};return i.clear=()=>{t=!1},i}const getWhiteListOnce=onceFunc((async()=>{try{await jqAjaxPromise({url:`/api/site/app-config?t=${(new Date).getTime()}`}).then((e=>{if(200===e.code){console.log(`app switch:${e.data.celeb_detect?.app_enable},tool switch: ${e.data.celeb_detect?.tool_enable}`),setCookie("generate_music_unit_price",e.data.generate_music_unit_price),setCookie("generate_music_photo_unit_price",e.data.generate_music_photo_unit_price),setCookie("pricing_ai_free_time",e.data.credit.giveaway.free.credit),setCookie("pricing_ai_vip_time",e.data.credit.giveaway.vip.credit),window.appConfigData=e.data;let t="",i=window.location.href.match(/\/([^\/?#]+)\.html/);if(i&&i[1]&&(t=window.location.href.match(/\/([^\/?#]+)\.html/)[1]),checkCelebritySwitch=e.data.celeb_detect?.tool_enable,console.log("current page: "+t),["ai-santa-video"].includes(t)&&(checkCelebritySwitch=e.data.celeb_detect?.app_enable),["talking-head"].includes(t)&&(checkCelebritySwitch=e.data.celeb_detect?.talking_photo_enable),setCookie("userCountryGradient",e.data.user_country_gradient),setCookie("high_light_duration_limit",e.data.high_light_duration_limit),setCookie("real_country",e.data.real_country),currentCountry=e.data.current_country.toUpperCase(),e.data.show_credit_banner&&e.data?.credit?.giveaway?.free?.credit&&!["/pricing.html","/flex-pricing.html","/ai-headshot-generator.html","/xmassale.html","/xssale.html","/bfsale.html","/vidnoz-ai-video-translator-pricing.html","/vidnoz-gen-pricing.html","/vidnoz-gen-pricinga.html","/vidnoz-gen-pricingc.html","/vidnoz-gen-pricinghl.html","/vidnoz-gen-pricingviphl.html","/vidnoz-gen-pricingbfr.html","/vidnoz-gen-pricingvipbfr.html","/vidnoz-gen-pricingxs.html","/vidnoz-gen-pricingvipxs.html","/vidnoz-gen-pricingvipes.html","/vidnoz-ai-studio-pricing.html","/vidnoz-ai-studio-app-pricing.html","/vidnoz-ai-studio-pricing-credit.html","/vidnoz-ai-studio-app-pricing-credit.html"].includes(cataLogueAfter)){let t=e.data.credit.giveaway.free.credit;$("#changetime").text(t),1==t?$("#changetimetext").text("Credit"):$("#changetimetext").text("Credits"),3!==e.data.user_country_gradient&&$(".header-banner").css("display","flex"),$(".home-header").css({top:"40px"}),document.documentElement.style.setProperty("--api-top","175px")}else $(".header-banner").hide();if(e.data.access_allowed_param.some((e=>getUrlParam(e.name)&&e.values.some((t=>getUrlParam(e.name).includes(t)))))&&setCookie("getPrList",JSON.stringify(e.data.access_allowed_param),30),getCookie("getPrList"))return;const{porn_detect_threshold:n,sensitive_word_interception_ratio:o}=e.data;void 0===n&&null===n||(pornDetectthreshold2=n)}else console.log("err")}))}catch(e){getWhiteListOnce.clear()}}));function cancelToken(e){if("function"!=typeof e)throw new Error("executor must be a function");let t;this.promise=new Promise((e=>{t=e})),e((()=>{t()}))}getWhiteListOnce();const requestAtoken=e=>{jqAjaxPromise({url:"/api/user/refresh-token",type:"POST",data:{refresh_token:refresh_token}}).then((e=>{200==e.code?(localStorage.setItem("access_token",e.data.access_token),setCookie("access_token",e.data.access_token,30),localStorage.setItem("refresh_token",e.data.refresh_token),setCookie("refresh_token",e.data.refresh_token,30),location.reload()):e.code}))};function chatPdf_storageFun(e,t=null){if(null===t)return JSON.parse(localStorage.getItem("chatPDF-"+e));""===t?localStorage.removeItem("chatPDF-"+e):localStorage.setItem("chatPDF-"+e,JSON.stringify(t))}const logoutPage=()=>{document.location.pathname;const e=chatPdf_storageFun("historyList");localStorage.clear(),chatPdf_storageFun("historyList",e),setCookie("refresh_token","",-1),setCo
1okie("access_token","",-1),setCookie("user_info","",-1);document.querySelectorAll(".home-btn").forEach((e=>{e.className.includes("login-user")?e.style.display="none":e.style.display=isMobile()?"block":"flex"}))},newRequestAtoken=async()=>{try{const e=await jqAjaxPromise({url:"/api/user/refresh-token",type:"POST",data:{refresh_token:getCookie("refresh_token")||""}}),t=e?.code,i=e?.data?.access_token,n=e?.data?.refresh_token;return 200===t&&i?(localStorage.setItem("access_token",i),setCookie("access_token",i,30),localStorage.setItem("refresh_token",n),setCookie("refresh_token",n,30),Promise.resolve()):(logoutPage(),Promise.reject())}catch(e){return logoutPage(),Promise.reject()}};window.newRequestAtoken=newRequestAtoken;const signOut=()=>{jqAjaxPromise({url:"/api/user/sign-out"}).then((e=>{200===e.code&&console.log("delete token")})).catch((e=>{console.error("delete fail:",e)})).finally((()=>{localStorage.removeItem("web_access_token"),localStorage.removeItem("refresh_token"),setCookie("refresh_token","",-1),localStorage.removeItem("web_userinfo"),window.location=localUrl+"/signup"}))},browseType=()=>{var e=window.navigator.userAgent,t=(e=navigator.userAgent).indexOf("OPR")>-1,i=e.indexOf("compatible")>-1&&e.indexOf("MSIE")>-1&&!t,n=e.indexOf("Edg")>-1,o=e.indexOf("Firefox")>-1,a=e.indexOf("Safari")>-1&&-1==e.indexOf("Chrome"),r=e.indexOf("Chrome")>-1&&e.indexOf("Safari")>-1;if(i){new RegExp("MSIE (\\d+\\.\\d+);").test(e);var l=parseFloat(RegExp.$1);return 7==l?"IE7":8==l?"IE8":9==l?"IE9":10==l?"IE10":11==l?"IE11":"0"}return o?"Firefox":t?"Opera":a?"Safari":n?"Microsoft Edge":r?"Chrome":void 0},checkEmail=e=>new RegExp("^\\w[-\\w.+]*@([A-Za-z0-9][-A-Za-z0-9]*\\.)+[A-Za-z]{2,14}$").test(e);function backVal(e){return"string"==typeof e?e:e.value}const containsVal=(e,t)=>backVal(e)==t,checkPwdEn=e=>{for(var t="",i=0;i<e.length;i++)e.charCodeAt(i)>0&&e.charCodeAt(i)<255&&(t+=e.charAt(i));return t},jugeUrl=e=>{const t=e;return!0===new RegExp(/http(s)?:\/\/([\w-]+\.)+[\w-]+(\/[\w- .\/?%&=]*)?/).test(t)};function judgeClient(){let e="";return e=/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?"ios":/(Android)/i.test(navigator.userAgent)?"android":"pc",e}function lazyLoad(e=1e3){const t=document.querySelectorAll("[data-original]"),i=judgeClient();let n=new IntersectionObserver((function(e,t){e.forEach((function(e){e.isIntersecting&&(!function(e){if("IMG"==e.nodeName||"IFRAME"==e.nodeName)e.src?e.src=e.getAttribute("data-original"):e.setAttribute("src",e.getAttribute("data-original")),e.addEventListener("load",(function(){e.removeAttribute("data-original")}));else{const n=e.getAttribute("data-original");if(n.includes("`")){const t=n.split("`");let i="";t.forEach((e=>{i+="url("+e+"),"})),i=i.substring(0,i.lastIndexOf(",")),e.style.backgroundImage=i}else e.style.backgroundImage="url("+e.getAttribute("data-original")+")";if(n.includes("---")){var t=n.split("---");e.style.backgroundImage="pc"===i?"url("+t[0]+")":"url("+t[1]+")"}e.addEventListener("load",(function(){e.removeAttribute("data-original")}))}}(e.target),t.unobserve(e.target))}))}),{rootMargin:`0px 0px ${e}px 0px`});t.forEach((e=>{n.observe(e)}))}function lazyLoadVideo(e=300){const t=document.querySelectorAll(".lazy-video"),i=new IntersectionObserver((e=>{e.forEach((({target:e,isIntersecting:t})=>{t&&(e.dataset.loaded||(e.dataset.src&&(e.src=e.dataset.src),e.querySelectorAll("source").forEach((e=>{e.dataset.src&&(e.src=e.dataset.src)})),e.load(),e.autoplay&&e.play().catch((()=>{})),e.dataset.loaded="true"),i.unobserve(e))}))}),{rootMargin:`${e}px`,threshold:.01});t.forEach((e=>i.observe(e)))}function scrollToPositions(e,t=0){e=$(e).offset().top-74+t;console.log(e),window.scrollTo({top:e,behavior:"smooth"})}function setSessionCookie(e,t){var i=location.hostname.includes(".vidnoz.com")?".vidnoz.com":location.hostname,n=escape(t)+";path=/;domain="+i;document.cookie=e+"="+n}function setCookie(e,t,i){var n=new Date;n.setDate(n.getDate()+i);var o=location.hostname.includes(".vidnoz.com")?".vidnoz.com":location.hostname,a=encodeURIComponent(t)+(null==i?"":";expires="+n.toUTCString())+";path=/;domain="+o;document.cookie=e+"="+a}function getCookie(e){const t=document.cookie.split(";");for(const i of t){const[t,n]=i.trim().split("=");if(t===e)return decodeURIComponent(n)}return null}const getinsurValue=()=>{let e="",t=document.location.pathname;const i=$(".record-blog-id").length>0;return console.log(i,"eeeeeeee"),"/"!=t&&"index.html"!=t||(e="en_index"),"/online-teleprompter.html"==t&&(e="en_prompt"),"/image-background-remover.html"==t&&(e="en_bg"),"/video-for-marketing.html"==t&&(e="en_marketing"),"/video-for-sales.html"==t&&(e="en_sales"),"/video-for-communication.html"==t&&(e="en_communication"),"/video-for-support.html"==t&&(e="en_support"),"/screen-recorder.html"==t&&(e="en_recorder"),"/video-email.html"==t&&(e="en_vemail"),"/text-to-speech.html"==t&&(e="en_aitts"),"/sound-test.html"==t&&(e="en_sound"),"/mic-test.html"==t&&(e="en_mic"),"/talking-head.html"==t&&(e="en_head"),"/test-webcam.html"==t&&(e="en_webcam"),"/cut-video-online.html"==t&&(e="en_cut"),"/share-video.html"==t&&(e="en_share"),"/video-hosting.html"==t&&(e="en_hosts"),"/create-video-online.html"==t&&(e="en_vcr"),"/pricing.html"==t&&(e="en_pricing"),"/flex-pricing.html"==t&&(e="en_price"),"/ai-video-generator.html"==t&&(e="en_avg"),"/online-recorder.html"==t&&(e="en_flex"),"/ai-headshot-generator.html"==t&&(e="en_headshotpage"),"/custom-avatar.html"==t&&(e="en_customavatar"),"/privacy-policy.html"==t&&(e="en_hshotprivacy"),"/ethics.html"==t&&(e="en_ethics"),"/avatars.html"==t&&(e="en_aiavatar"),t.includes("/blog/")&&(e="en_blog_hp"),t.includes("/video-creation/")&&!i&&(e="en_blog_vcre"),t.includes("/video-sales/")&&!i&&(e="en_blog_vsal"),t.includes("/video-marketing/")&&!i&&(e="en_blog_vmar"),t.includes("/video-communication/")&&!i&&(e="en_blog_vcom"),t.includes("/video-support/")&&!i&&(e="en_blog_vsup"),t.includes("/ai-solutions/")&&!i&&(e="en_blog_ais"),i&&(e=$(".record-blog-id").attr("data-id")),t.includes("/affiliate-solutions.html")&&(e="en_aff"),t.includes("/support/")&&(e="en_supportindex"),t.includes("/get-started/")&&(e="en_start"),t.includes("/recording-editing-sharing/")&&(e="en_res"),t.includes("/settings/")&&(e="en_settings"),t.includes("/how-to/")&&(e="en_howto"),t.includes("/face-swap.html")&&(e="en_faceswap"),t.includes("/ai-video-enhancer.html")&&(e="en_videoenhancer"),t.includes("/ai-avatar-generator.html")&&(e="en_avatargenerate"),t.includes("/ai-vocal-remover.html")&&(e="en_vocalremove"),t.includes("/ai-cartoon-generator.html")&&(e="en_cartoongenerate"),t.includes("/training-and-development.html")&&(e="en_training"),t.includes("/e-learning.html")&&(e="en_elearning"),t.includes("/transcribe-video-to-text.html")&&(e="en_video2text"),t.includes("/about.html")&&(e="en_about"),t.includes("/privacy.html")&&(e="en_privacy"),t.includes("/terms.html")&&(e="en_terms"),t.includes("/refundpolicy.html")&&(e="en_refund"),t.includes("/news.html")&&(e="en_news"),t.includes("/video-template.html")&&(e="en_template"),t.includes("/voice-changer.html")&&(e="en_voicechange"),t.includes("/girl-voice-changer.html")&&(e="en_girlvoicechange"),t.includes("/ghostface-voice-changer.html")&&(e="en_ghostfacevoicechange"),t.includes("/robot-voice-generator.html")&&(e="en_robotvoicegenerator"),t.includes("/ai-voice-cloning.html")&&(e="en_voicecloning"),t.includes("/explainer-videos.html")&&(e="en_explainer"),(t.includes("/partner.html")||t.includes("/awards.html"))&&(e="en_affpage"),t.includes("/vidnoz-gen-pricing.html")&&(e="en_toolpricing"),t.includes("/credit-history.html")&&(e="en_credithistory"),t.includes("/demo.html")&&(e="en_demo"),t.includes("/404.html")&&(e="en_404"),t.includes("/eula.html")&&(e="en_eula"),t.includes("/requests.html")&&(e="en_requests"),t.includes("/datadeletion.html")&&(e="en_datadeletion"),t.includes("/text-to-vi
1deo-ai.html")&&(e="en_textvideo"),t.includes("/ai-privacy-policy.html")&&(e="en_aiprivacy"),t.includes("/ai-terms-of-service.html")&&(e="en_aiterms"),t.includes("/magic-animate.html")&&(e="en_magicanimate"),t.includes("/video-translate.html")&&(e="en_videotranslate"),t.includes("/ai-voice-translator.html")&&(e="en_voicetranslator"),t.includes("/ai-dubbing.html")&&(e="en_videodubbing"),t.includes("/video-editor.html")&&(e="en_aieditor"),t.includes("/ai-script-generator.html")&&(e="en_scriptgenerator"),t.includes("/faceswap-privacy-policy.html")&&(e="en_fsprivacy"),t.includes("/faceswap-terms-of-service.html")&&(e="en_fsterms"),t.includes("/url-to-video.html")&&(e="en_urltovideo"),t.includes("/moderation-policy.html")&&(e="en_moderation"),t.includes("/image-combiner.html")&&(e="en_imagecombine"),t.includes("/ai-attractiveness-test.html")&&(e="en_attracttest"),t.includes("/image-to-video-ai.html")&&(e="en_imagevideo"),t.includes("/ai-music.html")&&(e="en_aimusic"),t.includes("/online-video-editor.html")&&(e="en_onlineditor"),t.includes("/ai-baby-generator.html")&&(e="en_aibabygenerator"),t.includes("/ai-ghibli-filter.html")&&(e="en_ghiblifilter"),t.includes("/ai-clothes-changer.html")&&(e="en_clotheschanger"),t.includes("/aitools/faceswap.html")&&(e="en_openapidocfs"),t.includes("/authentication/usage.html")&&(e="en_openapidocauth"),t.includes("/api-credentials.html")&&(e="en_apicredentials"),t.includes("/api-credentials-v2.html")&&(e="en_apicredentials"),t.includes("/openapi.html")&&(e="en_openapi"),t.includes("/chat-pdf.html")&&(e="en_chatpdf"),t.includes("/ai-video-compressor.html")&&(e="en_aivideocompressor"),t.includes("/ai-voice.html")&&(e="en_aivoice"),t.includes("/ai-video-highlights.html")&&(e="en_videohighlights"),t.includes("/ai-kissing.html")&&(e="en_aikissing"),t.includes("/ai-music-video-generator.html")&&(e="en_aimv"),t.includes("/audio-to-text.html")&&(e="en_audiototext"),t.includes("/ai-santa-video.html")&&(e="en_santavideos"),t.includes("/ai-kissing-video.html")&&(e="en_kissvideo"),t.includes("/kling-ai-video.html")&&(e="en_klingvideo"),t.includes("/hailuo-ai-video.html")&&(e="en_hailuovideo"),t.includes("/ai-video-wizard.html")&&(e="en_wizard"),t.includes("/ai-image-describer.html")&&(e="en_imagedescriber"),t.includes("/anime-kissing.html")&&(e="en_animekissing"),t.includes("/interactive-avatar.html")&&(e="en_interactive"),t.includes("/ai-image-generator.html")&&(e="en_imgenerator"),t.includes("/vidnoz-gen-home.html")&&(e="en_genhome"),t.includes("/api-interactive.html")&&(e="en_apinteractive"),t.includes("/api-pricing.html")&&(e="en_apipricing"),t.includes("/access-canva.html")&&(e="en_canva"),t.includes("/access-zapier.html")&&(e="en_zapier"),t.includes("/affiliate-terms.html")&&(e="en_afflterms"),t.includes("/ai-voice-cloning1.html")&&(e="en_voicecloning1"),t.includes("/bfsale.html")&&(e="en_bsfale"),t.includes("/creatorfund.html")&&(e="en_creatorfund"),t.includes("/custompricing.html")&&(e="en_custompricing"),t.includes("/discord-tool.html")&&(e="en_discord"),t.includes("/pricing-backup.html")&&(e="en_pricingbackup"),t.includes("/vidnoz-coupon-for-christmas.html")&&(e="en_couponforchris"),t.includes("/vidnoz-voice-pricing.html")&&(e="en_voicepricing"),t.includes("/affiliate-program-waitlist.html")&&(e="en_affwaitlist"),t.includes("/vidnoz-gen-mycreations.html")&&(e="en_gencreations"),t.includes("/video-effects.html")&&(e="en_videoeffects"),t.includes("/explore/")&&(e="en_genhome_taskinfo"),t.includes("/ai-image-remover.html")&&(e="en_imageremover"),t.includes("/free-ai-voice.html")&&(e="en_freevoice"),t.includes("/ai-lip-sync.html")&&(e="en_ailipsync"),t.includes("/aimusic-privacy-policy.html")&&(e="en_aimusicprivacy"),t.includes("/aimusic-terms-of-service.html")&&(e="en_aimusicterms"),t.includes("/ai-color-correction.html")&&(e="en_colorcorrection"),t.includes("/ai-image-extender.html")&&(e="en_imageextender"),t.includes("/ai-product-avatar.html")&&(e="en_aiproductavatar"),t.includes("/photo-avatar.html")&&(e="en_photoavatar"),t.includes("/ai-podcast-generator.html")&&(e="en_podcastgenerator"),t.includes("/ai-head-swap.html")&&(e="en_headswap"),t.includes("/ai-song-cover.html")&&(e="en_songc
1over"),t.includes("/nano-banana.html")&&(e="en_nanobanana"),t.includes("/aiclean-terms-of-service.html")&&(e="en_aicleanterms"),t.includes("/aiclean-privacy-policy.html")&&(e="en_aicleanprivacy"),t.includes("/photo-effects.html")&&(e="en_photoeffects"),t.includes("/vidnoz-gen-aitools.html")&&(e="en_aitools"),t.includes("/event-center.html")&&(e="en_genevent"),t.includes("/pressroom")?e="en_pressroom":t.includes("/news/")?e="en_newslog":t.includes("/blackfriday-sale.html")?e="affbfsale2025":t.includes("/christmas-sale.html")?e="affxmassale2025":t.includes("/docs/")?e="en_apidoc":t.includes("/social/")?e="en_null":t.includes("/education-discount.html")?e="en_edudiscount":t.includes("/example-")?e="en_remix":t.includes("/vidnoz-ai-video-translator-pricing.html")&&(e="en_transpricing"),t.includes("/ai-photo-editor.html")&&(e="en_photoeditor"),t.includes("/vidnoz-ai-studio-pricing.html")&&(e="en_studiopricing"),t.includes("/vidnoz-ai-studio-pricing-credit.html")&&(e="en_studiopricingcreditpack"),t.includes("/vidnoz-ai-studio")&&(e="en_aistudio"),isSeo()&&(e=e.replace("en","enseo")),e},isSeo=()=>{let e=!1,t=["google.","baidu.","yandex.","bing.","yahoo.","duckduckgo.",".naver.","go.mail.ru","qwant.","sougou.",".so.","rambler.",".ask.","daum.",".ecosia.",".startsiden.",".onetonline.","search.smt.docomo",".biglobe.","seznam."];const i=getDomainName(document.referrer);for(let n of t)if(i.includes(n))return e=!0,e};function getDomainName(e){if(e){let t=e.split("://")[1];return t=t.split("/")[0],t=t.split(":")[0],t}return e}const setInsurCookie=()=>{getCookie("insur")||isSeo()||getUrlParam("insur")||getCookie("insurLevel")||getinsurValue()&&setCookie("insur",getinsurValue(),30),isSeo()&&(getCookie("insur")&&(getCookie("insur").includes("seo")||getUrlParam("insur")||getCookie("insurLevel"))||getinsurValue()&&setCookie("insur",getinsurValue(),30)),getUrlParam("insur")&&(getCookie("insurLevel")||(setCookie("insur",getUrlParam("insur"),30),setCookie("insurLevel","strong",30),getCookie("aff")&&JSON.parse(getCookie("aff"))&&JSON.parse(getCookie("aff")).a_aid&&getCookie("insur")&&getCookie("insur").includes("googlecamp")&&(document.cookie="aff=; expires=Thu, 01 Jan 1971 00:00:00 UTC; path=/;domain=.vidnoz.com")));let e=null;if(null!==getUrlParam("a_aid")){addHeadTagScript({type:"text/javascript",id:"pap_x2s6df8d",src:"https://vidnoz.postaffiliatepro.com/scripts/fu8j21egzm"}).onload=function(){addHeadTagScript({type:"text/javascript"},"PostAffTracker.setAccountId('default1');\n        try {\n        PostAffTracker.track();\n        } catch (err) { }")},e={a_aid:getUrlParam("a_aid"),chan:getUrlParam("chan"),data1:getUrlParam("data1"),data2:getUrlParam("data2")},getCookie("insur")&&getCookie("insur").includes("googlecamp")&&(document.cookie="insur=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;domain=.vidnoz.com",document.cookie="insurLevel=; expires=Thu, 01 Jan 1970 00:00:00 UTC; path=/;domain=.vidnoz.com"),setCookie("aff",JSON.stringify(e),120)}null!==getUrlParam("page")&&(document.cookie=`page=${getUrlParam("page")};path=/;domain=.vidnoz.com`)},hostUrl=()=>{let e="www.vidnoz.com"==location.host?"https://www.vidnoz.com":"https://192.168.7.125:8084/preview";for(let t of $(".home-header .menu-main .menu-item  a"))$(t).attr("href",`${e}${$(t).attr("href")}`);for(let t of $(".footer-window  a"))$(t).attr("href",`${e}${$(t).attr("href")}`);for(let t of $(".blogwap  a"))$(t).attr("href",`${e}${$(t).attr("href")}`);for(let t of $(".footer-main .page-footer_item a"))$(t).attr("href").includes("http")||$(t).attr("href",`${e}${$(t).attr("href")}`);for(let t of $(".faq-bg .index-to-list"))$(t).attr("href",`${e}${$(t).attr("href")}`)},changeUsertype=e=>{switch(e){case"free":return"Free";case"vip":case"mk_vip":return"Premium";case"vip_expired":case"mk_vip_expired":return"Expired"}};function setHead(){const e=$(".appsignupbtn,.appsigninbtn").length;$(".login-user").hide().prev().show();const t=getCookie("user_info")?JSON.parse(getCookie("user_info")):"",i=getCookie("loginProduct")?getCookie("loginProduct"):aiUrl;if(isLogin()){for(var n=0;n<e;n++)$(".appsignupbtn,.appsigninbtn").eq(n).attr("href")&&($(".appsignupbtn,.appsigninbtn").eq(n).attr("href").includes("name=flex")?$(".appsignupbtn,.appsigninbtn").eq(n).attr("href",gotoProductLikn.flex):$(".appsignupbtn,.appsigninbtn").eq(n).attr("href",gotoProductLikn.aiapp));$(".login-user").css("display","flex").prev().hide(),location.pathname.includes("vidnoz-ai-video-translator-pricing.html")?$(".login-user .head-portrait>a").removeAttr("href").removeClass("appsigninbtn").on("click",(function(e){return e.preventDefault(),!1})):$(".login-user .head-portrait>a").attr("href",i).addClass("appsigninbtn"),t.head_portrait&&"/static/dist/images/icons/user-normal.svg"!==t.head_portrait&&$("#head-portrait").attr("src",t.head_portrait),$("#headMob").show().css("background",`url
1(${t.head_portrait?t.head_portrait:"https://www.vidnoz.com/img/_common/head.png"}) no-repeat`).css("background-size","cover"),$("#head-portrait-credit").attr("src",`${t.head_portrait?t.head_portrait:"https://www.vidnoz.com/img/_common/head.png"}`),$(`.${changeUsertype(t.usertype)}`).show().siblings().hide().parent(".user-tag").addClass(`${changeUsertype(t.usertype)}-style`)}else $("#headMob").hide()}function replacetoTalkingHead(){const e=judgeClient();let t="https://www.vidnoz.com/talking-head.html";if("pc"!==e){if(["/talking-head.html","/image-to-video-ai.html","/kling-ai-video.html","/hailuo-ai-video.html","/ai-avatar-generator.html","/text-to-speech.html","/image-background-remover.html","/ai-cartoon-generator.html","/ai-vocal-remover.html","/voice-changer.html","/girl-voice-changer.html","/ghostface-voice-changer.html","/robot-voice-generator.html","/face-swap.html","/vidnoz-gen-pricing.html","/video-translate.html","/ai-voice-translator.html","/ai-dubbing.html","/ai-ghibli-filter.html","/online-video-editor.html","/ai-clothes-changer.html","/api-credentials.html","/authentication/usage.html","/aitools/faceswap.html","/api-pricing.html","/vidnoz-coupon-for-christmas.html","/chat-pdf.html","/audio-to-text.html","/aff/bf-sale.html","/aff/xmas-sale.html","/pricing.html","/vidnoz-gen-pricinga.html","/vidnoz-gen-pricingc.html","/nano-banana.html","/transcribe-video-to-text.html","/cut-video-online.html","/online-teleprompter.html","/vidnoz-gen-pricinghl.html","/vidnoz-gen-pricingviphl.html","/vidnoz-gen-pricingviphl.html","/vidnoz-gen-pricingbfr.html","/vidnoz-gen-pricingvipbfr.html","/vidnoz-gen-pricingxs.html","/vidnoz-gen-pricingvipxs.html","/vidnoz-gen-pricingvipes.html"].includes(cataLogueAfter))return $(".home-header .appsignupbtn,.page-footer .appsignupbtn,.footer-window .appsignupbtn").attr("href",t),$(".home-header .appsigninbtn,.page-footer .appsigninbtn,.footer-window .appsigninbtn").attr("href",t),void $(".page-google,.page-button").off("click").off("mousedown").on("click",(function(){window.location.href=t}));$(".appsignupbtn").attr("href",t),$(".appsigninbtn").attr("href",t),$(".page-google,.page-button").off("click").off("mousedown").on("click",(function(){window.location.href=t}))}}function initLoginDialog(e=""){const t=(e,t="module")=>{const i=document.createElement("script");i.src=e,i.type=t;(document.head||document.getElementsByTagName("head")[0]).appendChild(i)},i=e||".";t(i+`/js/commonSignin/login-dialog.js?t=${timestamp}`),t(i+`/js/confirm-dialog/index.js?t=${timestamp}`),"undefined"==typeof moment&&(t("https://static-alter1.vidnoz.com/web/js/moment.min.js","text/javascript"),t("https://static-alter1.vidnoz.com/web/js/locales.min.js","text/javascript"));const n=document.createElement("link");n.rel="stylesheet",n.href=i+`/js/commonSignin/selfComponent.css?t=${timestamp}`;(document.head||document.getElementsByTagName("head")[0]).appendChild(n),$("body").append("<my-component></my-component>")}function locationEvent(e){let t;gotoProductInfo.cloneCtx.name,t=gotoProductInfo.cloneCtx.url,location.href=t}$(".open-youtube-iframe,#open-youtube-iframe").click((function(e){$(e.target).is(".right-area, .right-area *")||($("#video-overlay .video-frame").attr("src","https://www.youtube.com/embed/G49e6RlEWZ8"),$("#video-overlay").fadeIn())})),$("#close-button, #video-overlay").click((function(){$("#video-overlay").fadeOut(),$("#video-overlay .video-frame").attr("src","")})),$(".top-close").click((function(){$(".header-banner").hide(),$(".home-header").css({top:0})})),$((function(){var e;if(lazyLoad(),lazyLoadVideo(),(e=localtionPath[cataLogueAfter])&&($(".signinnavbtn").attr("onclick","gtag('event', 'login_"+e+"_header')"),$(".signupnavbtn").attr("onclick","gtag('event', 'signup_"+e+"_header')"),$(".signupfootbtn").attr("onclick","gtag('event', 'signup_"+e+"_footer')")),setInsurCookie(),null!=getCookie("user_info")?localStorage.setItem("web_userinfo",getCookie("user_info")):localStorage.removeItem("web_userinfo"),null!=getCookie("access_token")?localStorage.setItem("web_access_token",getCookie("access_token")):localStorage.removeItem("web_access_token"),setHead(),replacetoTalkingHead(),isMobile())$(".pc_show").hide(),$(".moblie-show").show();else{for(let e of $(".appsignupbtn"))$(e).attr("href")&&$(e).attr("href").includes("name=ai")&&!$(e).hasClass("modal-signup")&&$(e).attr("href",gotoProductLikn.aiapp);$(".moblie-show").hide(),$(".pc_show").show()}"/online-recorder.html"!==document.location.pathname&&$(".page-google").remove(),localStorage.removeItem("toolsPosition"),localStorage.removeItem("productToPage")})),$(document).on("click",".appsignupbtn,.appsigninbtn",(function(e){e.stopPropagation(),e.preventDefault(),$(this).hasClass("ai-wizard")?setCookie("ai_video_open",1,30):setCookie("ai_video_open","",-1),$(this).hasClass("signuptopbanner")&&setCookie("insur","en_top")}));let productName="ai";function loginButtonEvent(){$(document).on("click",".appsignupbtn,.appsigninbtn",(function(e){if(toolLoginToTakingHeadPage())return;e.stopPropagation(),e.preventDefault();const t=getUrlParam("name");productName="editor"===t?"editor":"interactive"===t?"interactive":$(this).attr("product-name")||"ai";
1const i=$(this).attr("data-product-type")||null,n=$(this).attr("product-position"),o=$(this).attr("product-to-page"),a=$(this).attr("product-params"),r=$(this).attr("product-name");if(isLogin()&&isMobile()&&"editor"===r)location.href="https://editor.vidnoz.com/";else if(isLogin()&&isMobile())location.href=mobProductLink;else if(!isLogin()||o)isLogin()&&o?location.href=o:(o?localStorage.setItem("productToPage",o):localStorage.removeItem("productToPage"),localStorage.setItem("loginProductName",productName),localStorage.setItem("loginPageName",i),"isTool"===n?localStorage.setItem("toolsPosition","true"):"isTool-no-reloading"===n?localStorage.setItem("toolsPosition","false"):localStorage.removeItem("toolsPosition"),$("my-component").length&&$("my-component")[0].showLoginDialog(),$("my-component").off("loginsuccess").on("loginsuccess",(()=>{$(this).hasClass("signuptopbanner")&&(location.href=o),window.dispatchEvent(new CustomEvent("loginsuccessFromTop",{detail:{value:a}}))})));else if(!toCurrentLangApp(productName)){let e;if("ai"===productName&&i)return locationEvent(i),!1;e="ai"===productName?gotoProductLikn.aiapp:"editor"===productName?gotoProductLikn.editor:"interactive"===productName?gotoProductLikn.avatar:gotoProductLikn.flex,location.href=e}}))}function showLoginWindow(e={}){if(toolLoginToTakingHeadPage())return;const{fn:t=(()=>{}),productName:i="ai",isReloading:n=!1,wait:o=null,closeFn:a=(()=>{})}=e;$("my-component").off("loginsuccess").on("loginsuccess",(function(e){e?.detail?t(e.detail):t()})),$("my-component").off("cancelbtnclick").on("cancelbtnclick",(function(e){a()})),localStorage.setItem("loginProductName",i),n?localStorage.setItem("toolsPosition",n):localStorage.setItem("toolsPosition","false"),$("my-component").length&&$("my-component")[0].showLoginDialog(o)}function toolLoginToTakingHeadPage(){if("pc"===judgeClient())return!1;return!(["/talking-head.html","/image-to-video-ai.html","/kling-ai-video.html","/hailuo-ai-video.html","/ai-avatar-generator.html","/text-to-speech.html","/image-background-remover.html","/ai-cartoon-generator.html","/ai-vocal-remover.html","/voice-changer.html","/girl-voice-changer.html","/ghostface-voice-changer.html","/robot-voice-generator.html","/face-swap.html","/vidnoz-gen-pricing.html","/video-translate.html","/ai-voice-translator.html","/ai-dubbing.html","/ai-ghibli-filter.html","/online-video-editor.html","/ai-clothes-changer.html","/api-credentials.html","/api-credentials-v2.html","/authentication/usage.html","/aitools/faceswap.html","/api-pricing.html","/vidnoz-coupon-for-christmas.html","/chat-pdf.html","/audio-to-text.html","/aff/bf-sale.html","/aff/xmas-sale.html","/pricing.html","/vidnoz-gen-pricinga.html","/vidnoz-gen-pricingc.html","/nano-banana.html","/transcribe-video-to-text.html","/cut-video-online.html","/online-teleprompter.html","/vidnoz-gen-pricinghl.html","/vidnoz-gen-pricingviphl.html","/vidnoz-gen-pricingbfr.html","/vidnoz-gen-pricingvipbfr.html","/vidnoz-gen-pricingxs.html","/vidnoz-gen-pricingvipxs.html","/vidnoz-gen-pricingvipes.html"].includes(cataLogueAfter)||!isLogin())&&(location.href=mobProductLink,!0)}function getEastEightEnglish(){const e=(new Date).getTimezoneOffset(),t=navigator.language||navigator.userLanguage;return-480===e&&("en-us"===t.toLowerCase()||"en"===t.toLowerCase())}const noGoogleOneTopPage=["/ai-headshot-generator.html","/index.html","/"];function googleOneTopInit(){const e=document.createElement("script");e.src="https://accounts.google.com/gsi/client",e.async=!0;(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}function loginCallbackSucccess(e){const t=decodeJWT(e.credential);jqAjaxPromise({url:"/api/third-login/easy-google-login",type:"POST",data:{email:t.email,name:t.name,thirdId:t.sub,firstName:t.given_name,lastName:t.family_name,headPortrait:t.picture,lan:"en",aff:getCookie("aff")?JSON.parse(getCookie("aff")):"",insur:getCookie("insur")}}).then((e=>{if(200===e.code){console.log("res",e);const t={id:e.data.id,email:e.data.email,first_name:e.data.first_name,last_name:e.data.last_name,head_portrait:e.data.head_portrait,usertype:e.data.type};setCookie("access_token",e.data.access_token,30),setCookie("refresh_token",e.data.refresh_token,30),setCookie("loginProduct",e.data.redirect_url,30),setCookie("fallBackLang","en",30),localStorage.setItem("user_info",JSON.stringify(t)),setCo
1okie("user_info",JSON.stringify(t),30),setHead(),window.dispatchEvent(new CustomEvent("googleonetopsuccess"));const i=["/talking-head.html","/image-to-video-ai.html","/kling-ai-video.html","/hailuo-ai-video.html","/ai-avatar-generator.html","/text-to-speech.html","/image-background-remover.html","/ai-cartoon-generator.html","/ai-vocal-remover.html","/face-swap.html","/vidnoz-gen-pricing.html","/video-translate.html","/ai-dubbing.html","/ai-voice-translator.html","/ai-ghibli-filter.html","/ai-clothes-changer.html","/api-credentials.html","/api-credentials-v2.html","/authentication/usage.html","/aitools/faceswap.html","/api-pricing.html","/chat-pdf.html","/audio-to-text.html"],n="/online-recorder.html";if(productName="editor"===getUrlParam("name")?"editor":$(this).attr("product-name")||"ai",!isMobile()&&"editor"===productName)return void(location.href="https://editor.vidnoz.com/");isMobile()&&!i.includes(cataLogueAfter)?location.href=mobProductLink:i.includes(cataLogueAfter)||n===cataLogueAfter?n===cataLogueAfter&&(location.href="https://app.vidnoz.com/library"):toCurrentLangApp()||(location.href="https://aiapp.vidnoz.com/"),location.reload()}})).catch((e=>{console.log("ero",e)}))}function decodeJWT(e){const t=e.split(".")[1].replace(/-/g,"+").replace(/_/g,"/"),i=decodeURIComponent(escape(atob(t)));return JSON.parse(i)}function isLogin(){return!!(getCookie("user_info")&&getCookie("access_token")&&getCookie("refresh_token"))}function addHeadTagScript(e={},t=""){const i=document.createElement("script");for(const[t,n]of Object.entries(e))i[t]=n;t&&(i.innerHTML=t);return(document.head||document.getElementsByTagName("head")[0]).appendChild(i),i}isLogin()||noGoogleOneTopPage.includes(cataLogueAfter)||getEastEightEnglish()||(googleOneTopInit(),$("body").append('\n  <div id="g_id_onload"\n      data-client_id="909524227558-9mnah1lj5cv8sgeacsb97a9p8lomd10a.apps.googleusercontent.com"\n      data-itp_support="true"\n      data-callback="loginCallbackSucccess">\n  </div>'));var localeArea={ja:"ja-JP",de:"de-DE",en:"en-US",es:"en-US",fr:"fr-FR",it:"it-IT",pt:"pt-BR"};async function showCreditDes(){const e="www.vidnoz.com"===location.host?"https://tool-api.vidnoz.com":"https://tool-api-test.vidnoz.com",t=await fetch(`${e}/ai/public/get-country-type`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:getCookie("access_token")?`Bearer ${getCookie("access_token")}`:""}});"T1"!=(await t.json()).data.name&&$(".credit_des_bg_content").addClass("t2")}function getPreferredLanguage(){let e="";e=$("html").attr("lang").substring(0,2);var t=["en","de","es","fr","it","pt","ja","ar"].filter((function(t){return t===e}));return t.length>0?t[0]:"en"}var formatter=new Intl.NumberFormat(localeArea[getPreferredLanguage()],{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0}),formatterFix2=new Intl.NumberFormat(localeArea[getPreferredLanguage()],{style:"decimal",minimumFractionDigits:2,maximumFractionDigits:2});async function changeHeaderCredit(e,t){if($("#head_credit_num").text(formatter.format(e)),$("#item_credits_num1").text(formatter.format(e)),$("#item_credits_num2").text(formatter.format(e)),$("#m_item_credits_num1").text(formatter.format(e)),$("#m_item_credits_num2").text(formatter.format(e)),$(".header-credits .credits-num").text(formatter.format(e)),e<=1?($("#head_credit_t1").hide(),$("#head_credit_t2").show(),$("#list_credit_t1").hide(),$("#list_credit_t2").show(),$("#m_list_credit_t1").hide(),$("#m_list_credit_t2").show()):($("#head_credit_t1").show(),$("#head_credit_t2").hide(),$("#list_credit_t1").show(),$("#list_credit_t2").hide(),$("#m_list_credit_t1").show(),$("#m_list_credit_t2").hide()),1==t){$(".credit_des_bg_content").addClass("sub").removeClass("t2");const e="www.vidnoz.com"===location.host?"https://tool-api.vidnoz.com":"https://tool-api-test.vidnoz.com",t=await fetch(`${e}/ai/public/get-country-type`,{method:"GET",headers:{"Content-Type":"application/json",Authorization:getCookie("access_token")?`Bearer ${getCookie("access_token")}`:""}});if("T1"!=(await t.json()).data.name){let e=$(".credit_des_bg_content").html();e=e.replace("75",50),$(".credit_des_bg_content").html(e)}}}function showCreditBox(){const e=document.location.pathname;(e.includes("/vidnoz-gen-pricing.html")||e.includes("/vidnoz-gen-pricinga.html")||e.includes("/vidnoz-gen-pricingc.html")||e.includes("/credit-history.html")||e.includes("/credit-historya.html")||e.includes("/credit-historyc.html")||e.includes("/vidnoz-gen-pricinghl.html")||e.includes("/vidnoz-gen-pricingviphl.html")||e.includes("/vidnoz-gen-pricingbfr.html")||e.includes("/vidnoz-gen-pricingvipbfr.html")||e.includes("/vidnoz-gen-pricingxs.html")||e.includes("/vidnoz-gen-pricingvipxs.html")||e.includes("/vidnoz-gen-pricingvipes.html"))&&$(".credit_menu").remove(),isLogin()&&document.body.clientWidth<=1200?($(".header-credits-box").addClass("show"),$(".menu-item.credit").show()):($(".header-credits-box").removeClass("show"),$(".menu-item.credit").hide())}function toCurrentLangApp(e="ai"){if("ai"!==e)return!1;if(-1!==["KR","NL","SE","TW"].indexOf(currentCountry)){const e=`https://aiapp-${currentCountry.toLocaleLowerCase()}.vidnoz.com/`;return location.href=e,!0}if(-1!==["ko","nl","sv","zh-tw"].indexOf(browserLanguage.toLowerCase())){const e=`https://aiapp-${{ko:"kr",nl:"nl",sv:"se","zh-tw":"tw"}[browserLanguage.toLowerCase()]}.vidnoz.com/`;return location.href=e,!0}return!1}$(".header-credits-box").on("click",(function(e){const t=document.location.pathname;
1if(t.includes("/image-to-video-ai.html"))window.open("/vidnoz-gen-pricing.html");else if(t.includes("/ai-music.html"))$(".photo-content").hasClass("active")?window.open("/vidnoz-gen-pricing.html?from=photomusic"):window.open("/vidnoz-gen-pricing.html?from=music");else if(t.includes("/video-translate.html")||t.includes("/ai-dubbing.html")||t.includes("/ai-voice-translator.html"))window.open("/vidnoz-ai-video-translator-pricing.html");else if(t.includes("/vidnoz-ai-video-translator-pricing.html"))window.open("/video-translate.html");else{if(t.includes("/ai-music-video-generator.html"))return void window.open("/vidnoz-gen-pricing.html");if(t.includes("/text-to-speech.html"))return window.open("/vidnoz-gen-pricing.html"),void gtag("event","click_aitts_navcreditbtn");if(t.includes("/audio-to-text.html"))return window.open("/vidnoz-voice-pricing.html"),gtag("event","click_audiototext_navcredit"),void setCookie("st","audiototext_navcredit")}})),$("#get_credit1, #get_credit2, #m_get_credit1, #m_get_credit2").on("click",(function(){setCookie("st","navget")})),$(".credit-box .nav_title").on("click",(function(){const e=document.location.pathname;let t;e.includes("/video-translate.html")||e.includes("/ai-voice-translator.html")||e.includes("/ai-dubbing.html")?(t="/vidnoz-ai-video-translator-pricing.html",e.includes("/video-translate.html")?(gtag("event","click_videotranslate_minleft"),setCookie("st","translator_navtimebtn")):e.includes("/ai-voice-translator.html")?(gtag("event","click_voicetranslate_minleft"),setCookie("st","voicetranslator_navtimebtn")):e.includes("/ai-dubbing.html")&&(gtag("event","click_videodubbing_minleft"),setCookie("st","videodubbing_navtimebtn"))):e.includes("/vidnoz-voice-pricing.html")?t="/vidnoz-voice-pricing.html":e.includes("/ai-music-video-generator.html")?(t="/vidnoz-gen-pricing.html",gtag("event","click_aimv_navcredit"),setCookie("st","aimv_creditbtn")):e.includes("/text-to-speech.html")?(t="/vidnoz-gen-pricing.html",gtag("event","click_aitts_navcreditbtn")):e.includes("ai-music.html")?t=$(".photo-content").hasClass("active")?"/vidnoz-gen-pricing.html?from=photomusic":"/vidnoz-gen-pricing.html?from=music":e.includes("/vidnoz-ai-video-translator-pricing.html")?t="/video-translate.html":e.includes("/audio-to-text.html")?(t="/vidnoz-voice-pricing.html",gtag("event","click_audiototext_navcredit"),setCookie("st","audiototext_navcredit")):(t="/vidnoz-gen-pricing.html",gtag("event","click_imagevideo_navcreditbtn"),setCookie("st","navcreditbtn")),window.open(t)})),$(".list_credits, #m_list_credits").on("click",(function(){const e="www.vidnoz.com"===location.host?"https://www.vidnoz.com/credit-history.html":"https://en-test.vidnoz.com/credit-history.html",t=document.location.pathname;t.includes("/vidnoz-voice-pricing.html")?window.open("https://aivoice.vidnoz.com/credits-history"):t.includes("vidnoz-gen-pricingc")?window.open("https://www.vidnoz.com/credit-historyc.html"):t.includes("vidnoz-gen-pricinga")?window.open("https://www.vidnoz.com/credit-historya.html"):window.open(e),gtag("event","click_imagevideo_profilecreditbtn")})),$(".list_view, #m_list_view").on("click",(function(){const e=document.location.pathname;if(e.includes("/video-translate.html")||e.includes("/ai-voice-translator.html")||e.includes("/ai-dubbing.html")||e.includes("/image-to-video-ai.html")||e.includes("/kling-ai-video.html")||e.includes("/hailuo-ai-video.html")||e.includes("/text-to-speech.html")){let t;e.includes("/video-translate.html")?(t="videotranslate",gtag("event","click_videotranslate_profilefilebtn")):e.includes("/ai-voice-translator.html")?(t="voicetranslate",gtag("event","click_voicetranslate_profilefilebtn")):e.includes("/ai-dubbing.html")?(t="videodubbing",gtag("event","click_videodubbing_profilefilebtn")):e.includes("/image-to-video-ai.html")?(t="imagetovideo",gtag("event","click_imagevideo_profilefilebtn")):e.includes("/kling-ai-video.html")?(t="klingvideo",gtag("event","click_klingvideo_profilefilebtn")):e.includes("/hailuo-ai-video.html")?(t="hailuovideo",gtag("event","click_hailuovideo_profilefilebtn")):e.includes("/text-to-speech.html")&&(t="audio"),isMobile()?window.open(`${mobProductLink}/library?openTab=${t}`):window.open(`${aiUrl}/asset/index.html?openTab=${t}`)}else e.includes("/vidnoz-voice-pricing.html")?window.open("https://aivoice.vidnoz.com/mycreations"):window.open(`${aiUrl}/asset/index.html`)})),$(".list_api, #m_list_api").on("click",(function(){window.open("/api-credentials-v2.html")})),$(".list_signout, #m_list_signout").on("click",(async function(){200===(await jqAjaxPromise({url:"/api/user/sign-out"})).code&&console.log("delete token");const e=document.location.pathname;e.includes("/vidnoz-gen-pricing.html")||e.includes("/credit-history.html")||e.includes("/image-to-vi
1deo-ai.html")?gtag("event","click_imagevideo_profileoutbtn"):e.includes("/video-translate.html")?gtag("event","click_videotranslate_profileoutbtn"):e.includes("/ai-voice-translator.html")?gtag("event","click_voicetranslate_profileoutbtn"):e.includes("/ai-dubbing.html")?gtag("event","click_videodubbing_profileoutbtn"):e.includes("/kling-ai-video.html")?gtag("event","click_klingvideo_profileoutbtn"):e.includes("/hailuo-ai-video.html")&&gtag("event","click_hailuovideo_profileoutbtn");const t=chatPdf_storageFun("historyList");localStorage.clear(),chatPdf_storageFun("historyList",t),setCookie("refresh_token","",-1),setCookie("access_token","",-1),setCookie("user_info","",-1),location.reload()})),$(".login-user .credit-box").on("mouseenter",(function(){const e=getCookie("user_info")?JSON.parse(getCookie("user_info")):"",t=document.location.pathname;t.includes("/vidnoz-gen-pricing.html")||t.includes("/credit-history.html")||(t.includes("/video-translate.html")?"vip"!==e?.usertype?gtag("event","show_videotranslate_freeminpop"):gtag("event","show_videotranslate_prominpop"):t.includes("/ai-voice-translator.html")?"vip"!==e?.usertype?gtag("event","show_voicetranslate_freeminpop"):gtag("event","show_voicetranslate_prominpop"):t.includes("/ai-dubbing.html")?"vip"!==e?.usertype?gtag("event","show_videodubbing_freeminpop"):gtag("event","show_videodubbing_prominpop"):t.includes("/kling-ai-video.html")?gtag("event","show_klingvideo_navprofile"):t.includes("/hailuo-ai-video.html")?gtag("event","show_hailuovideo_navprofile"):t.includes("/ai-music-video-generator.html")&&gtag("event","show_aimv_creditbanner"))})),$(".head-box").on("mouseenter",(function(){const e=document.location.pathname;e.includes("/vidnoz-gen-pricing.html")||e.includes("/credit-history.html")||e.includes("/image-to-video-ai.html")||(e.includes("/video-translate.html")?gtag("event","show_videotranslate_profilepop"):e.includes("/ai-voice-translator.html")?gtag("event","show_voicetranslate_profilepop"):e.includes("/ai-dubbing.html")?gtag("event","show_videodubbing_profilepop"):e.includes("/kling-ai-video.html")?gtag("event","show_klingvideo_navprofile"):e.includes("/hailuo-ai-video.html")&&gtag("event","show_hailuovideo_navprofile"))})),$(".face_credit_plan").on("click",(function(){setCookie("st","creditpricingplan")}));const notAddCookies=["/pricing.html","/flex-pricing.html","/vidnoz-gen-pricing.html","/api-pricing.html"];if(!notAddCookies.includes(window.location.pathname)){const e=document.createElement("script");e.src="//cdn.cookie-script.com/s/89746fee8434869589e4f74b3ca4a058.js",e.type="text/javascript";(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}function handleBtnMsClass(e=!1){const t=document.querySelectorAll(".btnM");for(let i=0;i<t.length;i++){const n=t[i];e?n.classList.add("downDisabled"):n.classList.remove("downDisabled")}}function handleDownloadClass(e=!1){const t=[".btn.download_video",".btn_download",".click_download",".show__img__download",".popup_success .repeat",".main__content__left .left__show__video__box .download__btn",".tips__box .download__again",".btn_download_clip",".show__img__download_clip",".gened__bottom_download","#canClick"];for(let i=0;i<t.length;i++){const n=t[i],o=document.querySelectorAll(n);if(o?.length)for(let t=0;t<o.length;t++){const i=o[t];e?i.classList.add("downDisabled"):i.classList.remove("downDisabled")}}}function removeAllDownDisabled(){const e=document.querySelectorAll(".downDisabled");for(let t=0;t<e.length;t++){e[t].classList.remove("downDisabled")}}async function newDownloadFile(e="",t,i,n,o,a){handleBtnMsClass(!0),handleDownloadClass(!0);try{let r={id:e};t&&(r.img_key=t),i&&(r.width=i),n&&(r.height=n),o&&(r.size=o),a&&(r.action=a);const l=await jqAjaxPromise({tools:!0,url:"/ai/source/download-file",type:"POST",data:r,cb401({resolve:e}){logoutPage(),e({code:401})}});console.log("res--",l);const s=l?.code,c=l?.data?.is_local_download,d=l?.data?.additional_data;return 200===s&&null!=c?(handleBtnMsClass(),handleDownloadClass(),{code:c,data:d}):(handleBtnMsClass(),handleDownloadClass(),{code:s})}catch(e){return handleBtnMsClass(),handleDownloadClass(),{code:-1}}}async function getNewTaskKey(e=""){try{const t=await jqAjaxPromise({tools:!0,url:"/ai/tool/get-task",type:"POST",data:{id:e}}),i=t?.code,n=t?.data?.additional_data;return 200===i&&n?Promise.resolve(n):Promise.reject()}catch(e){return Promise.reject(e)}}async function getSourceShareLink(e={}){let t=0;for(;;){try{const i=await jqAjaxPromise({tools:!0,url:"/ai/source/share-link",type:"POST",data:e}),n=i?.code,o=i?.data?.url;if(200===n&&o)return Promise.resolve(i);if(t++,t>5)return Promise.reject()}catch(e){if(t++,t>5)return Promise.reject(e)}
1await new Promise((e=>setTimeout(e,2e3)))}}async function isLocalDownload(e="",t){const i={type:e};if(t&&(i.task_id=t),!getCookie("access_token"))return Promise.resolve(null);try{const n=await jqAjaxPromise({tools:!0,url:"/ai/source/is-local-download",type:"POST",data:i,async cb401({resolve:i,reject:n}){try{await newRequestAtoken(),await isLocalDownload(e,t)}catch(e){i(null)}},notRefreshToken:!0}),o=n?.code,a=n?.data;return 200===o&&a?Promise.resolve(a):Promise.resolve(null)}catch(e){return Promise.resolve(null)}}async function setDownloadData(e,t,i=!1){if(console.log("res",t),t?.data?.user_id<=0)return i||logoutPage(),Promise.resolve(null);try{const i=await isLocalDownload(e,t.data.id);let n=null;if(i){const{is_localdownload:e,limit_download:t}=i;n={code:1===t&&1!==e?3006:e}}return Promise.resolve(n)}catch(e){return Promise.resolve(null)}}var winRefCommon=null;function setJumpToEdit({task_id:e,keyname:t,pcTag:i}){return handleBtnMsClass(!0),handleDownloadClass(!0),new Promise((async(n,o)=>{const a=await getNewTaskKey(e);jqAjaxPromise({tools:!0,url:"/ai/source/edit-file",type:"POST",data:{id:e,key:a[t]}}).then((e=>{if(200==e.code){isMobileDevice()||setCookie("st2",i);const t=window.location.pathname.split("/").slice(-1)[0]?.split(".html")[0];winRefCommon&&!winRefCommon.closed?winRefCommon.location.href=`${editorHost}?assetType=video&&assetID=${e.data.id}&origin=${t}`:window.open(`${editorHost}?assetType=video&&assetID=${e.data.id}&origin=${t}`)}else isSubmit=!1;handleBtnMsClass(),handleDownloadClass(),n(e)})).catch((e=>{handleBtnMsClass(),handleDownloadClass(),o(e)}))}))}function hideBlogPage(){let e=window.location.pathname.replace(/^\/preview/,"");["/talking-head.html","/text-to-video-ai.html","/image-to-video-ai.html","/kling-ai-video.html","/hailuo-ai-video.html","/ai-video-enhancer.html","/magic-animate.html","/video-translate.html","/ai-headshot-generator.html","/ai-attractiveness-test.html","/image-combiner.html","/ai-cartoon-generator.html","/ai-avatar-generator.html","/image-background-remover.html","/ghostface-voice-changer.html","/robot-voice-generator.html","/text-to-speech.html","/ai-vocal-remover.html","/ai-music.html","/avatars.html","/ai-voice-cloning.html","/video-editor.html","/online-video-editor.html","/explainer-videos.html","/training-and-development.html","/e-learning.html","/news.html","/sound-test.html","/mic-test.html","/test-webcam.html","/online-teleprompter.html","/transcribe-video-to-text.html","/ai-video-generator.html"].includes(e)&&($(".sound-test-blog").hide(),"/text-to-video-ai.html"===e?$(".ttvSeo__acticles").hide():"/ai-video-enhancer.html"===e?$(".seo_more").hide():"/magic-animate.html"===e?$(".seo_animationDemosBox").hide():"/video-translate.html"===e?$(".recommende__article").hide():"/ai-headshot-generator.html"===e?$(".head_short_more").hide():"/image-combiner.html"===e?$(".recommende__article").hide():"/ai-avatar-generator.html"===e?$(".ai_avatar >.ai_more").hide():"/image-background-remover.html"===e?$(".image-background-remover-sixth").hide():"/voice-changer.html"===e||"/girl-voice-changer.html"===e||"/ghostface-voice-changer.html"===e||"/robot-voice-generator.html"===e?$(".seo_container").hide():"/text-to-speech.html"===e?$(".tts-blog").hide():"/ai-music.html"===e?$(".recommende__article").hide():"/online-video-editor.html"===e||"/explainer-videos.html"===e?$(".blog-compoent").hide():"/training-and-development.html"===e||"/e-learning.html"===e?$(".learning-blog").hide():"/mic-test.html"===e||"/test-webcam.html"===e?$(".wrapper-blog").hide():"/online-teleprompter.html"===e?$(".online-teleprompter-tenth").hide():"/transcribe-video-to-text.html"===e&&$(".tts-blog").hide())}$((function(){hideBlogPage()}));const linkHrefOtherObj={},locationPathName=window.location.pathname;linkHrefOtherObj.hasOwnProperty(locationPathName)&&(window.location.href=linkHrefOtherObj[locationPathName]),window.HalloweenObject=null;const checkCelebrityImage=async(e,t)=>{if(t&&(checkCelebritySwitch=t),!checkCelebritySwitch)return!1;const i=window.location.href.match(/\/([^\/?#]+)\.html/)[1];if(!e)throw new Error("Image key is required");try{const t=await jqAjaxPromise({url:"/ai/task/generate",type:"POST",data:{action:"celeb_detect",param:{original:e}},headers:{"X-From-Page":i}});if(200!==t?.code||!t?.data?.task_id)throw new Error("Failed to initialize detection");const n=t.data.task_id;for(;;){const e=await jqAjaxPromise({url:"/ai/task/detail",type:"get",data:{task_id:n},headers:{"X-From-Page":i}}),t=e?.data?.status;if(0===t){const t=e?.data?.additional_data?.result;if(!t?.length)return null;for(const e of t)try{if(!(await jqAjaxPromise({url:"/ai/web/celebrity-whitelist",type:"post",data:{key_id:e.id},headers:{"X-From-Page":i}}))?.data?.status&&e.confidence>=95)return!0}
1catch{console.warn("Whitelist check failed for celebrity:",e.id);continue}return null}if(![0,-1,-2].includes(t))throw new Error(`Invalid status: ${t}`);await new Promise((e=>setTimeout(e,5e3)))}}catch(e){throw console.error("Celebrity detection failed:",e),e}},fail_limit={fail_limit_0:"You've reached the maximum usage today . Please try again after 24 hours.",fail_limit_1:"You've reached the maximum usage today (Up to 1 time per day). Please try again after 24 hours.",fail_limit_2:"You've reached the maximum usage today (Up to %s times per day). Please try again after 24 hours."};function getLimitText(e){const t=Number(e)||0;return t<1?fail_limit.fail_limit_0:1===t?fail_limit.fail_limit_1:fail_limit.fail_limit_2.replace("%s",t)}function getHeaders(){const e={"Content-Type":"application/json","Request-Language":"ja"==getPreferredLanguage()?"jp":getPreferredLanguage()};return curToken=getCookie("access_token")||"",curToken&&(e.Authorization="Bearer "+curToken),e}function elShow(e,t="block"){isElement(e)&&(e.style.display=t)}function isElement(e){try{return e instanceof HTMLElement}catch(t){return"object"==typeof e&&1===e.nodeType&&"object"==typeof e.style&&"object"==typeof e.ownerDocument}}function getReq(e,t={}){return fetch(e,{method:"GET",headers:{...getHeaders(),...t}}).then((e=>e.json()))}async function getIsShowDemo(e,t,i){if(!t)return;const n="www.vidnoz.com"===location.host?"https://tool-api.vidnoz.com":"https://tool-api-test.vidnoz.com",o=await getReq(`${n}/ai/public/example-display?action=${e}`);console.log(i,"xxx"),o.data.display?i?elShow($(t)[0],"flex"):t.show():t.hide()}function formatePrices({price:e=0,showSymbol:t=!0,minPoint:i=3}){const n="ja"==getPreferredLanguage()?"jp":getPreferredLanguage(),o={jp:"ja-JP",de:"de-DE",en:"en-US",es:"en-US",fr:"fr-FR",it:"it-IT",pt:"pt-BR",ar:"en-US"}[n]||"en-US";let a=e;if(isNaN(a))return;const r={en:"USD",es:"USD",it:"EUR",ar:"USD",se:"USD",nl:"USD",de:"EUR",fr:"EUR",jp:"JPY",pt:"BRL",tw:"TWD"}[n]||"USD";return a=new Intl.NumberFormat(o,{style:t?"currency":"decimal",currency:r,minimumFractionDigits:["jp"].includes(n)?0:i,maximumFractionDigits:["jp"].includes(n)?0:i}).format(a),t&&("ar"===n?a=String(a).replace(/&nbsp;|\s/gi,"").replace("$","")+"$":"es"===n&&(a="US"+a)),a.replace(/\s/g,"")}async function handleNsfw(e){const t=document.createElement("canvas"),{width:i,height:n}=e;t.width=i,t.height=n;const o=t.getContext("2d");return o.drawImage(e,0,0,i,n),new Promise((e=>{try{const t=new Worker("./js/nsfw-worker.js"),a=o.getImageData(0,0,i,n);t.postMessage({imageData:a,pornDetectthreshold:pornDetectthreshold2}),t.onmessage=({data:{predictions:i,error:n}})=>{t.terminate(),e(!!n||i)},t.onerror=i=>{t.terminate(),e(!0)}}catch(t){e(!0)}}))}async function getSizeWithRange(e){const t=(await fetch(e,{headers:{Range:"bytes=0-0"}})).headers.get("Content-Range")?.split("/")[1];return t?parseInt(t):null}async function openTiktok(e){if(myWindows&&!myWindows.closed)return;const t=JSON.parse(getCookie("user_info"))?.id;if(!t)return void showLoginWindow({fn:async()=>{}});myWindows=window.open("","Tiktok Auth");const i=e.split(".").pop().toLowerCase(),n=await jqAjaxPromise({url:"/ai/source/get-access-url",type:"post",data:{key:e,action:"browse"}}),o=await getSizeWithRange(n.data.url);if(["mp4","mov","webm"].includes(i)){if(!["mp4","mov","webm"].includes(i)||o>4294967296)return void Modal({titleText:"Unable to share",content:"Only supports mp4, mov, and webm. The file size should not exceed 4GB.",iconType:"hint",submitText:"Close"})}navigator.onLine?(setCookie("tiktokKey",e),function(e,t){t.location.href=`https://${VITE_API_URL}/api/tiktok/login-url?uid=${e}`;const i=setInterval((()=>{if(t.closed){clearInterval(i);const e=getCookie("tiktokShareResult");console.log(e,"tiktokShareResult"),"SEND_TO_USER_INBOX"===e?Modal({titleText:"The video was send to your TikTok",content:"You need to click Inbox Notifications in your TikTok to complete sharing.",isCancel:"false",submitText:"I got",iconType:"hint"}):e&&"SEND_TO_USER_INBOX"!==e&&(getCookie("tiktokShareError")&&"frame_rate_check_failed"===getCookie("tiktokShareError")?Modal({titleText:"Unable to share",content:"Only 23~60FPS videos are available for sharing.",isCancel:"false",submitText:"Close",iconType:"hint"}):getCookie("tiktokShareError")&&"duration_check_failed"===getCookie("tiktokShareError")?Modal({titleText:"Unable to share",content:"Please make sure the video duration is less than 10 minutes.",isCancel:"false",submitText:"Close",iconType:"hint"}):getCookie("tiktokShareError")&&"spam_risk_too_many_pending_share"===getCookie("tiktokShareError")?Modal({titleText:"Unable to share",content:"Reached the daily sharing limits on TikTok. Please try again in 24 hours.",isCancel:"false",submitText:"I got",iconType:"hint"}):ToolTip({text:"Failed to share. Please try again later.",type:"error"}))}}),500)}(t,myWindows)):ToolTip({text:"Failed to share. Please try again later.",type:"error"})}class ProgressController{constructor(e=null){this.progress=0,this.maxProgress=98,this.wrapper=e,this.condition=!0,this.handleContent=null}reset(){this.progress=0,this.maxProgress=98,this.condition=!0}async updateProgress(e=null){e&&(this.handleContent=e);const t=e=>Math.max(.05,.5-e/200)*Math.max(.01,1-e/this.maxProgress);for(;this.condition;){const e=t(this.progress);this.progress=Math.min(this.maxProgress,this.progress+e),this.wrapper.textContent=this.handleContent(this.progress);const i=300+10*this.progress;await new Promise((e=>
1setTimeout(e,i))),this.progress>this.maxProgress-1&&(this.progress=this.maxProgress-.01-.5*Math.random(),await new Promise((e=>setTimeout(e,2e3))))}}async finish(e=(()=>{})){if(100!=this.maxProgress){this.maxProgress=100,this.condition=!1;for(let t=this.progress;t<this.maxProgress;t++)if(this.progress=t+1,this.wrapper.textContent=this.handleContent(this.progress),await new Promise((e=>setTimeout(e,100))),this.progress>=this.maxProgress){e?.();break}}}}function checkResource(e){let t=null;return new Promise((i=>{fetch(e).then((e=>{if(t=e,console.log("response-single",e),!e.ok||404===e.status)throw new Error;return e.blob()})).then((e=>{if(console.log("blob-single",e,e?.size),console.log("status-single",t?.status),e?.size<=0)throw new Error;i({status_code:t?.status||-1,size:e?.size||-1})})).catch((()=>{i(!1)}))}))}function priceModal(){const e="www.vidnoz.com"===location.hostname?"https://www.vidnoz.com/":"https://en-test.vidnoz.com/",t=new URL("vidnoz-gen-pricing.html",e);window.open(t.href,"_blank")}async function limitBrwoser(){const e=(await getReq(`${interHost}/ai/web/ip-limit`))?.data?.is_limit,t=currentDate.getTimezoneOffset(),i=navigator.language||navigator.userLanguage,n="zh-cn"===i.toLowerCase()||"zh-hans"===i.toLowerCase()||"zh-hans-cn"===i.toLowerCase(),o=-480===t&&n;let a=-480===t&&e,r=["zh-hk","zh-hans-hk","zh-hant-hk","en-hk","yue-hant-hk"].includes(i.toLowerCase())||i.toLowerCase().includes("-hk");const l=document.location.pathname;["/ai-photo-editor.html","/image-to-video-ai.html","/face-swap.html","/ai-image-generator.html","/ai-kissing-video.html"].includes(l)||(a=r=!1),(o||a||r)&&(document.body.innerHTML=' <div class="shield-page">\n          尊敬的用户,您好。很抱歉,目前本网站暂未覆盖您所在的地区。如您有任何疑问或需要协助,欢迎随时联系我们,我们将竭诚为您服务\n        </div>\n        <div class="shield-desc">\n          Dear user, our services are not currently available in your region. If you have any questions or need assistance, please do not hesitate to contact us.\n        </div>\n      ',document.head.innerHTML="\n     <style>\n           *{\n               padding:0;\n               margin:0;\n             }\n           body{\n             background-image: linear-gradient(to right, rgb(241,238,255), rgb(254,254,255));\n             display: flex;\n             align-items: center;\n             justify-content: center;\n             flex-direction: column;\n             width: 100vw;\n             height: 100vh;\n             overflow: hidden;\n           }\n           .shield-page{\n             text-align: center;\n             font: normal normal 500 18px/28px Roboto;\n             color: #282E48;\n             max-width: 460px;\n           }\n            .shield-desc {\n             text-align: center;\n             margin-top: 15px;\n             font: normal normal 500 18px/28px Roboto;\n             color: #60626C;\n             max-width: 460px;\n            }\n           @media (max-width: 768px){\n            .shield-page{\n              text-align: left;\n              font: normal normal 500 .36rem/.54rem Roboto;\n              max-width: 6.3rem;\n            }\n            .shield-desc {\n              text-align: left;\n              margin-top: .38rem;\n              font: normal normal 500 .36rem/.54rem Roboto;\n              max-width: 6.3rem;\n            }\n          }\n    </style>")}
1function renderShieldPage(){document.body.innerHTML=' <div class="shield-page">\n          尊敬的用户,您好。很抱歉,目前本网站暂未覆盖您所在的地区。如您有任何疑问或需要协助,欢迎随时联系我们,我们将竭诚为您服务\n        </div>\n        <div class="shield-desc">\n          Dear user, our services are not currently available in your region. If you have any questions or need assistance, please do not hesitate to contact us.\n        </div>\n      ',document.head.innerHTML="\n     <style>\n           *{\n               padding:0;\n               margin:0;\n             }\n           body{\n             background-image: linear-gradient(to right, rgb(241,238,255), rgb(254,254,255));\n             display: flex;\n             align-items: center;\n             justify-content: center;\n             flex-direction: column;\n             width: 100vw;\n             height: 100vh;\n             overflow: hidden;\n           }\n           .shield-page{\n             text-align: center;\n             font: normal normal 500 18px/28px Roboto;\n             color: #282E48;\n             max-width: 460px;\n           }\n            .shield-desc {\n             text-align: center;\n             margin-top: 15px;\n             font: normal normal 500 18px/28px Roboto;\n             color: #60626C;\n             max-width: 460px;\n            }\n           @media (max-width: 768px){\n            .shield-page{\n              text-align: left;\n              font: normal normal 500 .36rem/.54rem Roboto;\n              max-width: 6.3rem;\n            }\n            .shield-desc {\n              text-align: left;\n              margin-top: .38rem;\n              font: normal normal 500 .36rem/.54rem Roboto;\n              max-width: 6.3rem;\n            }\n          }\n    </style>"}let isHongKongIP=!1;const getHongKongIP=async()=>{await jqAjaxPromise({url:"/ai/web/ip-limit",type:"post"}).then((e=>{200===e.code&&(isHongKongIP=e.data.is_limit)}))};function isHKLanguage(){const e=navigator.language||navigator.userLanguage;return/hk$/i.test(e)}async function limitBrwoserIndex(){const e=currentDate.getTimezoneOffset(),t=navigator.language||navigator.userLanguage,i="zh-cn"===t.toLowerCase()||"zh-hans"===t.toLowerCase()||"zh-hans-cn"===t.toLowerCase();isHKLanguage()?renderShieldPage():-480===e?(await getHongKongIP(),isHongKongIP||i?renderShieldPage():isLogin()||getEastEightEnglish()||(googleOneTopInit(),$("body").append('\n      <div id="g_id_onload"\n          data-client_id="909524227558-9mnah1lj5cv8sgeacsb97a9p8lomd10a.apps.googleusercontent.com"\n          data-itp_support="true"\n          data-callback="loginCallbackSucccess">\n      </div>'))):isLogin()||getEastEightEnglish()||(googleOneTopInit(),$("body").append('\n    <div id="g_id_onload"\n        data-client_id="909524227558-9mnah1lj5cv8sgeacsb97a9p8lomd10a.apps.googleusercontent.com"\n        data-itp_support="true"\n        data-callback="loginCallbackSucccess">\n    </div>'))}async function hmacSha256(e){const{message:t,secretKey:i,format:n="hex"}=e,o=new TextEncoder,a=o.encode(i),r=o.encode(t),l=await crypto.subtle.importKey("raw",a,{name:"HMAC",hash:"SHA-256"},!1,["sign"]),s=await crypto.subtle.sign("HMAC",l,r),c=new Uint8Array(s);if("hex"===n)return Array.from(c).map((e=>e.toString(16).padStart(2,"0"))).join("");if("base64"===n)return btoa(String.fromCharCode(...c));throw new Error("Unsupported format")}function getTurnstileToken(){return new Promise(((e,t)=>{const i=window.turnstile,n=document.createElement("div");n.style.visibility="hidden",n.id=`turnstile-container-${+new Date}-${Math.floor(1e10*Math.random())+1}`,$("body").append(n);const o=i.render(n,{sitekey:"0x4AAAAAACr8H4vBFiu-xYb2",callback:function(t){console.log("turnstile callback",t),i.remove(o),n.remove(),e(t)},"error-callback":function(t){console.log("turnstile error-callback",t),i.remove(o),n.remove(),e("")}})}))}async function calculateXSign(e){let t=Object.keys(e).reduce(((t,i)=>(void 0!==e[i]&&(t[i]=e[i]),t)),{});t={origin:"web",...t};const i=Object.keys(t).sort().map((e=>`${e}=${t[e]}`)).join("&"),n=Math.floor(Date.now()/1e3),o=`${n}${i}`,a=await hmacSha256({message:o,secretKey:"K7a9Q2mX5Lp4Tz8Vb3Hs"});return btoa(`${n}.${a}`)}function apiGetUploadUrl(e){let t=1,i=!1;e={permanent_file:!0,maxAttempts:3,tools:!1,...e};const n=async()=>{try{if(t>e.maxAttempts)return Promise.reject(new Error("maxAttempts"));t++;const o={file_name:e.file_name,permanent_file:!!e.permanent_file,file_type:e.file_type,key:e.key};let a="";!0===i&&(a=await getTurnstileToken());const r=await calculateXSign(o),l=await jqAjaxPromise({tools:e.tools,url:"/ai/source/get-upload-url-web",type:"POST",data:o,headers:{"Cf-Turnstile-Response":a,"X-Sign":r,...e.headers},cancelToken:e.cancelToken,cb401:e.cb401});if(e.cancelToken?.canceled)throw{status:"canceled"};if(1200===l.code)return i=!0,await new Promise((e=>setTimeout(e,2e3*Math.random()))),n();if(200!==l.code)throw l;return l}catch(e){return Promise.reject(e)}};return n()}async function apiUploadFileWithSign(e){const t={status:"canceled"};try{const{file:i,file_name:n=e.file.name,file_type:o=e.file.type,permanent_file:a=!0,key:r,signal:l,tools:s=!1,headers:c={}}=e,d=await apiGetUploadUrl({file_name:n,file_type:o,permanent_file:a,key:r,tools:s,headers:c});if(!d.data?.upload_url)return Promise.reject(d);if(l?.aborted)return Promise.reject(t);await fetch(d.data?.upload_url,{method:"PUT",body:i,signal:e.signal});return{...d,data:{...d.data,url:d.data?.access_url}}}
1catch(i){return e?.signal?.aborted?Promise.reject(t):Promise.reject(i)}}function formatNumber(e){const t="ja"==getPreferredLanguage()?"jp":getPreferredLanguage();if(null==e||""===e)return"";const i=Number(e);if(Number.isNaN(i))return String(e);const n={jp:"ja-JP",de:"de-DE",en:"en-US",es:"en-US",fr:"fr-FR",it:"it-IT",pt:"pt-BR",ar:"en-US",kr:"ko-KR",tw:"zh-TW"}[t]||"en-US";return i.toLocaleString(n).replace(/\u202F/g," ").replace(/\u00A0/g," ")}function conversionPrice({price:e="",symbol:t="",minPoint:i=2,currency:n=""}){const o="ja"==getPreferredLanguage()?"jp":getPreferredLanguage(),a={jp:"ja-JP",de:"de-DE",en:"en-US",es:"en-US",fr:"fr-FR",it:"it-IT",pt:"pt-BR",ar:"en-US",kr:"ko-KR",tw:"zh-TW"}[o]||"en-US";let r=e;if(isNaN(e))return;r="jp"===o||"kr"===o||"tw"===o?Math.round(e):Number(e).toFixed(2);const l=n||{en:"USD",es:"USD",it:"EUR",ar:"USD",se:"USD",nl:"USD",de:"EUR",fr:"EUR",jp:"JPY",pt:"BRL",tw:"TWD",kr:"KRW"}[o]||"USD";return t?(r=new Intl.NumberFormat(a,{style:"currency",currency:l,minimumFractionDigits:["jp","kr","tw"].includes(o)?0:i,maximumFractionDigits:2}).format(r),["ar"].includes(o)&&(r=r.replace("$","")+"$"),["tw"].includes(o)&&(r=r.replace("NT$","$"),r=r.replace("$","NT$")),["es"].includes(o)&&(r="US"+r)):r=new Intl.NumberFormat(a,{style:"decimal",minimumFractionDigits:["jp","kr","tw"].includes(o)?0:i,maximumFractionDigits:2}).format(r),r.replace(/\s/g,"")}window.showKeepGeneratingPopSimple=function(e){const t=/windows|win32/i.test(navigator.userAgent);if(isMobile()||!t)return;const i="hasShownKeepGenerating_"+e;if(localStorage.getItem(i))return;localStorage.setItem(i,"true");const n={ape:"https://api.vidnoz.com/ai/web/download-package?insur=vidnoz_ape",aig:"https://api.vidnoz.com/ai/web/download-package?insur=vidnoz_aig",itv:"https://api.vidnoz.com/ai/web/download-package?insur=vidnoz_itv",ve:"https://api.vidnoz.com/ai/web/download-package?insur=vidnoz_ve"}[e],o="btnclick_dl_"+e+"pop",a="btnclick_close_"+e+"pop";"function"==typeof gtag&&gtag("event","show_dl_"+e+"pop");const r="undefined"!=typeof GEN_COMMON_LAN?GEN_COMMON_LAN:{},l=r.keepGeneratingTitle||"Keep Generating <span>Without Limits</span>",s=r.keepGeneratingDesc||"Switch to the desktop app to continue creating with unlimited <strong>free generations</strong> and <strong>3x faster</strong> rendering.",c=r.keepGeneratingBtn||"Free Download",d=$(`\n  <div class="__gen-keep-generating-dialog-wrapper" style="\n    position: fixed;\n    top: 0;\n    left: 0;\n    width: 100%;\n    height: 100%;\n    background: rgba(0, 0, 0, 0.6);\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    z-index: 999999;\n  ">\n    <div class="__gen-keep-generating-dialog">\n      <style>\n        .__gen-keep-generating-dialog {\n          position: relative;\n          background: #ffffff;\n          border-radius: 24px;\n          padding: 74px 40px 37px;\n          width: 530px;\n          min-height: 290px;\n          box-sizing: border-box;\n          box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);\n          font-family: Roboto;\n          text-align: center;\n          background: #FFFFFF 0% 0% no-repeat padding-box;\n          box-shadow: 0px 1px 20px #00000041;\n          border: 1px solid #D8D4FF;\n          border-radius: 16px;\n        } \n        .__gen-keep-generating-dialog .__gen-close-btn {\n          position: absolute;\n          top: 12px;\n          right: 12px;\n          cursor: pointer;\n          opacity: 0.6;\n          transition: opacity 0.2s ease;\n        }\n        .__gen-keep-generating-dialog .__gen-close-btn:hover {\n          opacity: 1;\n        }\n        .__gen-keep-generating-dialog .__gen-title {\n          font-size: 28px;\n          font-weight: 700;\n          color: #1a1d2c;\n          margin-bottom: 15px;\n          font: normal normal 500 24px/32px Roboto;\n          letter-spacing: 0px; \n          color: #282E48;\n        }\n        .__gen-keep-generating-dialog .__gen-title span {\n          color: #8B3DFF;\n        }\n        .__gen-keep-generating-dialog .__gen-desc {\n          margin-bottom: 31px;\n          padding: 0 10px;\n          font: normal normal normal 16px/21px Roboto;\n          color: #60626C;\n        }\n        .__gen-keep-generating-dialog .__gen-desc strong {\n          color: #60626C;\n          font-weight: 600;\n        }\n        .__gen-keep-generating-dialog .__gen-download-btn {\n          display: inline-flex;\n          align-items: center;\n          justify-content: center;\n          background: #7F1DFF;\n          color: #ffffff;\n          font-size: 16px;\n          font-weight: 600;\n          padding: 14px 36px;\n          text-decoration: none;\n          transition: all 0.2s ease;\n          box-shadow: 0 4px 12px rgba(127, 29, 255, 0.2);\n          min-width: 264px;\n          height: 46px;\n          background: transparent linear-gradient(270deg, #4C15E2 0%, #8B3DFF 100%) 0% 0% 
1no-repeat padding-box;\n          border-radius: 6px;\n          font: normal normal normal 18px/24px Roboto;\n          color: #FFFFFF;\n          text-transform: capitalize;\n        }\n        .__gen-keep-generating-dialog .__gen-download-btn:hover {\n          background: transparent linear-gradient(270deg, #4C15E2 0%, #8B3DFF 100%) 0% 0% no-repeat padding-box;\n          border-radius: 6px;\n          opacity: 0.7;\n        }\n        .__gen-keep-generating-dialog .__gen-download-btn svg {\n          margin-right: 8px;\n        }\n        \n        @media (max-width: 1200px) {\n          .__gen-keep-generating-dialog {\n            width: 90vw;\n            max-width: 400px;\n            padding: 36px 20px 28px;\n            border-radius: 16px;\n          }\n          .__gen-keep-generating-dialog .__gen-title {\n            font-size: 20px;\n            margin-bottom: 12px;\n          }\n          .__gen-keep-generating-dialog .__gen-desc {\n            font-size: 13px;\n            margin-bottom: 24px;\n          }\n          .__gen-keep-generating-dialog .__gen-download-btn {\n            width: 100%;\n            box-sizing: border-box;\n            font-size: 15px;\n            padding: 12px 24px;\n          }\n        }\n      </style>\n       \n      <div class="__gen-close-btn close-dialog">\n        <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none">\n          <path d="M15 5L5 15M5 5L15 15" stroke="#656c86" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>\n        </svg>\n      </div>\n      \n      <div class="__gen-title">${l}</div>\n      \n      <div class="__gen-desc">${s}</div>\n      \n      <a class="__gen-download-btn" href="${n}" target="_blank">\n        <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">\n          <path d="M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4"/>\n          <polyline points="7 10 12 15 17 10"/>\n          <line x1="12" y1="15" x2="12" y2="3"/>\n        </svg>\n        ${c}\n      </a>\n    </div>\n  </div>\n  `);$("body").append(d),d.find(".close-dialog").on("click",(()=>{"function"==typeof gtag&&gtag("event",a),d.remove()})),d.find(".__gen-download-btn").on("click",(()=>{"function"==typeof gtag&&gtag("event",o),d.remove()}))};

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.