import{P as A,O,av as N,C as V,K as I,o as l,w as m,c as f,E as R,a as d,U as ,ドルb as c,$ as H,G as b,B as j,az as z,ac as M,a3 as D,d as w,p as v,aA as q,l as W}from"#entry";import{b as G}from"./DmUY3eZI.js";import{s as x,c as F,a as u,f as C,e as J,b as K,g as X}from"./Bg878-rZ.js";import{t as Y}from"./DAx_HZyA.js";import{_ as Z}from"./HzbW3IWM.js";import"./BygUUZdj.js";function Q(e,t,a,o){for(var n=e.length,r=a+-1;++r-1;);return a}function oe(e,t){for(var a=-1,o=e.length;++a-1;);return a}function re(e,t,a){if(e=A(e),e&&t===void 0)return G(e);if(!e||!(t=O(t)))return e;var o=x(e),n=x(t),r=oe(o,n),s=ae(o,n)+1;return F(o,r,s).join("")}function ne(e,t,a){return e===e&&(a!==void 0&&(e=e<=a?e:a),e=e>=t?e:t),e}function T(e,t,a){e=A(e),t=O(t);var o=e.length;a=a===void 0?o:ne(Y(a),0,o);var n=a;return a-=t.length,a>=0&&e.slice(a,n)==t}var se={};const ie={props:{canEngageWithJobs:{type:Boolean,default:!1,required:!1},scriptSource:{type:String,default:"",required:!1},integrity:{type:String,default:"",required:!1}},created(){((se.MICROSITES_BROWSER_TEST_URL||"").includes("localhost")||u()!==!1&&!N())&&this.appendTracker()},methods:{appendTracker(){typeof de_track=="object"&&(de_track.instances=[]),document.querySelectorAll("[id*='detrack']").forEach(t=>t.parentNode.removeChild(t));const e=document.createElement("script");e.setAttribute("src",this.scriptSrc),e.setAttribute("id","detrack"),e.setAttribute("defer",!0),this.integrity&&(e.setAttribute("integrity",this.integrity),e.setAttribute("crossorigin","anonymous")),document.body.appendChild(e)}},computed:{cleanPathName(){return re(location.pathname,"/")},isJobDetail(){return T(this.cleanPathName,"job")},isJobListing(){return T(this.cleanPathName,"jobs")},scriptSrc(){let e="https://src.nlx.org/p/t.js";return this.scriptSource&&(e=this.scriptSource),`${e}?i=`+this.scriptParams},scriptParams(){let e="0,6";return this.canEngageWithJobs&&(e="0,2,6"),this.isJobDetail&&(e="0,1,6"),this.isJobListing&&(e="0,3,6"),e}},render(){return this.$slots.default}},ce={props:{transitionName:{type:String,required:!1,default:""}},data(){let e=u();return{acceptedCookie:e,previousState:e}},computed:{showBanner(){return this.acceptedCookie===void 0}},methods:{resetTrackers(){this.previousState!==this.acceptedCookie&&(this.previousState=this.acceptedCookie,window.location.reload())},reportInteractEvent(e){this.$gtag.event(J(e),{event_label:K(e),event_category:"Cookies",domain:window.location.origin})},acceptCookieUse(){this.acceptedCookie=!0,this.reportInteractEvent("opt-in"),C(!0),this.resetTrackers()},declineCookieUse(){this.acceptedCookie=!1,this.reportInteractEvent("opt-out"),C(!1),this.resetTrackers()},reshowBanner(){this.acceptedCookie=void 0}}},le={key:0};function de(e,t,a,o,n,r){const s=Z;return l(),I(s,null,{default:m(()=>[r.showBanner?(l(),f("div",le,[d(,ドル{name:a.transitionName},{default:m(()=>[c("section",H({id:"cookie-consent"},e.$attrs),[b(e.$slots,"default",{acceptCookieUse:r.acceptCookieUse,declineCookieUse:r.declineCookieUse,acceptedCookie:n.acceptedCookie,showBanner:r.showBanner})],16)]),_:3},8,["name"])])):R("",!0)]),_:3})}const pe=V(ce,[["render",de]]),ue=(e,t={})=>new Promise((a,o)=>{if(typeof document>"u")return;const n=document.head||document.getElementsByTagName("head")[0],r=document.createElement("script");if(r.async=!0,r.src=e,r.defer=t.defer,t.preconnectOrigin){const s=document.createElement("link");s.href=t.preconnectOrigin,s.rel="preconnect",n.appendChild(s)}n.appendChild(r),r.onload=a,r.onerror=o}),h=e=>e&&typeof e=="object"&&!Array.isArray(e),y=(e,...t)=>{if(!t.length)return e;const a=t.shift();if(!(!h(e)||!h(a))){for(const o in a)h(a[o])?(e[o]||Object.assign(e,{[o]:{}}),y(e[o],a[o])):Object.assign(e,{[o]:a[o]});return y(e,...t)}},k=()=>!(typeof window>"u"||typeof document>"u"),fe=()=>({bootstrap:!0,onReady:null,onError:null,onBeforeTrack:null,onAfterTrack:null,pageTrackerTemplate:null,customResourceURL:"https://www.googletagmanager.com/gtag/js",customPreconnectOrigin:"https://www.googletagmanager.com",deferScriptLoad:!1,pageTrackerExcludedRoutes:[],pageTrackerEnabled:!0,enabled:!0,disableScriptLoad:!1,pageTrackerScreenviewEnabled:!1,appName:null,pageTrackerUseFullPath:!1,pageTrackerPrependBase:!0,pageTrackerSkipSamePath:!0,globalDataLayerName:"dataLayer",globalObjectName:"gtag",defaultGroupName:"default",includes:null,config:{id:null,params:{send_page_view:!1}}});let B={};const ge=(e={})=>{const t=fe();B=y(t,e)},p=()=>B,P=(...e)=>{const{globalObjectName:t}=p();!k()||typeof window[t]>"u"||window[t](...e)},E=(e,t)=>{k()&&(window[`ga-disable-${e}`]=t)},he=(e=!0)=>{const{config:t,includes:a}=p();if(E(t.id,e),Array.isArray(a))for(const o of a)E(o.id,e)},me=()=>{he(!0)},U=e=>({send_page_view:!1,...e}),we=()=>{const{config:e,includes:t}=p();if(P("config",e.id,U(e.params)),Array.isArray(t))for(const a of t)P("config",a.id,U(a.params))},ve=()=>{if(!k())return;const{enabled:e,globalObjectName:t,globalDataLayerName:a}=p();return window[t]==null&&(window[a]=window[a]||[],window[t]=function(){window[a].push(arguments)}),window[t]("js",new Date),e||me(),window[t]},ye=()=>{const{onReady:e,onError:t,globalObjectName:a,globalDataLayerName:o,config:n,customResourceURL:r,customPreconnectOrigin:s,deferScriptLoad:_,pageTrackerEnabled:i,disableScriptLoad:g}=p();if(ve(),we(),!g)return ue(`${r}?id=${n.id}&l=${o}`,{preconnectOrigin:s,defer:_}).then(()=>{e&&e(window[a])}).catch(S=>(t&&t(S),S))},be=(e,t,a={})=>{const o=N();let n={dimension1:"domain",dimension2:"provider",...a};ge({config:{id:"G-K94WDRZTKX",params:{send_page_view:!0,debug_mode:o,custom_map:{...n}}},includes:o?[]:e});{const r=!(navigator.userAgent.includes("Linux")&&!u());u()!==!1&&r&&ye()}};function ke(){return{setGtagOptions:(t,a,o)=>{be(t,a,o)}}}const _e=["onClick"],Se={__name:"AppFooter",setup(e){const{setGtagOptions:t}=ke(),a=j(),{googleAnalytics:o,privacyUrl:n,siteUrl:r,googleAnalyticsDimensions:s}=z();return t(o,r,s),M(()=>{X(a.query)}),(_,i)=>(l(),f("div",null,[i[2]||(i[2]=D('
',1)),d(v(pe),{ref:"cookieMonster",class:"fixed bottom-0 left-0 right-0 border-t border-gray-300 bg-primary p-4"},{default:m(({acceptCookieUse:g})=>[c("button",{onClick:g,class:"close-dialog closeX"},[...i[0]||(i[0]=[c("span",{class:"visuallyHidden"},"close dialog box and",-1),w(" ×ばつ ",-1)])],8,_e),i[1]||(i[1]=c("div",{class:"mx-auto max-w-6xl sm:p-0 lg:px-8"},[c("p",{class:"text-white bold"}," We use cookies on this site to enhance your user experience "),c("p",{class:"text-white"},[w(" We and our third-party partners use cookies and similar tracking technologies for various purposes, including to enhance your browsing experience, analyze traffic to our site, and customize content and advertising. By continuing to use this site, you agree to this collection and processing of your information in accordance with our "),c("a",{class:"underline",href:"https://www.usp.org/legal-notices/privacy-policy",target:"_blank",rel:"noopener noreferrer"}," Privacy and Cookies Policy ")])],-1))]),_:1},512),d(v(ie))]))}},xe=["href"],Ce={__name:"AppSkipTo",props:{id:{type:String,default:"main"}},setup(e){const t=e,a=n=>{const r=document.getElementById(t.id);r&&(r.tabIndex=-1,r.focus()),n.preventDefault()},o=q();return W(()=>o.path,()=>{document.body.tabIndex=0,document.body.focus(),document.body.tabIndex=-1}),(n,r)=>(l(),f("a",{href:`#${t.id}`,id:"skip-to",class:"skip-to",onClick:a},[b(n.$slots,"default",{},()=>[r[0]||(r[0]=w("Skip To Main Content",-1))])],8,xe))}},Ne={__name:"default",setup(e){return(t,a)=>{const o=Se;return l(),f("div",null,[d(v(Ce)),b(t.$slots,"default"),d(o)])}}};export{Ne as default};

AltStyle によって変換されたページ (->オリジナル) /