PageSourceSearch

https://www.canephron.by/_nuxt/DhVB0IDe.js

js canephron.by collected 2026-10-04 00:25:04 UTC 13,368 bytes, 1 lines download raw bytes

1import{ag as j,_ as V,j as H,I as G,n as W,a3 as Q,q as K,F as X,H as Z}from"./BsozegOc.js";import{e as A,g as J,o as r,c as f,$ as R,a as n,X as h,au as Y,y as e,q as C,aG as ee,h as T,j as te,V as S,t as k,d as ae,D as ne,A as _,as as ie,f as se,a9 as $,Z as oe,b as y,w as m,T as b,aa as re,aC as le,S as E,a1 as B,P as q,ae as de,ak as ce,_ as ue}from"./BNbWhL3Y.js";import pe from"./D9fUSIsT.js";import me from"./esvRtCPv.js";import{p as he,x as O,I as ye,y as M,m as fe}from"./o6VFQnPJ.js";import{r as ve}from"./Dxe0b-tx.js";import"./B5F5u5F8.js";import"./CjsepRUb.js";const ge={class:"bg-white w-full max-w-[1220px] p-8 rounded-lg flex"},be=["innerHTML"],ke={key:0,class:"w-full h-52 grid place-content-center"},Pe=A({__name:"online-pharmaces-as-script",props:{scriptPayload:{}},setup(t){const v=C(!0),o=C(!1),u=async()=>{if(v.value=!0,await j(250),t.scriptPayload.scriptSrc){const c=document.createElement("script");c.defer=!0,c.src=t.scriptPayload.scriptSrc,c.dataset.id=t.scriptPayload.scriptDataSettingsId,document.head.appendChild(c)}if(t.scriptPayload.scriptContent){const c=document.createElement("script");c.type="text/javascript",c.defer=!0,c.textContent=t.scriptPayload.scriptContent,c.dataset.id=t.scriptPayload.scriptDataSettingsId,document.head.appendChild(c)}await j(500),v.value=!1,o.value=!1},P=()=>{if(o.value)return;if(document.querySelectorAll(`script[data-id="${t.scriptPayload.scriptDataSettingsId}"]`)?.forEach(p=>{p.remove()}),t.scriptPayload.actionsOnRemoveScriptContent){const p=document.createElement("script");p.type="text/javascript",p.defer=!0,p.textContent=t.scriptPayload.actionsOnRemoveScriptContent,document.head.appendChild(p),p.remove()}};return J().hook("page:loading:start",()=>{P(),o.value=!0}),(c,p)=>(r(),f("div",ge,[R(n("div",null,[t.scriptPayload.htmlCode?(r(),f("div",{key:0,onVnodeMounted:u,onVnodeUnmounted:P,innerHTML:t.scriptPayload.htmlCode},null,8,be)):h("",!0)],512),[[Y,!e(v)]]),e(v)?(r(),f("div",ke,[...p[0]||(p[0]=[n("svg",{class:"size-20 animate-spin text-primary",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[n("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),n("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)])])):h("",!0)]))}}),xe=Object.assign(Pe,{__name:"PharmacySectionOnlinePharmacesAsScript"}),Se=["data-url","data-type-pharmacy","data-type-phyto","data-uid","data-country","data-country-label","data-default-lat","data-default-lng","data-hide-filters","data-hide-phytothek","data-route-label","data-route-marker-label","data-no-phyto-msg","data-distance-unit","data-skip-cmp","data-google-maps-consent-id","data-pin-pharmacy","data-
1pin-phyto","data-pin-position","data-pin-size","data-pin-width","data-pin-height","data-pin-anchor"],_e={method:"post",action:"#"},we={class:"finder-top"},Ce={class:"title"},Le={class:"search"},$e={class:"wrap"},Me=["placeholder"],Ae=["value"],Ie={key:0,class:"filters"},je={class:"title"},Ee={class:"filter-wrap"},Be={for:"filter-pharmacy"},qe={key:0,class:"filter-wrap"},Oe={for:"filter-phytothek"},Re={class:"help"},Te={class:"tooltip"},ze={class:"maps-cookie-consent-overlay"},De=["href"],Fe={class:"maps-accept-cookies btn",href:"javascript:{}"},Ne=A({__name:"index",setup(t){const v=ne(),{t:o}=ee(),u=_(()=>v.public.GOOGLE_MAPS_SKIP_CMP?.toLowerCase()==="true"),P=_(()=>v.public.SITE==="BNO ES"),i=_(()=>P.value?{url:"",typePharmacy:"1",typePhyto:"2",uid:"0",country:"es",countryLabel:"España",defaultLat:40.4168,defaultLng:-3.7038,hideFilters:!0,hidePhytothek:!0,routeLabel:o("storefinderRoute"),routeMarkerLabel:o("storefinderRouteMarker"),noPhytoMsg:o("storefinderNoPhytoMsg"),distanceUnit:o("storefinderDistanceUnit"),privacyUrl:"/servicio/politica-de-privacidad#google-maps",pinPharmacy:"/img/pin-map-bno-es.png",pinPhyto:"/img/pin-map-bno-es.png",pinPosition:"/img/pin-map-bno-es.png",pinSize:0,pinWidth:28,pinHeight:40,pinAnchor:"bottom"}:{url:"https://www.phytothek.de/",typePharmacy:"1",typePhyto:"2",uid:"116",country:"de",countryLabel:"Deutschland",defaultLat:51.165691,defaultLng:10.451526,hideFilters:!1,hidePhytothek:!1,routeLabel:o("storefinderRoute"),routeMarkerLabel:o("storefinderRouteMarker"),noPhytoMsg:o("storefinderNoPhytoMsg"),distanceUnit:o("storefinderDistanceUnit"),privacyUrl:"/service/datenschutzerklaerung#google-maps",pinPharmacy:"/img/pin-pharmacy.png",pinPhyto:"/img/pin-phytothek.png",pinPosition:"/img/pin-small.png",pinSize:0,pinWidth:0,pinHeight:0,pinAnchor:"center"}),c=(l,a,s="text/javascript")=>new Promise((w,L)=>{if(document.getElementById(a)){w(!0);return}const x=document.createElement("script");x.id=a,x.src=l,x.type=s,x.onload=w,x.onerror=L,document.body.appendChild(x)}),p=()=>{c("https://code.jquery.com/jquery-3.7.0.min.js","storefinder-jquery").then(()=>c("/storefinder-script.js","storefinder-script")).catch(l=>console.error("Script loading failed",l))},g=()=>{["storefinder-jquery","storefinder-script"].forEach(l=>{const a=document.getElementById(l);a&&a.remove()})};return T(()=>{p()}),te(()=>{g()}),(l,a)=>(r(),f("div",{class:S(["storefinder",{"storefinder--bno-es":e(P)}]),"data-url":e(i).url,"data-type-pharmacy":e(i).typePharmacy,"data-type-phyto":e(i).typePhyto,"data-uid":e(i).uid,"data-country":e(i).country,"data-country-label":e(i).countryLabel,"data-default-lat":e(i).defaultLat,"data-default-lng":e(i).defaultLng,"data-hide-filters":e(i).hideFilters,"data-hide-phytothek":e(i).hidePhytothek,"data-route-label":e(i).routeLabel,"data-route-marker-label":e(i).routeMarkerLabel,"data-no-phyto-msg":e(i).noPhytoMsg,"data-distance-unit":e(i).distanceUnit,"data-skip-cmp":e(u),"data-google-maps-consent-id":e(v).public.GOOGLE_MAPS_CONSENT_ID,"data-pin-pharmacy":e(i).pinPharmacy,"data-pin-phyto":e(i).pinPhyto,"data-pin-position":e(i).pinPosition,"data-pin-size":e(i).pinSize,"data-pin-width":e(i).pinWidth,"data-pin-height":e(i).pinHeight,"data-pin-anchor":e(i).pinAnchor},[n("form",_e,[n("div",we,[a[0]||(a[0]=n("a",{href:"#",class:"cta-close"},null,-1)),n("span",Ce,k(l.$t("storefinderTitle")),1),n("div",Le,[n("div",$e,[n("input",{type:"text",id:"storefinder-search",placeholder:l.$t("storefinderPlaceholder"),class:"pac-target-input",autocomplete:"off"},null,8,Me),n("input",{type:"submit",value:l.$t("storefinderSubmit"),id:"storefinder-finden"},null,8,Ae)])]),a[1]||(a[1]=n("div",{class:"my-place"},null,-1))]),e(i).hideFilters?h("",!0):(r(),f("div",Ie,[n("span",je,k(l.$t("storefinderFilter")),1),n("div",Ee,[a[2]||(a[2]=n("input",{id:"filter-pharmacy",type:"checkbox",name:"filter-pharmacy",checked:""},null,-1)),n("label",Be,[n("span",null,k(l.$t("storefinderPharmacies")),1)])]),e(i).hidePhytothek?h("",!0):(r(),f("div",qe,[a[3]||(a[3]=n("input",{id:"filter-phytothek",type:"checkbox",name:"filter-phytothek",checked:""},null,-1)),n("label",Oe,[n("span",null,k(l.$t("storefinderPhytothek")),1)]),n("i",Re,[n("span",Te,[n("span",null,k(l.$t("storefinderPhytothekHelp")),1)])])]))])),a[4]||(a[4]=n("div",{class:"map"},[n("div",{class:"map-pharmacy-list active"}),n("div",{id:"map-canvas",style:{height:"400px",position:"relative",overflow:"hidden"}})],-1)),a[5]||(a[5]=n("div",{class:"pharmacy-list"},null,-1)),n("div",ze,[n("p",null,[ae(k(l.$t("storefinderCookieText"))+" ",1),n("a",{target:"blank",href:e(i).privacyUrl},k(l.$t("storefinderPrivacyLink")),9,De)]),n("a",Fe,k(l.$t("storefinderCookieAccept")),1)])])],10,Se))}}),Ue=Object.assign(Ne,{__name:"PharmacySectionStorefinder"}),Ve=["data-sb-field-path","data-contentful-entry-id"],He=["innerHTML","data-contentful-entry-id"],Ge={key:2,class:"mt-2 -mx-3 md:mt-0 md:ml-auto md:mr-0"},We={class:"relative"},Qe={class:"block truncate font-bold tracking-wide text-xl"},Ke={class:"pointer-events-none absolute inset-y-0 right-0 flex items-center pr-2"},Xe={class:"block truncate text-xl"},Ze={class:"grid grid-cols-[repeat(auto-fill,_minmax(290px,_1fr))] gap-4","data-sb-field-path":".pharmacyCards"},Je=A({__name:"container",props:{text:{},pharmacyCards:{}
1,localPharmaciesMap:{},localPharmaciesMapAsStorefinder:{type:Boolean},backgroundColor:{default:"bg-color-primary"},imageAspectRatio:{default:"3:2"},imageFormat:{default:"contain"},brandList:{},onlinePharmaciesAsScript:{},__metadata:{},elementId:{},headline:{},name:{},internalName:{},styles:{},annotationPrefix:{}},setup(t){Z(()=>ce());const v=_(()=>t.styles?.self||{}),o=C(0),u=C(t.brandList?.[0]),P=_(()=>t.pharmacyCards?.map((a,s)=>({...a,index:s})).filter(a=>(a.pharmaciesList||[]).find(s=>s.key===u.value?.key))),i=C(!0),c=_(()=>!!(t.brandList&&t.brandList.length>1&&i.value)),p=_(()=>!!((t.localPharmaciesMap||t.localPharmaciesMapAsStorefinder)&&(t.pharmacyCards?.length||t.onlinePharmaciesAsScript))),g=ie(),l=se();return T(()=>{if(g.query.type)if(g.query.type==="online"){if(o.value=0,i.value=!0,g.query.brand&&t.brandList){const a=t.brandList.find(s=>s.key===g.query.brand);a&&(u.value=a)}}else g.query.type==="local"&&(o.value=1,i.value=!1)}),$(()=>g.query,async a=>{if(await de(),a.type)if(a.type==="online"){if(o.value!==0&&(o.value=0,i.value=!0),a.brand&&t.brandList){const s=t.brandList.find(w=>w.key===a.brand);s&&s.key!==u.value?.key&&(u.value=s)}}else a.type==="local"&&o.value!==1&&(o.value=1,i.value=!1)},{deep:!0}),$(o,a=>{const s={...g.query};a===0?(s.type="online",u.value?.key&&(s.brand=u.value.key)):a===1&&(s.type="local",delete s.brand),l.replace({query:s})}),$(u,a=>{if(i.value&&a?.key){const s={...g.query,type:"online",brand:a.key};l.replace({query:s})}}),(a,s)=>{const w=V,L=H,x=xe,z=pe,D=Ue,F=me,N=oe("intersection-section");return R((r(),f("section",{class:S(["relative",[t.backgroundColor]]),"data-sb-field-path":t.annotationPrefix,"data-contentful-entry-id":t.__metadata?.id,"data-contentful-field-id":"text"},[y(w,{"element-id":t.elementId},null,8,["element-id"]),n("div",{class:S(["container",e(v).margin,e(v).padding||"py-12 sm:py-16"])},[y(e(fe),{as:"div",class:"flex gap-10 flex-col",selectedIndex:e(o),onChange:s[1]||(s[1]=d=>{o.value=d,i.value=d===0})},{default:m(()=>[t.text?(r(),f("div",{key:0,innerHTML:a.$md(t.text),"data-sb-field-path":".text",class:"text-block prose prose-base lg:prose-lg","data-contentful-entry-id":t.__metadata?.id,"data-contentful-field-id":"text"},null,8,He)):h("",!0),e(p)||e(c)?(r(),b(e(he),{key:1,class:"flex flex-col md:flex-row md:items-center gap-4"},{default:m(()=>[e(p)?(r(),b(e(O),{key:0,as:"template"},{default:m(({selected:d})=>[y(L,{label:a.$t("onlinePharmacy"),"style-button":d?"primary":"outlined",rounded:"","as-button":"",class:"outline-hidden ring-0 w-fit"},null,8,["label","style-button"])]),_:1})):h("",!0),e(p)?(r(),b(e(O),{key:1,as:"template"},{default:m(({selected:d})=>[y(L,{label:a.$t("localPharmacy"),"style-button":d?"primary":"outlined",rounded:"","as-button":"",class:"outline-hidden ring-0 w-fit"},null,8,["label","style-button"])]),_:1})):h("",!0),e(c)?(r(),f("div",Ge,[y(e(G),{as:"div",modelValue:e(u),"onUpdate:modelValue":s[0]||(s[0]=d=>re(u)?u.value=d:null)},{default:m(()=>[n("div",We,[y(e(W),{as:"template"},{default:m(({open:d})=>[n("button",{class:S(["list-button relative w-full min-w-64 cursor-default py-2 pl-3 pr-20 text-left sm:text-sm sm:leading-6",d?"active shadow-lg":"text-light inactive"])},[n("span",Qe,k(e(u)?.value||"All brands"),1),n("span",Ke,[y(e(Q),{class:S(["h-7 w-7 transition-transform list-button--icon",d?"rotate-180 active":"inactive"]),"aria-hidden":"true"},null,8,["class"])])],2)]),_:1}),y(le,{"leave-active-class":"transition ease-in duration-100","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:m(()=>[y(e(K),{class:"dropdown absolute z-10 max-h-60 w-full overflow-auto py-1 text-xl shadow-lg ring-1 ring-black/5 focus:outline-hidden sm:text-sm"},{default:m(()=>[(r(!0),f(E,null,B(t.brandList,d=>(r(),b(e(X),{as:"template",key:d.key,value:d},{default:m(({active:I,selected:U})=>[n("li",{class:S(["relative cursor-default dropdown--item select-none py-2 pl-10 pr-4",I?" active":"inactive"])},[n("span",Xe,k(d.value),1),U?(r(),f("span",{key:0,class:S(["dropdown--icon absolute inset-y-0 left-0 flex items-center pl-1.5",I?" active":"inactive"])},[y(e(ve),{class:"h-5 w-5","aria-hidden":"true"})],2)):h("",!0)],2)]),_:2},1032,["value"]))),128))]),_:1})]),_:1})])]),_:1},8,["modelValue"])])):h("",!0)]),_:1})):h("",!0),y(e(ye),null,{default:m(()=>[t.onlinePharmaciesAsScript?(r(),b(e(M),{key:0},{default:m(()=>[y(x,{"script-payload":t.onlinePharmaciesAsScript},null,8,["script-payload"])]),_:1})):e(P)?.length?(r(),b(e(M),{key:1},{default:m(()=>[n("div",Ze,[(r(!0),f(E,null,B(e(P),d=>(r(),b(z,q({key:d.__metadata.id},{ref_for:!0},d,{"image-format":t.imageFormat,"image-aspect-ratio":t.imageAspectRatio,"selected-brand":e(u),"annotation-prefix":`.${d.index}`}),null,16,["image-format","image-aspect-ratio","selected-brand","annotation-prefix"]))),128))])]),_:1}
1)):h("",!0),t.localPharmaciesMap||t.localPharmaciesMapAsStorefinder?(r(),b(e(M),{key:2},{default:m(()=>[t.localPharmaciesMapAsStorefinder?(r(),b(D,{key:0})):t.localPharmaciesMap?(r(),b(F,q({key:1},t.localPharmaciesMap,{class:"w-full"}),null,16)):h("",!0)]),_:1})):h("",!0)]),_:1})]),_:1},8,["selectedIndex"])],2)],10,Ve)),[[N,[t.elementId,t.headline]]])}}}),rt=Object.assign(ue(Je,[["__scopeId","data-v-213ad725"]]),{__name:"PharmacySectionContainer"});export{rt as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.