PageSourceSearch

https://treedimensional.org/chunk-DmgQ3qWf2.js

js treedimensional.org collected 2026-10-06 05:23:31 UTC 12,308 bytes, 1 lines download raw bytes

1import{Dt as Us,E as Em,En as eu,Fr as tI,Gr as vb,Gt as YC,Ir as td,J as Kr,Kt as YT,Nr as sm,Qr as wi,V as Im,Vr as v,W as Jn,Wn as iu,Yt as ZC,an as a_,dt as QD,ft as QT,j as Gm,jt as Vw,or as ns,tn as _m,ui as zb}from"./chunk-DwtS57HM.js";import"./chunk-CI79qbDP.js";import{c as We}from"./chunk-5NGjGVjb.js";import{t as n}from"./chunk-_P-QcUfi.js";import"./chunk-CYaB4xoM.js";import{r as U}from"./chunk-CpKQLmlW.js";import{A as q,it as o}from"./main-ASD5IS5M.js";import{t as l}from"./chunk-D2Bcqs9X.js";import{i as dn,l as rn,n as Jt,r as an,s as nn,u as sn}from"./chunk-Cb1sNfVd.js";import{n as _,t as M}from"./chunk-BtcRpoYU.js";var S=class s{http=v(We);apiUrl=`${n.apiUrl}/Contact/SendMessage`;sendMessage(a){return this.http.post(this.apiUrl,a)}static ɵfac=function(r){return new(r||s)};static ɵprov=Kr({token:s,factory:s.ɵfac})};var H=()=>({required:`Name is required (max 100 characters).`,maxLength:`Name is required (max 100 characters).`});var J=()=>({required:`A valid e-mail address is required.`,email:`A valid e-mail address is required.`});var V=()=>({required:`Subject is required (max 200 characters).`,maxLength:`Subject is required (max 200 characters).`});var Z=()=>({required:`Message is required (min 20, max 2000 characters).`,minLength:`Message is required (min 20, max 2000 characters).`,maxLength:`Message is required (min 20, max 2000 characters).`});function K(s,a){if(s&1&&(ns(0,`div`,21),zb(1),eu()),s&2){let r=vb();QD(),Gm(r.submitSuccess())}}function Q(s,a){if(s&1&&(ns(0,`div`,22),zb(1),eu()),s&2){let r=vb();QD(),Gm(r.submitError())}}var Y=class s extends q{fieldError=l;contactTags=o.contact;contactService=v(S);isSubmitting=wi(!1);submitSuccess=wi(null);submitError=wi(null);submitted=wi(!1);contactModel=wi({name:``,email:``,subject:``,message:``});contactForm=Jt(this.contactModel,a=>{an(a.name,{message:`Name is required.`}),nn(a.name,100,{message:`Name is too long (max 100).`}),an(a.email,{message:`E-mail is required.`}),rn(a.email,{message:`Please enter a valid e-mail address.`}),an(a.subject,{message:`Subject is required.`}),nn(a.subject,200,{message:`Subject is too long (max 200).`}),an(a.message,{message:`Message is required.`}),sn(a.message,20,{message:`Message must have at least 20 characters.`}),nn(a.message,2e3,{message:`Message is too long (max 2000).`})});get f(){return this.contactForm}onSubmitContact(){if(this.submitted.set(!0),this.contactForm().invalid()||this.isSubmitting())return;this.isSubmitting.set(!0),this.submitSuccess.set(null),this.submitError.set(null);let a=this.contactForm().value();this.contactService.sendMessage(a).pipe(U(this.destroyRef),Us(r=>{let n=r?.error?.message||r?.message||`Failed to send message. Please try again later.`;return this.submitError.set(n),Jn}),td(()=>this.isSubmitting.set(!1))).subscribe(r=>{this.submitSuccess.set(r?.message||`Your message has been sent successfully.`),this.contactForm().reset(),this.submitted.set(!1)})}trackEmailClick(a,r){this.analyticsService.trackTag(this.contactTags.email,{item_id:a,link_text:a,link_url:`mailto:${r}`})}trackPhoneClick(a){this.analyticsService.trackTag(this.contactTags.phone,{item_id:`lab_phone`,link_text:a,link_url:`tel:${a.replace(/[^0-9+]/g,``)}`})}trackExternalSite(a,r){this.analyticsService.trackTag(this.contactTags.externalSite,{item_id:r,link_text:r,link_url:a})}static ɵfac=(()=>{let a;return function(n){return(a||(a=tI(s)))(n||s)}})();static ɵcmp=Vw({type:s,selectors:[[`app-contact`]],features:[sm],decls:103,vars:16,consts:[[1,`page`,`container`],[1,`gz-page-head`,`gz-page-head--world-echo`,`gz-page-head--world-echo--paper`],[1,`gz-kicker`],[1,`gz-page-headline`],[1,`gz-page-standfirst`],[1,`gz-rule-thick`],[1,`contact-grid`],[`aria-labelledby`,`contact-form-heading`,1,`contact-form-section`],[1,`gz-section-head`],[`id`,`contact-form-heading`,1,`gz-section-head__title`],[`novalidate`,``,1,`contact-form`,3,`submit`],[`label`,`Your name`,`required`,``,1,`form-field`,3,`error`],[`gzControl`,``,`type`,`text`,`autocomplete`,`name`,3,`formField`],[`label`,`Your e-mail`,`required`,``,1,`form-field`,3,`error`],[`gzControl`,``,`type`,`email`,`autocomplete`,`email`,3,`formField`],[`label`,`Subject`,`required`,``,1,`form-field`,3,`error`],[`gzControl`,``,`type`,`text`,3,`formField`],[`label`,`Message`,`required`,``,1,`form-field`,3,`error`],[`gzControl`,``,`rows`,`6`,3,`formField`],[1,`form-actions`],[`type`,`submit`,1,`btn-primary`,3,`disabled`],[`role`,`status`,`aria-live`,`polite`,1,`form-success`],[`role`,`alert`,`aria-live`,`assertive`,1,`form-error`],[`aria-label`,`Editorial masthead`,1,`gz-infobox`,`contact-masthead`],[1,`gz-infobox__title`],[1,`contact-masthead__logo`],[`src`,`assets/Imagens/logo_profloresta_transp.webp`,`alt`,`ProFloresta`,`height`,`40`,`width`,`235`,`loading`,`lazy`],[`href`,`mailto:[email protected]`,3,`click`],[`href`,`mailto:[email protected]`,3,`click`],[`href`,`mailto:[email protected]`,3,`click`],[`href`,`tel:+556235211563`,3,`click`],[1,`gz-rule-fine`],[1,`contact-address`],[`aria-labelledby`,`office-head`],[`id`,`office-head`,1,`gz-section-head__title`],[1,`gz-section-head__meta`],[1,`gz-databox`],[`href`,`https://profloresta.agro.ufg.br`,`target`,`_blank`,`rel`,`noopener`,3,`click`],[1,`contact-mission`],[1,`contact-byline`],[`href`,`mailto:[email protected]`,3,`click`]],template:function(r,n){r&1&&(ns(0,`main`,0)(1,`header`,1)(2,`p`,2),zb(3,`Letters & Contact`),eu(),ns(4,`h1`,3),zb(5,`Send a Letter to the Editor`),eu(),ns(6,`p`,4),zb(7,`Write to the editorial office with queries, corrections or comments. Our masthead is below.`),eu()(),Im(8,`hr`,5),ns(9,`div`,6)(10,`section`,7)(11,`div`,8)(12,`span`,9),zb(13,`Your Letter`),eu()(),ns(14,`form`,10),_m(`submit`,function(W){return W.preventDefault(),n.onSubmitContact()}),ns(15,`gz-field`,11),Im(16,`input`,12),QT(),eu(),ns(17,`gz-field`,13),Im(18,`input`,14),QT(),eu(),ns(19,`gz-field`,15),Im(20,`input`,16),QT(),eu(),ns(21,`gz-field`,17),Im(22,`textarea`,18),QT(),eu(),ns(23,`div`,19)(24,`button`,20),zb(25),eu()(),ZC(26,K,2,1,`div`,21),ZC(27,Q,2,1,`div`,22),eu()(),ns(28,`aside`,23)(29,`h2`,24),zb(30,`The Masthead`),eu(
1),ns(31,`p`,25),Im(32,`img`,26),eu(),ns(33,`dl`)(34,`dt`),zb(35,`Editor-in-Chief`),eu(),ns(36,`dd`),zb(37,`Prof. Dr. Gerson dos Santos Lisboa`),Im(38,`br`),ns(39,`a`,27),_m(`click`,function(){return n.trackEmailClick(`Editor-in-Chief`,`[email protected]`)}),zb(40,`[email protected]`),eu()(),ns(41,`dt`),zb(42,`ProFloresta head`),eu(),ns(43,`dd`),zb(44,`Prof. Dr. Fábio Venturoli`),Im(45,`br`),ns(46,`a`,28),_m(`click`,function(){return n.trackEmailClick(`ProFloresta Head`,`[email protected]`)}),zb(47,`[email protected]`),eu()(),ns(48,`dt`),zb(49,`Editorial service`),eu(),ns(50,`dd`)(51,`a`,29),_m(`click`,function(){return n.trackEmailClick(`Editorial Service`,`[email protected]`)}),zb(52,`[email protected]`),eu()(),ns(53,`dt`),zb(54,`Phone`),eu(),ns(55,`dd`)(56,`a`,30),_m(`click`,function(){return n.trackPhoneClick(`+55 (62) 3521-1563`)}),zb(57,`+55 (62) 3521-1563`),eu(),zb(58,` (Forest Inventory Lab.) `),eu()(),Im(59,`hr`,31),ns(60,`address`,32),zb(61,` Universidade Federal de Goiás – UFG`),Im(62,`br`),zb(63,` School of Agronomy, Forestry Sector`),Im(64,`br`),zb(65,` Av. Esperança s/n, Campus Samambaia`),Im(66,`br`),zb(67,` Zip Code: 74.690-900 Goiânia (GO), Brazil `),eu()()(),ns(68,`section`,33)(69,`div`,8)(70,`span`,34),zb(71,`The Editorial Office`),eu(),ns(72,`span`,35),zb(73,`ProFloresta · UFG`),eu()(),ns(74,`div`,36)(75,`dl`)(76,`dt`),zb(77,`Editorial service`),eu(),ns(78,`dd`),zb(79,`The Editorial Service of TreeD Journal · `),ns(80,`a`,29),_m(`click`,function(){return n.trackEmailClick(`Editorial Service`,`[email protected]`)}),zb(81,`[email protected]`),eu()(),ns(82,`dt`),zb(83,`Web`),eu(),ns(84,`dd`)(85,`a`,37),_m(`click`,function(){return n.trackExternalSite(`https://profloresta.agro.ufg.br`,`ProFloresta website`)}),zb(86,`profloresta.agro.ufg.br`),eu()(),ns(87,`dt`),zb(88,`Funding`),eu(),ns(89,`dd`),zb(90,`FUNAPE — Fundação de Apoio à Pesquisa · CNPJ 01567601/0001-43 (project: ProFloresta III)`),eu(),ns(91,`dt`),zb(92,`Postal address`),eu(),ns(93,`dd`),zb(94,`Universidade Federal de Goiás – UFG · School of Agronomy, Forestry Sector · Av. Esperança s/n, Campus Samambaia · Zip Code: 74.690-900 Goiânia (GO), Brazil`),eu()()(),ns(95,`p`,38),zb(96,`“ProFloresta is an academic extension project, registered at FUNAPE research support foundation (Fundação de Apoio a Pesquisa). It is located in the Forest Inventory Laboratory at Federal University of Goiás (UFG) and involves educational activities and professional development. The objectives are to disseminate technical-scientific knowledge related to the conservation and management of forest resources and to promote activities related to forestry, forest exploitation and the sustainable use of forest resources in the Brazilian Cerrado.”`),eu(),ns(97,`p`,39)(98,`strong`),zb(99,`Web Developer Full Stack:`),eu(),zb(100,` Leandro Tassinari Resende · `),ns(101,`a`,40),_m(`click`,function(){return n.trackEmailClick(`Web Developer`,`[email protected]`)}),zb(102,`[email protected]`),eu()()()()),r&2&&(QD(15),Em(`error`,n.fieldError(n.f.name,a_(12,H),n.submitted())),QD(),Em(`formField`,n.f.name),YT(),QD(),Em(`error`,n.fieldError(n.f.email,a_(13,J),n.submitted())),QD(),Em(`formField`,n.f.email),YT(),QD(),Em(`error`,n.fieldError(n.f.subject,a_(14,V),n.submitted())),QD(),Em(`formField`,n.f.subject),YT(),QD(),Em(`error`,n.fieldError(n.f.message,a_(15,Z),n.submitted())),QD(),Em(`formField`,n.f.message),YT(),QD(2),Em(`disabled`,n.isSubmitting()),QD(),iu(` `,n.isSubmitting()?`Sending...`:`Send message`,` `),QD(),YC(n.submitSuccess()?26:-1),QD(),YC(n.submitError()?27:-1))},dependencies:[dn,_,M],styles:[`.page.container[_ngcontent-%COMP%]{padding-bottom:var(--%NS%sp-8)}.contact-masthead__logo[_ngcontent-%COMP%]{text-align:center;margin:0 0 var(--%NS%sp-3)}.contact-masthead__logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:40px;width:auto}.contact-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 320px;gap:var(--%NS%sp-6);align-items:start;margin-bottom:var(--%NS%sp-6)}@media(max-width:880px){.contact-grid[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:var(--%NS%sp-5)}}.contact-form-section[_ngcontent-%COMP%]{min-width:0}.contact-form[_ngcontent-%COMP%]{display:grid;gap:var(--%NS%sp-4);margin:0}.form-actions[_ngcontent-%COMP%]{display:flex;padding-top:var(--%NS%sp-2)}.contact-masthead[_ngcontent-%COMP%]{position:sticky;top:calc(var(--%NS%nav-h) + var(--%NS%sp-2))}@media(max-width:880px){.contact-masthead[_ngcontent-%COMP%]{position:static}}.contact-masthead[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .gz-databox[_ngcontent-%COMP%]   a[_ngcontent-%COMP%], .contact-byline[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--%NS%accent);text-decoration:underline;text-underline-offset:2px;word-break:break-word}.contact-masthead[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .contact-masthead[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus-visible, .gz-databox[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .gz-databox[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus-visible, .contact-byline[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover, .contact-byline[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:focus-visible{color:var(--%NS%accent-ink)}.contact-address[_ngcontent-%COMP%]{font-style:normal;font-family:var(--%NS%font-meta);font-size:var(--%NS%fs-300);color:var(--%NS%text-muted);line-height:1.7}.contact-mission[_ngcontent-%COMP%]{font-family:var(--%NS%font-body);font-style:italic;line-height:1.7;max-width:70ch;margin:var(--%NS%sp-4) 0}.contact-byline[_ngcontent-%COMP%]{font-family:var(--%NS%font-body);font-size:var(--%NS%fs-400);margin:0}.form-success[_ngcontent-%COMP%]{padding:var(--%NS%sp-3) var(--%NS%sp-4);background:var(--%NS%ok-bg);color:var(--%NS%ok-ink);border:var(--%NS%rule-fine) solid color-mix(in srgb,var(--%NS%ok-ink) 40%,transparent);margin-top:var(--%NS%sp-3)}.form-error[_ngcontent-%COMP%]{padding:var(--%NS%sp-3) var(--%NS%sp-4);background:var(--%NS%err-bg);color:var(--%NS%err-ink);border:var(--%NS%rule-fine) solid color-mix(in srgb,var(--%NS%err-ink) 40%,transparent);margin-top:var(--%NS%sp-3)}`]})};export{Y as ContactComponent};

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.