1import{a as se,d as S,e as de}from"./chunk-S4T3P5AE.js";import{H as ue,J as he,b as ie,d as T,e as ae,q as ce,r as le}from"./chunk-MTJSZ6IN.js";import{C as re,l as ee,m as te,v as ne,y as v,z as oe}from"./chunk-C2X6DUH2.js";import{$a as l,Ba as D,Fa as U,Jb as g,Ka as I,Kb as u,Lb as d,Mb as K,Tb as Q,Vb as Y,X as N,Xb as m,_c as z,aa as w,bd as $,dd as J,ea as c,eb as R,g as F,gc as f,hc as b,ic as G,jb as O,kb as M,lb as h,ma as B,na as j,nd as X,qa as A,qb as W,qc as V,ra as C,rc as q,rd as Z,sb as H,vb as x}from"./chunk-P67MUED3.js";import{g as _}from"./chunk-AQHZ5JOB.js";var fe=(()=>{class o{constructor(e,t,i,n,r,a){this.injector=e,this.platformId=t,this.http=i,this.location=n,this.cookieBackendService=r,this.document=a,this.websiteInfo=[],this.websiteUrl=[],this.currentUrl="",this.websiteStatus=new F(!1),this.bookNowUrl="",this.enableSmartBannerLocation=!1,this.websiteCountryCode=[]}getcountry(){return this.availableCountry}getWebsiteInfo(){return this.websiteInfo}getWebsiteUrl(){return this.websiteUrl}getCurrentUrl(){return this.currentUrl}getLanguageDetails(e){return{name:e?.name||"",title:e?.title||"",code:e?.code||"",urlCode:e?.urlCode||"",isoCode:e?.isoCode||"",enableLanguage:e?.enableLanguage||"No",dropdownCode:e?.dropdownCode||"",displayTitle:e?.displayTitle||"",enableChat:e?.enableChat||"No",htmlTag:e?.htmlTag||"",gaID:e?.gaID||""}}isLanguageCode(e){if(e?.length){let t=this.websiteInfo?this.websiteInfo.global?.LanguageList:[];this.availableCountry?.indexOf(e[0])!==-1&&(t=this.websiteInfo?this.websiteInfo[e[0]]?.LanguageList:[]);let n=(t?.length?t.map(r=>r.urlCode):[]).indexOf(e[e.length-1]);return n!==-1?n:-1}else return-1}getParameterByName(e,t){e=e.replace(/[\[\]]/g,"\\$&");let n=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(t);return n?n[2]?decodeURIComponent(n[2].replace(/\+/g," ")):"":null}getHostURL(){return Z(this.platformId)?this.document.location.hostname:this.injector.get(ie,null)?.get("origin")||""}manageLanguageCookie(e,t,i){e&&t===this.websiteInfo[i]?.defaultLanguage?.code?this.cookieBackendService.delete("currentLang","/"):t!==this.websiteInfo[i]?.defaultLanguage?.code&&this.cookieBackendService.set("currentLang",t)}buildCountryCodeArray(e){return{website:e.website||"",enableOrganicGeoRedirection:e.enableOrganicGeoRedirection||"",enableCloudfrontGeoRedirection:e.enableCloudfrontGeoRedirection||"",live:e.live||"",enableGlobalHeader:e?.disableRegionalHeader||""}}processLocationPath(){let e="global",t="en-GB",i=this.location.path().split("?")[0].split("/").filter(n=>n!=="");if(i?.length){let n;this.availableCountry.indexOf(i[0])!==-1&&(e=i[0],n=this.websiteInfo[e]?.defaultLanguage),n&&Object.keys(n)?.length&&(t=n.code)}return{countryName:e,languageCode:t,locationPath:i}}handleLanguageCodeLogic(e,t,i){let n=this.cookieBackendService.get("currentLang");return e!==-1?((this.websiteInfo[t]?.LanguageList[e]?.enableLanguage==="Yes"||this.getParameterByName("preview",this.location.path()))&&(i=this.websiteInfo[t]?.LanguageList[e]?.code),this.cookieBackendService.set("currentLang",i)):i=n||i||"",i}handleCountryChange(e,t,i,n){n===-1&&(i=this.websiteInfo[t]?.defaultLanguage?.code);let r=this.cookieBackendService.get("currentLang");this.manageLanguageCookie(r,i,t);let a=this.cookieBackendService.get("currentLang"),s=this.cookieBackendService.get(t+"_SelectedLang");s!==a&&s!==void 0?this.cookieBackendService.set("currentLang",this.cookieBackendService.get(t+"_SelectedLang")):this.cookieBackendService.delete("currentLang","/"),this.cookieBackendService.set("country",t)}handleNoLocationPath(e,t){this.cookieBackendService.get("currentLang")?this.cookieBackendService.delete("currentLang","/"):t!==this.websiteInfo[e].defaultLanguage.code&&this.cookieBackendService.set("currentLang",t),this.cookieBackendService.set("country",e)}handleExistingCountry(e,t){t===this.websiteInfo[e]?.defaultLanguage?.code?this.cookieBackendService.delete("currentLang","/"):this.cookieBackendService.set("currentLang",t),this.cookieBackendService.get(e+"_SelectedLang")?this.websiteInfo[e]?.defaultLanguage?.code!=="en-GB"?t!==this.websiteInfo[e]?.defaultLanguage?.code?this.cookieBackendService.set("currentLang",this.cookieBackendService.get(e+"_SelectedLang")):this.cookieBackendService.delete("currentLang","/"):this.cookieBackendService.set("currentLang",this.cookieBackendService.get(e+"_SelectedLang")):this.cookieBackendService.delete("currentLang","/"),this.cookieBackendService.set("country",e)}buildLanguageDetails(e){let t={website:e.website||"",websiteName:e.websiteName||"",live:e.live||"",appLive:e.appLive||"",enableSecondaryLanguages:e.enableSecondaryLanguages||"No",prepEnabled:e.prepEnabled||"No",enableCsr:e.enableCsr||"No",defaultLanguage:{},LanguageList:[],searchEnabled:e.searchEnabled||"No",enableManage
1Cookies:e.enableManageCookies||"No",countryIso3Code:e.countryIso3Code||"",enableSessionSearchV2:e.enableSessionSearchV2||"",enableSso:e.enableSso,disableBespokeRecaptcha:e.disableBespokeRecaptcha,disablePrepareTestFormat:e.disablePrepareTestFormat||"",enableSplunkRum:e.enableSplunkRum||"No"};return e?.defaultLanguage&&(t.defaultLanguage=this.getLanguageDetails(e?.defaultLanguage)),e?.languages?.length&&(t.LanguageList=e.languages.map(i=>this.getLanguageDetails(i)),Object.keys(t?.defaultLanguage)?.length>0&&t.LanguageList.unshift(t.defaultLanguage)),t}processWebsiteItem(e,t,i){if(e?.website){e?.live==="Yes"&&this.cookieBackendService.getClientCountryCode()===e?.cloudfrontCountryCode&&(this.bookNowUrl="/"+e?.website+"/test-dates"),e?.appLive==="Yes"&&this.cookieBackendService.getClientCountryCode()===e?.cloudfrontCountryCode&&(this.enableSmartBannerLocation=!0);let n=this.buildCountryCodeArray(e);e?.cloudfrontCountryCode&&(t[e.cloudfrontCountryCode]=n),i[e.website]=this.buildLanguageDetails(e)}return e.website}processDataItems(e,t,i){this.availableCountry=e.items.map(n=>this.processWebsiteItem(n,t,i)),this.websiteCountryCode=t,this.websiteInfo=i}handleLocationPathRouting(e,t,i,n){e[0]&&e[0]!==this.cookieBackendService.get("country")?this.handleCountryChange(e,t,i,n):e[0]?this.handleExistingCountry(t,i):this.handleNoLocationPath(t,i)}Init(){return new Promise((e,t)=>{this.http.get("AWS_ENDPOINT_URL","?content_type=website&preview=false").pipe(N(i=>{let n=[],r=[];if(i?.items?.length){this.processDataItems(i,n,r);let{countryName:a,languageCode:s,locationPath:p}=this.processLocationPath();this.websiteUrl=p,this.currentUrl=this.location.path();let L=this.isLanguageCode(this.websiteUrl);s=this.handleLanguageCodeLogic(L,a,s),this.handleLocationPathRouting(p,a,s,L),this.cookieBackendService.get("country")||this.cookieBackendService.set("country",a)}e(this.availableCountry)},()=>{e(this.availableCountry)})).subscribe()})}static{this.\u0275fac=function(t){return new(t||o)(c(A),c(U),c(he),c(z),c(S),c(C))}}static{this.\u0275prov=w({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();var We=(()=>{class o{static setSeoRobots(e){throw new Error("Method not implemented.")}static setSeoTitle(e){throw new Error("Method not implemented.")}constructor(e,t,i,n,r,a,s){this.doc=e,this.rendererFactory=t,this.title=i,this.meta=n,this.router=r,this.routingInitService=a,this.cookieBackendService=s,this.pageNoData=!1,this.resultData=null}loadResultData(){return _(this,null,function*(){let e=yield import("./chunk-VXS7XA2Q.js");this.resultData=e.default||e})}setSeoTitle(e){this.routingInitService.websiteStatus.subscribe(t=>{t&&"metaTitle"in e&&this.title.setTitle(e.metaTitle)})}setSiteNotFoundSeoTitle(e){"metaTitle"in e&&this.title.setTitle(e.metaTitle)}prepResultsnotfound(e){this.setSeoTitle(e),this.setSeoRobots(e),this.routingInitService.websiteStatus.subscribe(t=>{t&&"metaDescription"in e[0]?.fields&&this.meta.addTag({name:"description",content:e[0]?.fields?.metaDescription})})}setSeoHomeTitle(e){this.routingInitService.websiteStatus.subscribe(t=>{t&&e&&this.title.setTitle(e)})}setSeoRobots(e){this.routingInitService.websiteStatus.subscribe(t=>{t&&"robots"in e&&this.meta.updateTag({name:"robots",content:e.robots})})}setSiteNotFoundSeoRobots(e){"robots"in e&&this.meta.updateTag({name:"robots",content:e.robots})}removeLink(e){try{let t=this.rendererFactory.createRenderer(this.doc,{id:"-1",encapsulation:I.None,styles:[],data:{}}),i=this.doc.querySelector("link[rel='"+e+"']"),n=this.doc.head;if(n===null)throw new Error("<head> not found within DOCUMENT.");i&&t.removeChild(n,i)}catch(t){console.error("Error within linkService : ",t)}}updateCanonicalAndOgUrl(e){let t=this.doc.querySelector("link[rel='canonical']");if(t)t.setAttribute("href",e);else{let i=this.doc.createElement("link");i.setAttribute("rel","canonical"),i.setAttribute("href",e),this.doc.head.appendChild(i)}this.meta.updateTag({property:"og:url",content:e})}addSeoTags(e,t){this.routingInitService.websiteStatus.subscribe(i=>{i&&("metaDescription"in e&&this.meta.updateTag({name:"description",content:e.metaDescription}),"metaKeywords"in e&&this.meta.updateTag({name:"keywords",content:e.metaKeywords}),"robots"in e&&!t&&e.robots!==""&&this.meta.updateTag({name:"robots",content:e.robots}),"robots"in e&&t&&this.meta.updateTag({name:"robots",content:"noindex,nofollow"}),this.disableRobots==="Yes"&&this.meta.updateTag({name:"robots",content:"noindex,nofollow"}))})}addHomeSeoTags(e,t){this.routingInitService.websiteStatus.subscribe(i=>{i&&("metaDescription"in e&&this.meta.updateTag({name:"description",content:e?.metaDescription}),"metaKeywords"in e&&this.meta.updateTag({name:"keywords",content:e?.metaKeywords}),"robots"in e&&!t&&e?.robots!==""&&this.meta.updateTag({name:"robots",content:e?.robots}),"robots"in e&&t&&this.meta.updateTag({name:"robots",content:"noindex,nofollow"}),this.disableRobots==="Yes"&&this.meta.updateTag({name:"robots",content:"noindex,nofollow"}))})}setHomeSeoCanonical(e,t){this.routingInitService.websiteStatus.subscribe(i=>{if(i){this.removeLink("canonical");let n=this.getCanonicalUrl(e?.canonical,t),r=this.doc.createElement("link");r.setAttribute("rel","canonical"),r.setAttribute("href",n),this.doc.head.appendChild(r)}})}setSeoCanonical(e,t,i){this.routingInitService.websiteStatus.subscribe(n=>{if(n&&!t){this.removeLink("canonical");let r=this.getCanonicalUrl(e?.canonical,i),a=this.doc.createElement("link");a.setAttribute("rel","canonical"),a.setAttribute("href",r),this.doc.head.appendChild(a)}})}isLanguageCode(e){let t={};t=this.routingInitService.getWebsiteInfo();let i=this.routingInitService.getcountry();if(e.length>0){let n=e?.length,r=e[n-1];if(i.indexOf(e[0])!==-1){let y=t[e[0]]?.LanguageList||[];if((y?.length?y.map(ye=>ye.urlCode):[]).indexOf(r)!==-1)return!0}let a=t.length>0?t.global?.LanguageList:[];
1if((a?.length?a.map(y=>y.urlCode):[]).indexOf(r)!==-1)return!0;let p=this.cookieBackendService.getClientCountryCode(),be=this.routingInitService.websiteCountryCode[p]?.website||"global",E=t[be]?.LanguageList||[];return(E?.length?E.map(y=>y.urlCode):[]).indexOf(r)!==-1}else return!1}getCurrentPathWithoutLangCode(){let e=this.stripQueryAndFragment(this.doc.location.pathname),t=e.split("/").filter(n=>n!=="");if(this.isLanguageCode(t)){let n=[...t];return n.splice(n.length-1,1),"/"+n.join("/")}return e}getContentSlugFromCurrentPath(){let t=this.stripQueryAndFragment(this.doc.location.pathname).split("/").filter(a=>a!==""),i=this.routingInitService.getcountry(),n=[...t];return n.length>0&&i.indexOf(n[0])!==-1&&(n=n.slice(1)),this.isLanguageCode(t)&&n.length>0&&(n=n.slice(0,n.length-1)),"/"+n.join("/")}stripQueryAndFragment(e){if(!e)return e;let t=e.split("#")[0];return t=t.split("?")[0],t}extractPathFromUrl(e){if(!e.startsWith("http://")&&!e.startsWith("https://"))return this.stripQueryAndFragment(e);let i=this.stripQueryAndFragment(e).match(/^https?:\/\/[^\/]+(\/.*)?$/);return i&&i[1]?i[1]:""}isAbsoluteUrl(e){return e.startsWith("http://")||e.startsWith("https://")}buildCanonicalUrl(e,t,i,n){return i&&n?this.stripQueryAndFragment(n):t+e}getPageParam(){let e=this.doc.location.search||"";return new URLSearchParams(e).get("page")}getCanonicalUrl(e,t){let i=this.stripQueryAndFragment(this.doc.location.pathname),n=this.getCurrentPathWithoutLangCode(),r=this.getContentSlugFromCurrentPath(),a=this.getPageParam();if(a)return t+i+"?page="+a;if(!e)return t+i;let s=this.isAbsoluteUrl(e),p=this.extractPathFromUrl(e);return this.stripCountryPrefixFromPath(p)!==r&&p!==n?this.buildCanonicalUrl(p,t,s,e):t+i}stripCountryPrefixFromPath(e){let t=e.split("/").filter(n=>n!==""),i=this.routingInitService.getcountry();return t.length>0&&i.indexOf(t[0])!==-1?"/"+t.slice(1).join("/"):e}setSeoUrl(e,t,i,n=""){this.routingInitService.websiteStatus.subscribe(r=>{if(r){this.removeLink("canonical");let a=this.getCanonicalUrl(e,i),s=this.doc.createElement("link");s.setAttribute("rel","canonical"),s.setAttribute("href",a),this.doc.head.appendChild(s)}})}removeTag(e){if(e.length>0)try{let t=this.rendererFactory.createRenderer(this.doc,{id:"-1",encapsulation:I.None,styles:[],data:{}}),i=this.doc.head;if(i===null)throw new Error("<head> not found within DOCUMENT.");let n=this.doc.querySelectorAll("link["+e+"]");for(let r of n)t.removeChild(i,r)}catch{}}addMetaTags(e,t,i,n){this.meta.addTags([{property:"og:title",content:e}]),this.meta.addTags([{property:"og:description",content:t}]),i&&this.meta.addTags([{property:"og:image",content:i}]),this.meta.addTags([{property:"og:url",content:n+this.router.url}]),this.meta.addTags([{property:"og:type",content:"website"}])}addTwitterMetaTags(e,t,i,n){this.meta.addTags([{name:"twitter:card",content:"summary"}]),this.meta.addTags([{name:"twitter:site",content:"IDP IELTS India"}]),this.meta.addTags([{name:"twitter:title",content:e}]),this.meta.addTags([{name:"twitter:description",content:t}]),this.meta.addTags([{name:"twitter:url",content:n+this.router.url}]),i&&this.meta.addTags([{name:"twitter:image",content:i}])}addHrefLang(e,t){try{let i=this.rendererFactory.createRenderer(this.doc,{id:"-1",encapsulation:I.None,styles:[],data:{}}),n=i.createElement("link"),r=this.doc.head;if(r===null)throw new Error("<head> not found within DOCUMENT.");let a="";Object.keys(e).forEach(s=>(a="hreflang='"+e.hreflang+"'][ href='"+e.href+"'",i.setAttribute(n,s,e[s]))),this.removeTag(a),i.appendChild(r,n)}catch(i){console.error("Error within linkService : ",i)}}static{this.\u0275fac=function(t){return new(t||o)(c(C),c(O),c(te),c(ee),c(v),c(fe),c(S))}}static{this.\u0275prov=w({token:o,factory:o.\u0275fac})}}return o})();var me=(()=>{class o{constructor(e,t,i){this.elementRef=e,this.renderer=t,this.router=i,this.router.events.subscribe(()=>{this.hrefAddition()})}ngAfterViewInit(){this.hrefAddition()}hrefAddition(){let e=this.elementRef?.nativeElement;e&&typeof e?.hasAttribute=="function"&&this.url?.includes("://")&&this.renderer.setAttribute(e,"href",this.url)}static{this.\u0275fac=function(t){return new(t||o)(h(D),h(M),h(v))}}static{this.\u0275dir=H({type:o,selectors:[["","appDynamicUrl",""]],inputs:{url:[0,"appDynamicUrl","url"]}})}}return o}
1)();function Se(o,k){if(o&1&&(u(0,"div",10)(1,"h2",11),f(2),d(),u(3,"p",12),f(4),d()()),o&2){let e=m();l(2),b(e.titles.pagenotfound.sorrymessage),l(2),b(e.titles.pagenotfound.linkfollowed)}}function ke(o,k){o&1&&(u(0,"div",10)(1,"h2",11),f(2,"Uh oh!"),d(),u(3,"p",12),f(4,"We couldn't find any content with these filters. Please try a broader search."),d()())}function Le(o,k){if(o&1&&(u(0,"div",10)(1,"h2",11),f(2),d(),u(3,"p",12),f(4),d()()),o&2){let e=m();l(2),G("Your search ",e.searchKey," returned no results"),l(2),b(e.titles.searchResults.trydifferentsearch)}}function we(o,k){if(o&1&&(u(0,"a",13),f(1),d()),o&2){let e=m();g("appDynamicUrl",V(e.indiaHomepage))("routerLink",e.indiaHomepage!=null&&e.indiaHomepage.includes("://")?null:"/"+e.countryUrl),l(),b(e.titles==null||e.titles.pagenotfound==null?null:e.titles.pagenotfound.gotohomepage)}}function Ie(o,k){if(o&1&&(u(0,"a",14),f(1),d()),o&2){let e=m();l(),b(e.titles==null||e.titles.pagenotfound==null?null:e.titles.pagenotfound.gotohomepage)}}function xe(o,k){if(o&1){let e=Q();u(0,"button",15),Y("click",function(){B(e);let i=m();return j(i.refineYourSearch())}),f(1),d()}if(o&2){let e=m();l(),b(e.titles==null||e.titles.pagenotfound==null?null:e.titles.pagenotfound.refineyoursearch)}}var rt=(()=>{class o{constructor(e,t,i,n,r,a){this.route=e,this.document=t,this.clickStream=i,this.contentful=n,this.router=r,this.cookieService=a,this.dynamicImagePath=T,this.clearFilter=new R,this.defaultImage=T+"/assets/img_px.gif"}ngOnInit(){this.titles=this.contentful?.translatedData,this.route.url.subscribe(e=>{this.countryUrl=this.route.snapshot.paramMap.get("country_name")!=null?this.route.snapshot.paramMap.get("country_name"):""}),this.otherDetails&&this.cookieService?.get("Client_Country_Code")==="IN"&&this.otherDetails.countryUrl===""&&(this.indiaHomepage="https://"+ae),this.isIndiaWebsite=this.contentful.checkIndiawebsite()}refineYourSearch(){this.clearFilter.emit(),this.otherDetails?.pageName=="Events Listing Page"&&(this.sectionName="Events list",this.functionalityName="IELTS Events");let e=this.contentful.prevPageName?this.contentful.prevPageName:this.otherDetails?.pageName,t=new se(this.otherDetails?.pageName,this.contentful.domainName+this.router.url,"ButtonClicked","Interaction","Events list","IELTS Events","Refine your search",e);this.clickStream.clickstreamLogging(t)}ngOnDestroy(){this.document.body.classList.remove("error-page")}static{this.\u0275fac=function(t){return new(t||o)(h(ne),h(C),h(de),h(ue),h(v),h(S))}}static{this.\u0275cmp=W({type:o,selectors:[["app-not-found"]],inputs:{otherDetails:"otherDetails",pageNotFound:"pageNotFound",searchKey:"searchKey",recordNotFound:"recordNotFound"},outputs:{clearFilter:"clearFilter"},decls:12,vars:10,consts:[[1,"error-page","px-48","py-40","p-24-900","pb-32-900",3,"ngClass"],[1,"container","d-flex","flex-column"],[1,"error-wrapper","d-flex","flex-column","align-items-center","justify-content-center","gap32"],[1,"error-image"],["width","163","height","200","alt","404",3,"defaultImage","lazyLoad"],["class","error-content text-center",4,"ngIf"],[1,"d-flex","justify-content-center"],["class","refine-btn button button-primary rounded-full",3,"appDynamicUrl","routerLink",4,"ngIf"],["href","/","class","refine-btn button button-primary rounded",4,"ngIf"],["class","refine-btn button button-primary rounded-full",3,"click",4,"ngIf"],[1,"error-content","text-center"],[1,"heading1","clr-black"],[1,"heading4"],[1,"refine-btn","button","button-primary","rounded-full",3,"appDynamicUrl","routerLink"],["href","/",1,"refine-btn","button","button-primary","rounded"],[1,"refine-btn","button","button-primary","rounded-full",3,"click"]],template:function(t,i){t&1&&(u(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3),K(4,"img",4),d(),x(5,Se,5,2,"div",5)(6,ke,5,0,"div",5)(7,Le,5,2,"div",5),u(8,"div",6),x(9,we,2,4,"a",7)(10,Ie,2,1,"a",8)(11,xe,2,1,"button",9),d()()()()),t&2&&(g("ngClass",i.pageNotFound?"page-error":""),l(4),g("lazyLoad",q("",i.dynamicImagePath,"/assets/er_icn_srch.svg"))("defaultImage",i.defaultImage),l(),g("ngIf",i.pageNotFound),l(),g("ngIf",i.recordNotFound),l(),g("ngIf",i.searchKey==null?null:i.searchKey.length),l(2),g("ngIf",i.pageNotFound&&!i.isIndiaWebsite),l(),g("ngIf",i.pageNotFound&&i.isIndiaWebsite),l(),g("ngIf",i.recordNotFound))},dependencies:[X,$,J,re,oe,le,ce,me],styles:[".error-page[_ngcontent-%COMP%]{background-color:var(--whitesmoke)}.error-wrapper[_ngcontent-%COMP%]{max-width:650px;margin:0 auto}.error-content[_ngcontent-%COMP%] .heading1[_ngcontent-%COMP%]{padding-bottom:16px}.refine-btn[_ngcontent-%COMP%]{width:max-content}.page-error[_ngcontent-%COMP%]{height:100vh}
1@media only screen and (max-width:900px){.error-image[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:130px;height:160px}}"]})}}return o})();export{me as a,fe as b,We as c,rt as d};
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.