1import{F as i,z as m,aa as $}from"./vendor-BFdmzhhJ.js";import{l,cj as P,g8 as k,ah as d,ai as u,aq as f,d as x,ae as _,a5 as v}from"./vendor-fa-CpubqqA_.js";import{V as S}from"./VetsterNotice-DU7jgBrx.js";import{R as c}from"./VetsterRxTransferDownloadAppSlideOver-CtBpX63T.js";import{n,P as p}from"./index-CyrJUDYP.js";import{V as h}from"./use-product-helpers-C_F3utAO.js";import{e as I,u as g,a as V}from"./VetsterPrescriptionStatus-CdfPIPvp.js";import{V as E}from"./VetsterSaleBadge-OrMa5jjl.js";import{V as F}from"./VetsterCurrency-CgbP5cjq.js";import{V as R}from"./VetsterProductImage-BycqVp6B.js";import{P as A,u as C}from"./use-prescription-helpers-CsLF978K.js";import{l as b}from"./date-time-DIE7wEOt.js";import{V as O}from"./VetsterPagination-BiE5iHr1.js";import{V as T}from"./VetsterSlideOver-CdSa6AjK.js";import{_ as G}from"./vetster-phone-notifications-DZXzDf-u.js";import"./vendor-l-D9uP9bif.js";import"./VetsterAppStoresBadges-BuuYvvpd.js";import"./use-flea-and-tick-offer-CO5X8G3E.js";import"./half-blue-circle-BbgZPeBm.js";import"./bubblegum-curly-line-CdpaE-E6.js";import"./vendor-v-COJxgB1E.js";import"./vendor-tw-DgJcRl_c.js";import"./ProductCategoryType-Cbh-UR-9.js";import"./VetsterRxLogo-DACe1yU3.js";import"./VetsterPetAge-BbZmnjeM.js";import"./Gender-Dw8VBhrW.js";import"./VetsterPetImage-CZBw1F41.js";import"./PetIcons-D27o_lwC.js";import"./PetSpecies-DWU4hBFI.js";import"./VetsterPetSpecies-BXPDJNMN.js";import"./format-D46G0H0Y.js";import"./use-weight-helpers-BHyQQei7.js";import"./use-ecommerce-helpers-Bqnc7mOV.js";import"./CartType-CpmTZQi5.js";import"./TogglesSupportChat-pjCA3cVf.js";l.add(P);const N={name:"VetsterCxPrescriptionInfoNotice",components:{VetsterNotice:S},mixins:[c],computed:{...i(["isEcommerceCapable"])}};var W=function(){var t=this,e=t._self._c;return e("vetster-notice",{attrs:{icon:["fal","info"],color:"ocean"}},[t.cxRxTransferCapable?[e("i18n",{attrs:{path:"prescriptions.you-can-get-your-prescriptions-fulfilled-by-sending-them-to-a-pharmacy"},scopedSlots:t._u([{key:"here",fn:function(){return[e("span",{staticClass:"font-semibold lowercase underline cursor-pointer inline-block",on:{click:function(s){return t.$bus.$emit("open-rx-transfer-download-app-slide-over")}}},[t._v(" "+t._s(t.$t("common.here"))+" ")])]},proxy:!0}],null,!1,3926615763)})]:t.isEcommerceCapable?[t._v(" "+t._s(t.$t("prescriptions.your-prescription-and-refill-information"))+" ")]:[t._v(" "+t._s(t.$t("prescriptions.your-prescription-and-refill-information-non-ecommerce"))+" ")]],2)},B=[],j=n(N,W,B,!1,null,null);const q=j.exports;l.add({faCalendarDay:v,faCartPlus:_,faCheck:x,faChevronRight:f,faFingerprint:u,faPrescriptionBottle:d,faRedo:k});const L={name:"VetsterCxEcommercePrescriptionGroup",components:{VetsterCompoundingFeeNotice:h,VetsterCurrency:F,VetsterPrescriptionStatusBadge:I,VetsterProductImage:R,VetsterSaleBadge:E},mixins:[p,c],props:{appointment:{required:!0,type:Object,default:()=>{}},loading:{type:Boolean,default:!1}},setup(){const a=m().proxy.$root,{isCompoundingFeeEnabled:t}=g(a),{getNameFromPrescription:e,getAttributeStringFromPrescription:s,getPurchaseableStatusBadge:r,getPurchaseableStatusMessage:o,isPrescriptionEligibleForRxTransfer:y,isPvd:w}=C();return{getNameFromPrescription:e,getAttributeStringFromPrescription:s,getPurchaseableStatusBadge:r,getPurchaseableStatusMessage:o,isCompoundingFeeEnabled:t,isPrescriptionEligibleForRxTransfer:y,isPvd:w}},computed:{...i(["getLocale"]),...i("cart",["getItemsInCart"]),canOrderAll(){return this.appointment.prescriptions.some(a=>a.can_be_purchased&&!this.itemInCart(a))},rxTransferCapableGroup(){return this.cxRxTransferCapable&&this.getLocale==="en-US"},showOrderAll(){return this.appointment.prescriptions.some(a=>a.can_be_purchased)}},methods:{handleOpenCart(){this.$bus.$emit("open-cart",{count:0})},async addItemToCart(a){var t;this.$emit("loading",!0);try{await this.$store.dispatch("cart/addPrescriptionItem",{product:a}),this.$bus.$emit("open-cart",{count:1})}catch(e){this.parseError(e,!0),((t=e.response)==null?void 0:t.status)===422&&await this.$store.dispatch("cart/fetchCart").catch(s=>this.parseError(s,!0))}this.$emit("loading",!1)},getProductPrice(a){return a.discount&&a.is_eligible_for_discount?a.subtotal:a.price},itemExpired(a){return a.purchasable_status===A.Expired},itemInCart(a){return this.getItemsInCart&&this.getItemsInCart.some(t=>t===a.uuid)},async handleOrderAll({prescriptions:a}){this.$emit("loading",!0);const t=a.filter(e=>e.can_be_purchased&&!this.itemInCart(e)).map(e=>e.uuid);try{await this.$store.dispatch("cart/addBulkPrescriptionItems",{orderable_uuids:t}),this.$bus.$emit("open-cart",{count:t.length})}catch(e){this.parseError(e,!0)}this.$emit("loading",!1)},localDateTimeReadable:b}};var z=function(){var t=this,e=t._self._c;return e("div",{staticClass:"w-full"},[e("div",{staticClass:"flex flex-col overflow-hidden border md:rounded-md border-neutral-200 sm:shadow-sm"},[e("div",{staticClass:"w-full flex flex-col space-y-4 lg:flex-row bg-neutral-50 lg:items-center border-b border-neutral-200 px-4 py-4 sm:py-5 sm:pl-7 sm:pr-5"},[e("div",{staticClass:"flex-1 flex-col justify-center"},[e("div",{staticClass:"text-lg leading-6 text-black"},[t._v(" "+t._s(t.$t("prescriptions.prescriptions-for"))+" "),e("span",{staticClass:"font-medium mr-2"},[t._v(" "+t._s(t.appointment.pet.name)+" ")])]),e("div",{staticClass:"text-neutral-600 whitespace-nowrap text-sm lg:inline block"},[t._v(" "+t._s("".concat(t.$t("prescriptions.added-by")," ").concat(t.appointment.partner.fullNameWithTitle()))+" ")]),e("div",{staticClass:"flex flex-col xl:flex-row mt-3 xl:px-0 xl:mt-1 xl:items-center text-base xl:space-x-5"},[e("div",{staticClass:"flex space-x-2 items-center flex-nowrap"},[e("fa",{staticClass:"text-ocean-700 fa-fw mb-0.5",attrs:{icon:["fal","calendar-day"]}}),e("div",{staticClass:"text-base"},[t._v(" "+t._s(t.localDateTimeReadable(t.appointment.start_at))+" ")])],1),e("div",{staticClass:"flex space-x-2 items-center flex-nowrap ml-0.5"},[e("fa",{staticClass:"text-ocean-700 fa-fw",attrs:{icon:["fal","fingerprint"]}}),e("div",{staticClass:"font-normal sm:text-sm flex space-x-1 items-center"},[e("span",{staticClass:"text-base whitespace-nowrap"},[t._v(t._s(t.$t("prescriptions.appointment-id")))]),e("span",{staticClass:"text-ocean-700 hover:text-ocean-600 font-medium text-base"},[e("router-link",{attrs:{to:{name:"cx.appointments.show",params:{id:t.appointment.reference_id}}}},[t._v(" "+t._s(t.appointment.reference_id)+" ")])],1)])],1)])]),t.showOrderAll?e("vetster-button-legacy",{staticClass:"ml-0 lg:ml-4 cursor-pointer justify-center",attrs:{size:"sm",variant:"outlineGray",type:"button",disabled:t.loading||!t.canOrderAll},on:{click:function(s){return t.handleOrderAll(t.appointment)}}},[e("div",{staticClass:"flex items-center"},[e("span",[t._v(t._s(t.$t("prescriptions.add-all-Vetster-prescription-to-your-cart")))])])]):t._e()],1),e("div",{staticClass:"px-4 sm:pl-7 sm:pr-5"},[e("table",{staticClass:"mt-4 w-full text-neutral-500 sm:mt-6"},[e("caption",{staticClass:"sr-only"},[t._v(" Products ")]),e("thead",{staticClass:"sr-only text-sm text-neutral-500 text-left sm:not-sr-only"},[e("tr",[e("th",{staticClass:"sm:w-3/5 lg:w-1/3 pr-8 py-3 font-normal",attrs:{scope:"col"}},[t._v(" "+t._s(t.$t("prescriptions.prescriptions"))+" ")]),e("th",{staticClass:"hidden w-1/5 pr-8 py-3 font-normal sm:table-cell",attrs:{scope:"col"}},[t._v(" "+t._s(t.$t("prescriptions.price"))+" ")]),e("th",{staticClass:"hidden pr-8 py-3 font-normal sm:table-cell",attrs:{scope:"col"}},[t._v(" "+t._s(t.$t("prescriptions.quantity"))+" ")]),e("th",{staticClass:"w-0 py-3 font-normal text-right",attrs:{scope:"col"}},[t._v(" "+t._s(t.$t("common.action"))+" ")])])]),e("tbody",{staticClass:"border-b border-neutral-200 divide-y divide-neutral-200 text-sm sm:border-t"},t._l(t.appointment.prescriptions,function(s){var r;return e("tr",{key:s.uuid},[e("td",{staticClass:"py-6 pr-8"},[e("div",{staticClass:"flex items-center"},[e("vetster-product-image",{staticClass:"hidden shrink-0 mr-6 sm:block",attrs:{"is-checkout":"",product:s.product,"show-category-badge":"",size:"md"}}),e("div",[e("div",{staticClass:"font-medium text-neutral-900 flex items-center space-x-2"}
1,[e("div",{class:{"line-through opacity-50":t.itemExpired(s)}},[e("span",[t._v(t._s(t.getNameFromPrescription(s)))]),t.itemExpired(s)?e("span",{staticClass:"text-pink-600 inline-block font-light"},[t._v(" "+t._s(t.$t("cart.prescription-expired"))+" ")]):t._e()]),s.refills_remaining>0?e("fa",{directives:[{name:"tippy",rawName:"v-tippy",value:{arrow:!0},expression:"{ arrow: true }"}],staticClass:"text-ocean-950 text-base block sm:hidden xl:block",attrs:{icon:["fal","redo"],content:"Refills available"}}):t._e()],1),s.is_custom?t._e():e("div",{staticClass:"space-y-1 mt-1 sm:hidden"},[e("vetster-currency",{attrs:{value:t.getProductPrice(s.product).amount,"amount-classes":["text-neutral-900"]}}),e("vetster-sale-badge",{attrs:{product:s.product}})],1),(r=s.product)!=null&&r.is_compounded&&t.isCompoundingFeeEnabled?e("vetster-compounding-fee-notice"):t._e()],1)],1)]),e("td",{staticClass:"hidden py-6 pr-8 sm:table-cell"},[s.is_custom?t._e():e("div",{staticClass:"flex flex-col items-start"},[e("vetster-currency",{attrs:{value:t.getProductPrice(s.product).amount,"amount-classes":["text-neutral-900"]}}),e("vetster-sale-badge",{attrs:{product:s.product}})],1)]),e("td",{staticClass:"hidden py-6 pr-8 sm:table-cell"},[s&&!s.is_custom?e("div",[t._v(" "+t._s(s.quantity_limit)+" ")]):t._e()]),e("td",{staticClass:"py-6 font-medium text-right whitespace-nowrap",class:{"w-full":t.isPvd(s)}},[t.rxTransferCapableGroup&&t.isPrescriptionEligibleForRxTransfer(s)?e("vetster-prescription-status-badge",{attrs:{prescription:s}}):s.can_be_purchased||t.itemInCart(s)?e("vetster-button-legacy",{attrs:{size:"xs",variant:"outlineGray",disabled:t.itemInCart(s)||t.loading},on:{click:function(o){return t.addItemToCart(s)}}},[t.itemInCart(s)?e("div",{staticClass:"flex items-center"},[e("span",{staticClass:"mr-2"},[e("fa",{staticClass:"text-sm text-ocean-950",attrs:{icon:["fal","check"]}})],1),e("span",{staticClass:"whitespace-nowrap font-medium leading-4 py-1"},[t._v(" "+t._s(t.$t("prescriptions.item-in-cart"))+" ")])]):e("div",{staticClass:"flex items-center"},[e("fa",{staticClass:"fa-fw mr-2 text-ocean-950",attrs:{icon:["fal","cart-plus"]}}),e("span",{staticClass:"whitespace-nowrap font-medium leading-4 py-1"},[t._v(" "+t._s(t.$t("prescriptions.add-to-cart"))+" ")])],1)]):t.isPvd(s)?e("div",{staticClass:"w-full whitespace-normal xl:whitespace-nowrap",domProps:{innerHTML:t._s(t.$t("prescriptions.how-to-purchase-pvd-email"))}}):e("div",{staticClass:"ml-auto w-max"},[e("div",{directives:[{name:"tippy",rawName:"v-tippy"}],staticClass:"cursor-pointer",attrs:{content:t.getPurchaseableStatusMessage(s)},domProps:{innerHTML:t._s(t.getPurchaseableStatusBadge(s))}})])],1)])}),0)])])]),t.showOrderAll?e("div",{staticClass:"flex items-center justify-center w-full"},[e("button",{staticClass:"cursor-pointer px-4 mt-8 text-ocean-700 hover:text-ocean-600 transition text-base flex items-center justify-center space-x-2",attrs:{type:"button"},on:{click:t.handleOpenCart}},[e("fa",{staticClass:"text-xl fa-fw transition-all",attrs:{icon:["fal","shopping-cart"]}}),e("span",[t._v(t._s(t.$t("cart.view-and-checkout")))])],1)]):t._e()])},D=[],M=n(L,z,D,!1,null,null);const H=M.exports;l.add({faCalendarDay:v,faCartPlus:_,faCheck:x,faChevronRight:f,faFingerprint:u,faPrescriptionBottle:d});const U={name:"VetsterCxPrescriptionGroup",components:{VetsterCompoundingFeeNotice:h},mixins:[p],props:{appointment:{required:!0,type:Object,default:()=>{}}},setup(){const a=m().proxy.$root,{isCompoundingFeeEnabled:t}=g(a),{getNameFromPrescription:e,getAttributeStringFromPrescription:s}=C();return{getNameFromPrescription:e,getAttributeStringFromPrescription:s,isCompoundingFeeEnabled:t}},methods:{localDateTimeReadable:b}};var J=function(){var t=this,e=t._self._c;return e("div",{staticClass:"flex flex-col overflow-hidden border md:rounded-md border-neutral-200 sm:shadow-sm"},[e("div",{staticClass:"w-full flex flex-col space-y-4 lg:flex-row bg-neutral-50 lg:items-center border-b border-neutral-200 px-4 py-4 sm:py-5 sm:pl-7 sm:pr-5"},[e("div",{staticClass:"flex-1 flex-col justify-center"},[e("div",{staticClass:"text-lg leading-6 text-black"},[t._v(" "+t._s(t.$t("prescriptions.prescriptions-for"))+" "),e("span",{staticClass:"font-medium mr-2"},[t._v(" "+t._s(t.appointment.pet.name)+" ")])]),e("div",{staticClass:"text-neutral-600 whitespace-nowrap text-xs lg:text-sm lg:inline block"},[t._v(" "+t._s("".concat(t.$t("prescriptions.added-by")," ").concat(t.appointment.partner.fullNameWithTitle()))+" ")]),e("div",{staticClass:"flex flex-col xl:flex-row mt-3 xl:px-0 xl:mt-1 xl:items-center text-base xl:space-x-4"},[e("div",{staticClass:"flex space-x-2 items-center flex-nowrap"},[e("fa",{staticClass:"text-indigo-500 mb-0.5",attrs:{icon:["fal","calendar-day"]}}),e("div",{staticClass:"sm:text-base text-xs"},[t._v(" "+t._s(t.localDateTimeReadable(t.appointment.start_at))+" ")])],1),e("div",{staticClass:"flex space-x-2 items-center flex-nowrap"},[e("fa",{staticClass:"text-indigo-500",attrs:{icon:["fal","fingerprint"]}}),e("div",{staticClass:"font-normal sm:text-sm flex space-x-2 items-center"},[e("span",{staticClass:"text-xs sm:text-base whitespace-nowrap"},[t._v(t._s("".concat(t.$t("prescriptions.appointment-id"),":")))]),e("span",{staticClass:"text-indigo-600 font-medium text-sm sm:text-base"}
1,[t._v(t._s(t.appointment.reference_id))])])],1)])])]),e("div",{staticClass:"px-4 sm:pl-7 sm:pr-5"},[e("table",{staticClass:"w-full"},[e("tbody",{staticClass:"bg-white divide-y divide-neutral-200"},t._l(t.appointment.prescriptions,function(s){var r;return e("tr",{key:s.uuid,staticClass:"w-full"},[e("td",{staticClass:"max-w-0 w-1/2 sm:w-1/3 lg:w-1/4 py-5 text-sm pr-0 sm:pr-6"},[e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"leading-5 font-semibold"},[t._v(" "+t._s(t.getNameFromPrescription(s))+" ")]),s.is_custom?t._e():e("div",{staticClass:"text-neutral-600 truncate"},[t._v(" "+t._s(t.$t("prescriptions.quantity-prescribed"))+": "+t._s(s.quantity_limit)+" ")]),s.is_custom?e("div",{staticClass:"text-neutral-600 truncate"},[t._v(" "+t._s(t.getAttributeStringFromPrescription(s))+" ")]):t._e(),(r=s.product)!=null&&r.is_compounded&&t.isCompoundingFeeEnabled?e("vetster-compounding-fee-notice"):t._e()],1)]),e("td",{staticClass:"max-w-0 hidden lg:table-cell lg:w-1/4 py-5 text-sm px-6"},[e("div",{staticClass:"flex flex-col"},[e("div",{staticClass:"leading-5 font-semibold"},[t._v(" "+t._s(t.$t("prescriptions.directions-for-use"))+": ")]),e("div",{staticClass:"text-neutral-600 truncate"},[t._v(" "+t._s(s.directions)+" ")])])]),e("td",{staticClass:"max-w-0 w-1/3 hidden sm:table-cell lg:w-1/4 py-5 text-sm px-6"},[e("div",{staticClass:"flex flex-col items-center"},[e("div",{staticClass:"leading-5 text-neutral-800 whitespace-nowrap"},[t._v(" "+t._s("".concat(t.$tc("prescriptions.refills-plural",s.refills,{n:s.refills})))+" ")])])]),e("td",{staticClass:"text-right max-w-0 w-1/2 sm:w-1/3 lg:w-1/4"},[e("vetster-button-legacy",{attrs:{size:"xs",variant:"outlineGray"},on:{click:function(o){return t.$emit("prescription-selected",{prescription:s,appointment:t.appointment})}}},[e("div",{staticClass:"flex items-center"},[e("span",{staticClass:"mr-2 mt-1"},[e("fa",{staticClass:"text-sm",attrs:{icon:["fal","prescription-bottle"]}})],1),e("span",{staticClass:"whitespace-nowrap font-medium leading-4 py-1"},[t._v(t._s(t.$t("prescriptions.see-more")))])])])],1)])}),0)])])])},K=[],Q=n(U,J,K,!1,null,null);const X=Q.exports,Y={name:"CxPrescriptionsIndexPrescriptions",components:{VetsterCxEcommercePrescriptionGroup:H,VetsterCxPrescriptionGroup:X,VetsterCxPrescriptionInfoNotice:q,VetsterPagination:O,VetsterPrescriptionStatus:V,VetsterSlideOver:T},mixins:[p,c],data(){return{pageReady:!1,loading:!1,links:{},meta:{},prescriptionGroup:{prescription:null,appointment:null}}},computed:{...i(["isEcommerceCapable"]),...i("prescriptions",["getAppointmentsWithPrescriptions","hasAppointmentsWithPrescriptions"])},async created(){return this.$store.commit("setLoading",!0),this.pageReady=!0,await this.loadPrescriptions(),!0},methods:{...$("prescriptions",["fetchAppointmentsWithPrescriptions"]),async loadPrescriptions(a){this.$store.commit("setLoading",!0);try{const t=await this.fetchAppointmentsWithPrescriptions({perspective:"cx",page:a});this.links=t.data.links,this.meta=t.data.meta}catch(t){this.$toast(this.$t("prescriptions.unable-to-load-available-prescriptions"),{status:"error"}),this.parseError(t),this.goBack()}finally{this.$store.commit("setLoading",!1)}},async handlePrev(a){await this.loadPrescriptions(a),this.$bus.$emit("scroll-top")},async handleNext(a){await this.loadPrescriptions(a),this.$bus.$emit("scroll-top")},goBack(){return window.history.length>1?this.$router.back():this.$router.push("/").catch(()=>{})},handlePrescriptionSelect(a){this.prescriptionGroup=a,this.$refs.prescriptionStatusSlideOver.open()},closePrescriptionStatusSlideOver(){this.$refs.prescriptionStatusSlideOver.close()}}};var Z=function(){var t=this,e=t._self._c;return e("div",[t.pageReady?e("div",[t.hasAppointmentsWithPrescriptions?e("div",[e("div",{staticClass:"md:px-8"},[t.isEcommerceCapable?e("div",[t.$statsig.ready&&t.$statsig.checkGate("ecomm_vetlive_rx")||t.cxRxTransferCapable?e("vetster-cx-prescription-info-notice",{staticClass:"my-6 mx-4 sm:mx-0"}):t._e(),t._l(t.getAppointmentsWithPrescriptions,function(s){return e("vetster-cx-ecommerce-prescription-group",{key:s.uuid,staticClass:"mb-8",attrs:{appointment:s,loading:t.loading},on:{loading:function(r){t.loading=r}}})})],2):e("div",[e("vetster-cx-prescription-info-notice",{staticClass:"mt-6 mx-4 sm:mx-0"}),t._l(t.getAppointmentsWithPrescriptions,function(s){return e("vetster-cx-prescription-group",{key:s.uuid,staticClass:"my-8",attrs:{appointment:s},on:{"prescription-selected":t.handlePrescriptionSelect}})})],2)]),t.hasAppointmentsWithPrescriptions?e("vetster-pagination",{attrs:{total:t.meta.total,from:t.meta.from,to:t.meta.to,"current-page":t.meta.current_page,"last-page":t.meta.last_page,"per-page":t.meta.per_page,first:t.links.first,last:t.links.last,prev:t.links.prev,next:t.links.next},on:{next:t.handleNext,prev:t.handlePrev}}):t._e()],1):e("vetster-empty-section",{staticClass:"p-12",scopedSlots:t._u([{key:"heading",fn:function(){return[t._v(" "+t._s(t.$t("prescriptions.there-are-no-available-prescriptions"))+" ")]},proxy:!0},{key:"image",fn:function(){return[e("img",{staticClass:"h-full",attrs:{src:G,alt:t.$t("image.vetster-walking-the-dog")}})]},proxy:!0}],null,!1,2495294797)}),e("vetster-slide-over",{ref:"prescriptionStatusSlideOver",attrs:{header:t.$t("prescriptions.prescription-status"),"action-label":t.$t("common.done"),"header-variant":"light","show-cancel":!1,"action-label-variant":"solid"},on:{submit:t.closePrescriptionStatusSlideOver}},[e("vetster-prescription-status",{ref:"prescriptionStatus",attrs:{appointment:t.prescriptionGroup.appointment,prescription:t.prescriptionGroup.prescription}})],1)],1):t._e()])},tt=[],et=n(Y,Z,tt,!1,null,null);const Nt=et.exports;export{Nt 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.