CINXE.COM

Cotizador - Correos

<!DOCTYPE html> <html class="ltr" dir="ltr" lang="es-ES"> <head> <!-- Global site tag (gtag.js) - Google Ads: CONVERSION_ID --> <script async src="https://www.googletagmanager.com/gtag/js?id=AW-YYYYYY"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments)}; gtag('js', new Date()); gtag('config', 'GTM-5B5X5NS'); gtag('config', 'G-LXWQYQYV2V'); </script> <!-- Google tag (gtag.js) event --> <script> gtag('event', 'aliados_ver_mas', { // <event_parameters> }); </script> <title>Cotizador - Correos</title> <meta content="initial-scale=1.0, width=device-width" name="viewport" /> <meta content="IE=edge" http-equiv="x-ua-compatible" /> <meta content="text/html; charset=UTF-8" http-equiv="content-type" /> <meta content="隆R谩pido y sencillo! Cotiza tus env铆os de encomiendas y documentos tanto a chile como al extranjero." lang="es-ES" name="description" /> <link data-senna-track="permanent" href="/o/frontend-theme-font-awesome-web/css/main.css" rel="stylesheet" type="text/css" /> <script data-senna-track="permanent" src="/combo?browserId=ie&minifierType=js&languageId=es_ES&t=1732653823868&/o/frontend-js-jquery-web/jquery/jquery.min.js&/o/frontend-js-jquery-web/jquery/bootstrap.bundle.min.js&/o/frontend-js-jquery-web/jquery/collapsible_search.js&/o/frontend-js-jquery-web/jquery/fm.js&/o/frontend-js-jquery-web/jquery/form.js&/o/frontend-js-jquery-web/jquery/popper.min.js&/o/frontend-js-jquery-web/jquery/side_navigation.js" type="text/javascript"></script> <link href="/favicon.ico" rel="icon" /> <link data-senna-track="temporary" href="https://www.correos.cl/cotizador" rel="canonical" /> <link class="lfr-css-file" data-senna-track="temporary" href="https://www.correos.cl/o/correos-de-chile-theme/css/clay.css?browserId=ie&amp;themeId=correosdechile_WAR_correosdechiletheme&amp;minifierType=css&amp;languageId=es_ES&amp;t=1732653862000" id="liferayAUICSS" rel="stylesheet" type="text/css" /> <link data-senna-track="temporary" href="/o/frontend-css-web/main.css?browserId=ie&amp;themeId=correosdechile_WAR_correosdechiletheme&amp;minifierType=css&amp;languageId=es_ES&amp;t=1663051820861" id="liferayPortalCSS" rel="stylesheet" type="text/css" /> <link data-senna-track="temporary" href="/combo?browserId=ie&amp;minifierType=&amp;themeId=correosdechile_WAR_correosdechiletheme&amp;languageId=es_ES&amp;Cotizador_INSTANCE_l0psINRsg4hg:%2Fcss%2Fmain.css&amp;com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_jf4SA4Jsz19k:%2Fcss%2Fmain.css&amp;com_liferay_portal_search_web_search_bar_portlet_SearchBarPortlet_INSTANCE_templateSearch:%2Fcss%2Fmain.css&amp;com_liferay_product_navigation_product_menu_web_portlet_ProductMenuPortlet:%2Fcss%2Fmain.css&amp;com_liferay_product_navigation_user_personal_bar_web_portlet_ProductNavigationUserPersonalBarPortlet:%2Fcss%2Fmain.css&amp;com_liferay_site_navigation_menu_web_portlet_SiteNavigationMenuPortlet:%2Fcss%2Fmain.css&amp;com_liferay_staging_bar_web_portlet_StagingBarPortlet:%2Fcss%2Fmain.css&amp;t=1732653862000" id="b595521a" rel="stylesheet" type="text/css" /> <script data-senna-track="temporary" type="text/javascript"> // <![CDATA[ var Liferay = Liferay || {}; Liferay.Browser = { acceptsGzip: function() { return true; }, getMajorVersion: function() { return 7.0; }, getRevision: function() { return '7.0'; }, getVersion: function() { return '7.0'; }, isAir: function() { return false; }, isChrome: function() { return false; }, isEdge: function() { return false; }, isFirefox: function() { return false; }, isGecko: function() { return false; }, isIe: function() { return true; }, isIphone: function() { return false; }, isLinux: function() { return false; }, isMac: function() { return false; }, isMobile: function() { return false; }, isMozilla: function() { return false; }, isOpera: function() { return false; }, isRtf: function() { return true; }, isSafari: function() { return false; }, isSun: function() { return false; }, isWebKit: function() { return false; }, isWindows: function() { return true; } }; Liferay.Data = Liferay.Data || {}; Liferay.Data.ICONS_INLINE_SVG = true; Liferay.Data.NAV_SELECTOR = '#navigation'; Liferay.Data.NAV_SELECTOR_MOBILE = '#navigationCollapse'; Liferay.Data.isCustomizationView = function() { return false; }; Liferay.Data.notices = [ null ]; Liferay.PortletKeys = { DOCUMENT_LIBRARY: 'com_liferay_document_library_web_portlet_DLPortlet', DYNAMIC_DATA_MAPPING: 'com_liferay_dynamic_data_mapping_web_portlet_DDMPortlet', ITEM_SELECTOR: 'com_liferay_item_selector_web_portlet_ItemSelectorPortlet' }; Liferay.PropsValues = { JAVASCRIPT_SINGLE_PAGE_APPLICATION_TIMEOUT: 0, NTLM_AUTH_ENABLED: false, UPLOAD_SERVLET_REQUEST_IMPL_MAX_SIZE: 1004857600 }; Liferay.ThemeDisplay = { getLayoutId: function() { return '578'; }, getLayoutRelativeControlPanelURL: function() { return '/group/guest/~/control_panel/manage'; }, getLayoutRelativeURL: function() { return '/cotizador'; }, getLayoutURL: function() { return 'https://www.correos.cl/cotizador'; }, getParentLayoutId: function() { return '391'; }, isControlPanel: function() { return false; }, isPrivateLayout: function() { return 'false'; }, isVirtualLayout: function() { return false; }, getBCP47LanguageId: function() { return 'es-ES'; }, getCanonicalURL: function() { return 'https\x3a\x2f\x2fwww\x2ecorreos\x2ecl\x2fcotizador'; }, getCDNBaseURL: function() { return 'https://www.correos.cl'; }, getCDNDynamicResourcesHost: function() { return ''; }, getCDNHost: function() { return ''; }, getCompanyGroupId: function() { return '20127'; }, getCompanyId: function() { return '20101'; }, getDefaultLanguageId: function() { return 'es_ES'; }, getDoAsUserIdEncoded: function() { return ''; }, getLanguageId: function() { return 'es_ES'; }, getParentGroupId: function() { return '20123'; }, getPathContext: function() { return ''; }, getPathImage: function() { return '/image'; }, getPathJavaScript: function() { return '/o/frontend-js-web'; }, getPathMain: function() { return '/c'; }, getPathThemeImages: function() { return 'https://www.correos.cl/o/correos-de-chile-theme/images'; }, getPathThemeRoot: function() { return '/o/correos-de-chile-theme'; }, getPlid: function() { return '1457'; }, getPortalURL: function() { return 'https://www.correos.cl'; }, getRealUserId: function() { return '20105'; }, getScopeGroupId: function() { return '20123'; }, getScopeGroupIdOrLiveGroupId: function() { return '20123'; }, getSessionId: function() { return ''; }, getSiteAdminURL: function() { return 'https://www.correos.cl/group/guest/~/control_panel/manage?p_p_lifecycle=0&p_p_state=maximized&p_p_mode=view'; }, getSiteGroupId: function() { return '20123'; }, getURLControlPanel: function() { return '/group/control_panel?refererPlid=1457'; }, getURLHome: function() { return 'https\x3a\x2f\x2fwww\x2ecorreos\x2ecl\x2fweb\x2fguest'; }, getUserEmailAddress: function() { return ''; }, getUserId: function() { return '20105'; }, getUserName: function() { return ''; }, isAddSessionIdToURL: function() { return false; }, isImpersonated: function() { return false; }, isSignedIn: function() { return false; }, isStagedPortlet: function() { return false; }, isStateExclusive: function() { return false; }, isStateMaximized: function() { return false; }, isStatePopUp: function() { return false; } }; var themeDisplay = Liferay.ThemeDisplay; Liferay.AUI = { getAvailableLangPath: function() { return 'available_languages.jsp?browserId=ie&themeId=correosdechile_WAR_correosdechiletheme&colorSchemeId=02&minifierType=js&languageId=es_ES&t=1732653813434'; }, getCombine: function() { return true; }, getComboPath: function() { return '/combo/?browserId=ie&minifierType=&languageId=es_ES&t=1663051831333&'; }, getDateFormat: function() { return '%d/%m/%Y'; }, getEditorCKEditorPath: function() { return '/o/frontend-editor-ckeditor-web'; }, getFilter: function() { var filter = 'raw'; filter = 'min'; return filter; }, getFilterConfig: function() { var instance = this; var filterConfig = null; if (!instance.getCombine()) { filterConfig = { replaceStr: '.js' + instance.getStaticResourceURLParams(), searchExp: '\\.js$' }; } return filterConfig; }, getJavaScriptRootPath: function() { return '/o/frontend-js-web'; }, getLangPath: function() { return 'aui_lang.jsp?browserId=ie&themeId=correosdechile_WAR_correosdechiletheme&colorSchemeId=02&minifierType=js&languageId=es_ES&t=1663051831333'; }, getPortletRootPath: function() { return '/html/portlet'; }, getStaticResourceURLParams: function() { return '?browserId=ie&minifierType=&languageId=es_ES&t=1663051831333'; } }; Liferay.authToken = 'EAX8mWix'; Liferay.currentURL = '\x2fcotizador'; Liferay.currentURLEncoded = '\x252Fcotizador'; // ]]> </script> <script src="/o/js_loader_config?t=1732653823856" type="text/javascript"></script> <script data-senna-track="permanent" src="/combo?browserId=ie&minifierType=js&languageId=es_ES&t=1663051831333&/o/frontend-js-web/loader/config.js&/o/frontend-js-web/loader/loader.js&/o/frontend-js-web/aui/aui/aui.js&/o/frontend-js-web/aui/aui-base-html5-shiv/aui-base-html5-shiv.js&/o/frontend-js-web/liferay/browser_selectors.js&/o/frontend-js-web/liferay/modules.js&/o/frontend-js-web/liferay/aui_sandbox.js&/o/frontend-js-web/misc/svg4everybody.js&/o/frontend-js-web/aui/arraylist-add/arraylist-add.js&/o/frontend-js-web/aui/arraylist-filter/arraylist-filter.js&/o/frontend-js-web/aui/arraylist/arraylist.js&/o/frontend-js-web/aui/array-extras/array-extras.js&/o/frontend-js-web/aui/array-invoke/array-invoke.js&/o/frontend-js-web/aui/attribute-base/attribute-base.js&/o/frontend-js-web/aui/attribute-complex/attribute-complex.js&/o/frontend-js-web/aui/attribute-core/attribute-core.js&/o/frontend-js-web/aui/attribute-observable/attribute-observable.js&/o/frontend-js-web/aui/attribute-extras/attribute-extras.js&/o/frontend-js-web/aui/base-base/base-base.js&/o/frontend-js-web/aui/base-pluginhost/base-pluginhost.js&/o/frontend-js-web/aui/classnamemanager/classnamemanager.js&/o/frontend-js-web/aui/datatype-xml-format/datatype-xml-format.js&/o/frontend-js-web/aui/datatype-xml-parse/datatype-xml-parse.js&/o/frontend-js-web/aui/dom-base/dom-base.js&/o/frontend-js-web/aui/dom-core/dom-core.js&/o/frontend-js-web/aui/dom-screen/dom-screen.js&/o/frontend-js-web/aui/dom-style/dom-style.js&/o/frontend-js-web/aui/event-base/event-base.js&/o/frontend-js-web/aui/event-custom-base/event-custom-base.js&/o/frontend-js-web/aui/event-custom-complex/event-custom-complex.js&/o/frontend-js-web/aui/event-delegate/event-delegate.js&/o/frontend-js-web/aui/event-focus/event-focus.js&/o/frontend-js-web/aui/event-hover/event-hover.js&/o/frontend-js-web/aui/event-key/event-key.js&/o/frontend-js-web/aui/event-mouseenter/event-mouseenter.js&/o/frontend-js-web/aui/event-mousewheel/event-mousewheel.js" type="text/javascript"></script> <script data-senna-track="permanent" src="/combo?browserId=ie&minifierType=js&languageId=es_ES&t=1663051831333&/o/frontend-js-web/aui/event-outside/event-outside.js&/o/frontend-js-web/aui/event-resize/event-resize.js&/o/frontend-js-web/aui/event-simulate/event-simulate.js&/o/frontend-js-web/aui/event-synthetic/event-synthetic.js&/o/frontend-js-web/aui/intl/intl.js&/o/frontend-js-web/aui/io-base/io-base.js&/o/frontend-js-web/aui/io-form/io-form.js&/o/frontend-js-web/aui/io-queue/io-queue.js&/o/frontend-js-web/aui/io-upload-iframe/io-upload-iframe.js&/o/frontend-js-web/aui/io-xdr/io-xdr.js&/o/frontend-js-web/aui/json-parse/json-parse.js&/o/frontend-js-web/aui/json-stringify/json-stringify.js&/o/frontend-js-web/aui/node-base/node-base.js&/o/frontend-js-web/aui/node-core/node-core.js&/o/frontend-js-web/aui/node-event-delegate/node-event-delegate.js&/o/frontend-js-web/aui/node-event-simulate/node-event-simulate.js&/o/frontend-js-web/aui/node-focusmanager/node-focusmanager.js&/o/frontend-js-web/aui/node-pluginhost/node-pluginhost.js&/o/frontend-js-web/aui/node-screen/node-screen.js&/o/frontend-js-web/aui/node-style/node-style.js&/o/frontend-js-web/aui/oop/oop.js&/o/frontend-js-web/aui/plugin/plugin.js&/o/frontend-js-web/aui/pluginhost-base/pluginhost-base.js&/o/frontend-js-web/aui/pluginhost-config/pluginhost-config.js&/o/frontend-js-web/aui/querystring-stringify-simple/querystring-stringify-simple.js&/o/frontend-js-web/aui/queue-promote/queue-promote.js&/o/frontend-js-web/aui/selector-css2/selector-css2.js&/o/frontend-js-web/aui/selector-css3/selector-css3.js&/o/frontend-js-web/aui/selector-native/selector-native.js&/o/frontend-js-web/aui/selector/selector.js&/o/frontend-js-web/aui/widget-base/widget-base.js&/o/frontend-js-web/aui/widget-htmlparser/widget-htmlparser.js&/o/frontend-js-web/aui/widget-skin/widget-skin.js&/o/frontend-js-web/aui/widget-uievents/widget-uievents.js&/o/frontend-js-web/aui/yui-throttle/yui-throttle.js&/o/frontend-js-web/aui/aui-base-core/aui-base-core.js" type="text/javascript"></script> <script data-senna-track="permanent" src="/combo?browserId=ie&minifierType=js&languageId=es_ES&t=1663051831333&/o/frontend-js-web/aui/aui-base-lang/aui-base-lang.js&/o/frontend-js-web/aui/aui-classnamemanager/aui-classnamemanager.js&/o/frontend-js-web/aui/aui-component/aui-component.js&/o/frontend-js-web/aui/aui-debounce/aui-debounce.js&/o/frontend-js-web/aui/aui-delayed-task-deprecated/aui-delayed-task-deprecated.js&/o/frontend-js-web/aui/aui-event-base/aui-event-base.js&/o/frontend-js-web/aui/aui-event-input/aui-event-input.js&/o/frontend-js-web/aui/aui-form-validator/aui-form-validator.js&/o/frontend-js-web/aui/aui-node-base/aui-node-base.js&/o/frontend-js-web/aui/aui-node-html5/aui-node-html5.js&/o/frontend-js-web/aui/aui-selector/aui-selector.js&/o/frontend-js-web/aui/aui-timer/aui-timer.js&/o/frontend-js-web/liferay/dependency.js&/o/frontend-js-web/liferay/dom_task_runner.js&/o/frontend-js-web/liferay/events.js&/o/frontend-js-web/liferay/language.js&/o/frontend-js-web/liferay/lazy_load.js&/o/frontend-js-web/liferay/liferay.js&/o/frontend-js-web/liferay/util.js&/o/frontend-js-web/liferay/global.bundle.js&/o/frontend-js-web/liferay/portal.js&/o/frontend-js-web/liferay/portlet.js&/o/frontend-js-web/liferay/workflow.js&/o/frontend-js-web/liferay/form.js&/o/frontend-js-web/liferay/form_placeholders.js&/o/frontend-js-web/liferay/icon.js&/o/frontend-js-web/liferay/menu.js&/o/frontend-js-web/liferay/notice.js&/o/frontend-js-web/liferay/poller.js&/o/frontend-js-web/aui/async-queue/async-queue.js&/o/frontend-js-web/aui/base-build/base-build.js&/o/frontend-js-web/aui/cookie/cookie.js&/o/frontend-js-web/aui/event-touch/event-touch.js&/o/frontend-js-web/aui/overlay/overlay.js&/o/frontend-js-web/aui/querystring-stringify/querystring-stringify.js&/o/frontend-js-web/aui/widget-child/widget-child.js&/o/frontend-js-web/aui/widget-position-align/widget-position-align.js&/o/frontend-js-web/aui/widget-position-constrain/widget-position-constrain.js&/o/frontend-js-web/aui/widget-position/widget-position.js" type="text/javascript"></script> <script data-senna-track="permanent" src="/combo?browserId=ie&minifierType=js&languageId=es_ES&t=1663051831333&/o/frontend-js-web/aui/widget-stack/widget-stack.js&/o/frontend-js-web/aui/widget-stdmod/widget-stdmod.js&/o/frontend-js-web/aui/aui-aria/aui-aria.js&/o/frontend-js-web/aui/aui-io-plugin-deprecated/aui-io-plugin-deprecated.js&/o/frontend-js-web/aui/aui-io-request/aui-io-request.js&/o/frontend-js-web/aui/aui-loading-mask-deprecated/aui-loading-mask-deprecated.js&/o/frontend-js-web/aui/aui-overlay-base-deprecated/aui-overlay-base-deprecated.js&/o/frontend-js-web/aui/aui-overlay-context-deprecated/aui-overlay-context-deprecated.js&/o/frontend-js-web/aui/aui-overlay-manager-deprecated/aui-overlay-manager-deprecated.js&/o/frontend-js-web/aui/aui-overlay-mask-deprecated/aui-overlay-mask-deprecated.js&/o/frontend-js-web/aui/aui-parse-content/aui-parse-content.js&/o/frontend-js-web/liferay/layout_exporter.js&/o/frontend-js-web/liferay/session.js&/o/frontend-js-web/liferay/deprecated.js" type="text/javascript"></script> <script data-senna-track="temporary" src="/o/js_bundle_config?t=1732653839335" type="text/javascript"></script> <script data-senna-track="temporary" type="text/javascript"> // <![CDATA[ // ]]> </script> <script data-senna-track="permanent" id="googleAnalyticsScript" type="text/javascript"> (function(i, s, o, g, r, a, m) { i['GoogleAnalyticsObject'] = r; i[r] = i[r] || function() { var arrayValue = i[r].q || []; i[r].q = arrayValue; (i[r].q).push(arguments); }; i[r].l = 1 * new Date(); a = s.createElement(o); m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m); })(window, document, 'script', '//www.google-analytics.com/analytics.js', 'ga'); ga('create', 'UA-150885996-1', 'auto'); ga('send', 'pageview'); Liferay.on( 'endNavigate', function(event) { ga('set', 'page', event.path); ga('send', 'pageview'); } ); </script> <!-- Meta Pixel Code --> <script> !function(f,b,e,v,n,t,s) {if(f.fbq)return;n=f.fbq=function(){n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)}; if(!f._fbq)f._fbq=n;n.push=n;n.loaded=!0;n.version='2.0'; n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0]; s.parentNode.insertBefore(t,s)}(window, document,'script', 'https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '1596878824465283'); fbq('track', 'PageView'); </script> <noscript><img height="1" width="1" style="display:none" src="https://www.facebook.com/tr?id=1596878824465283&ev=PageView&noscript=1" /></noscript> <!-- End Meta Pixel Code --> <script data-senna-track="temporary" src="/combo?browserId=ie&amp;minifierType=&amp;themeId=correosdechile_WAR_correosdechiletheme&amp;languageId=es_ES&amp;com_liferay_staging_bar_web_portlet_StagingBarPortlet:%2Fjs%2Fstaging.js&amp;com_liferay_staging_bar_web_portlet_StagingBarPortlet:%2Fjs%2Fstaging_branch.js&amp;com_liferay_staging_bar_web_portlet_StagingBarPortlet:%2Fjs%2Fstaging_version.js&amp;t=1732653862000" type="text/javascript"></script> <link class="lfr-css-file" data-senna-track="temporary" href="https://www.correos.cl/o/correos-de-chile-theme/css/main.css?browserId=ie&amp;themeId=correosdechile_WAR_correosdechiletheme&amp;minifierType=css&amp;languageId=es_ES&amp;t=1732653862000" id="liferayThemeCSS" rel="stylesheet" type="text/css" /> <style data-senna-track="temporary" type="text/css"> #myTab #profile-tab { display: none; } </style> <style data-senna-track="temporary" type="text/css"> #p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_9spbgo4QShmm_ .portlet-content { text-align: center } </style> <script data-senna-track="permanent" src="/o/frontend-compatibility-ie/closest.js" type="text/javascript"></script> <script data-senna-track="permanent" src="/o/frontend-compatibility-ie/core-js-bundle.min.js" type="text/javascript"></script> <script data-senna-track="permanent" src="/o/frontend-compatibility-ie/css.escape.js" type="text/javascript"></script> <script data-senna-track="permanent" src="/o/frontend-compatibility-ie/fetch.js" type="text/javascript"></script> <script data-senna-track="permanent" src="/o/frontend-compatibility-ie/svg.contains.js" type="text/javascript"></script> <script data-senna-track="permanent" src="/o/frontend-compatibility-ie/uint16array.slice.js" type="text/javascript"></script> <script type="text/javascript"> // <![CDATA[ Liferay.Loader.require('frontend-js-spa-web@3.0.56/liferay/init.es', function(frontendJsSpaWeb3056LiferayInitEs) { (function(){ var frontendJsSpaWebLiferayInitEs = frontendJsSpaWeb3056LiferayInitEs; (function() {var $ = AUI.$;var _ = AUI._; Liferay.SPA = Liferay.SPA || {}; Liferay.SPA.cacheExpirationTime = -1; Liferay.SPA.clearScreensCache = false; Liferay.SPA.debugEnabled = false; Liferay.SPA.excludedPaths = ["/c/document_library","/documents","/image"]; Liferay.SPA.loginRedirect = ''; Liferay.SPA.navigationExceptionSelectors = ':not([target="_blank"]):not([data-senna-off]):not([data-resource-href]):not([data-cke-saved-href]):not([data-cke-saved-href])'; Liferay.SPA.requestTimeout = 0; Liferay.SPA.userNotification = { message: 'Parece que esto est谩 tardando m谩s de lo esperado.', timeout: 30000, title: 'Vaya' }; frontendJsSpaWebLiferayInitEs.default.init( function(app) { app.setPortletsBlacklist({"com_liferay_nested_portlets_web_portlet_NestedPortletsPortlet":true,"com_liferay_site_navigation_directory_web_portlet_SitesDirectoryPortlet":true,"Login":true,"com_liferay_login_web_portlet_LoginPortlet":true,"com_liferay_login_web_portlet_FastLoginPortlet":true}); app.setValidStatusCodes([221,490,494,499,491,492,493,495,220]); } );})();})(); }); // ]]> </script><script src="https://www.correos.cl/o/adaptive-media-image-web/picturefill.min.js" type= "text/javascript"></script> <script data-senna-track="temporary" type="text/javascript"> if (window.Analytics) { window._com_liferay_document_library_analytics_isViewFileEntry = false; } </script> <script type="text/javascript"> // <![CDATA[ Liferay.on( 'ddmFieldBlur', function(event) { if (window.Analytics) { Analytics.send( 'fieldBlurred', 'Form', { fieldName: event.fieldName, focusDuration: event.focusDuration, formId: event.formId, page: event.page } ); } } ); Liferay.on( 'ddmFieldFocus', function(event) { if (window.Analytics) { Analytics.send( 'fieldFocused', 'Form', { fieldName: event.fieldName, formId: event.formId, page: event.page } ); } } ); Liferay.on( 'ddmFormPageShow', function(event) { if (window.Analytics) { Analytics.send( 'pageViewed', 'Form', { formId: event.formId, page: event.page, title: event.title } ); } } ); Liferay.on( 'ddmFormSubmit', function(event) { if (window.Analytics) { Analytics.send( 'formSubmitted', 'Form', { formId: event.formId } ); } } ); Liferay.on( 'ddmFormView', function(event) { if (window.Analytics) { Analytics.send( 'formViewed', 'Form', { formId: event.formId, title: event.title } ); } } ); // ]]> </script> <script src="https://www.correos.cl/o/correos-de-chile-theme/js/vendor/jquery-easy-autocomplete.js?browserId=ie&amp;minifierType=js&amp;languageId=es_ES&amp;t=1732653862000" type="text/javascript"></script> <script src="https://www.correos.cl/o/correos-de-chile-theme/js/vendor/jquery.flexdatalist.js?browserId=ie&amp;minifierType=js&amp;languageId=es_ES&amp;t=1732653862000" type="text/javascript"></script> <script>var __uzdbm_1 = "a8010130-7002-4827-8834-806ea4bc0846";var __uzdbm_2 = "YmU4ZTVjMDktY2c3My00ZDc5LWEyNmQtYzYzNWZiMGJkYTE3JDguMjIyLjIwOC4xNDY=";var __uzdbm_3 = "7f600022f45c29-57f5-450d-8772-8f5b7c0fe1cd17327037970650-77a531a6c69adb6d10";var __uzdbm_4 = "false";var __uzdbm_5 = "uzmx";var __uzdbm_6 = "7f90009e5d8c5f-4030-4ba2-98bb-37298d9d8fac1-17327037970650-81d566c9fa2f837210";var __uzdbm_7 = "correos.cl";</script> <script> (function (w, d, e, u, c, g, a, b) { w["SSJSConnectorObj"] = w["SSJSConnectorObj"] || { ss_cid: c, domain_info: "auto", }; w[g] = function (i, j) { w["SSJSConnectorObj"][i] = j; }; a = d.createElement(e); a.async = true; if ( navigator.userAgent.indexOf('MSIE') !== -1 || navigator.appVersion.indexOf('Trident/') > -1 ) { u = u.replace("/advanced/", "/advanced/ie/"); } a.src = u; b = d.getElementsByTagName(e)[0]; b.parentNode.insertBefore(a, b); })( window, document, "script", "https://www.correos.cl/18f5227b-e27b-445a-a53f-f845fbe69b40/stormcaster.js", "cg75", "ssConf" ); ssConf("c1", "https://www.correos.cl"); ssConf("c3", "c99a4269-161c-4242-a3f0-28d44fa6ce24"); ssConf("au", "correos.cl"); ssConf("cu", "validate.perfdrive.com, ssc"); </script></head> <body class=" controls-visible personas yui3-skin-sam guest-site signed-out public-page site bg-grey-5 "> <!-- Google Tag Manager (noscript) nuevo--> <noscript><iframe src="https://www.googletagmanager.com/ns.html?id=G-LXWQYQYV2V" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <!-- End Google Tag Manager (noscript) --> <nav aria-label="Enlaces r谩pidos" class="quick-access-nav" id="ydce_quickAccessNav"> <h1 class="hide-accessible">Navegaci贸n</h1> <ul> <li><a href="#main-content">Saltar al contenido</a></li> </ul> </nav> <style> .search-bar-desk .portlet-topper, .search-bar-mobile .portlet-topper{display: none; opacity:0;} </style> <div class="container-fluid" id="wrapper"> <div class="portlet-boundary portlet-boundary_com_liferay_journal_content_web_portlet_JournalContentPortlet_ portlet-static portlet-static-end decorate portlet-journal-content " id="p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_header_"> <span id="p_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_header"></span> <section class="portlet" id="portlet_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_header"> <div class="portlet-content"> <div class="autofit-float autofit-row portlet-header"> <div class="autofit-col autofit-col-expand"> </div> <div class="autofit-col autofit-col-end"> <div class="autofit-section"> <div class="visible-interaction"> </div> </div> </div> </div> <div class=" portlet-content-container"> <div class="portlet-body"> <div class="" data-fragments-editor-item-id="21501-40881162" data-fragments-editor-item-type="fragments-editor-mapped-item" > <div class="journal-content-article " data-analytics-asset-id="13183416" data-analytics-asset-title="Nuevo header" data-analytics-asset-type="web-content"> <script> $(document).ready(function () { $("[aria-menu-hidden]").click(function () { var $this = $(this); var attrHidden = $this.attr("aria-menu-hidden"); if (attrHidden == "true") { $this.attr("aria-menu-hidden", "false"); $("[data-menupanel]").removeClass("headercorp-navblock-hidden"); } else { $this.attr("aria-menu-hidden", "true"); $("[data-menupanel]").addClass("headercorp-navblock-hidden"); } }); var usuarios = $("#listUser").val().split(";"); var correo = JSON.parse('"'+Liferay.ThemeDisplay.getUserEmailAddress()+'"'); console.log(correo); $(".carroDeCompra").addClass("d-none"); for (var i = 0; i < usuarios.length; i+=1) { if(correo == usuarios[i]){ console.log("iguales"); $(".carroDeCompra").removeClass("d-none"); } } if(correo === ""){ console.log("sin usuario"); $(".carroDeCompra").addClass("d-none"); } $("[data-headermenu-handler-wrap]").hover( function () { var $this = $(this); var $handler = $this.find("[data-headermenu-handler]"); var $headermenuPanel = $("[data-headermenu-panel]"); $headermenuPanel.removeClass("headermenu-panel-deskhide"); $handler.attr("data-headermenu-handler", "open"); }, function () { var $this = $(this); var $handler = $this.find("[data-headermenu-handler]"); var $headermenuPanel = $("[data-headermenu-panel]"); $headermenuPanel.addClass("headermenu-panel-deskhide"); $handler.attr("data-headermenu-handler", "close"); } ); $(document).ready(function () { $("#sign-in").hide(); var ul = document.getElementsByClassName("breadcrumb"); for (var indice = 0; indice < ul.length; indice++) { $('.breadcrumb-link:contains("Herramientas")').removeAttr("href").attr("style", "color: #595959"); $('.breadcrumb-item:contains("Compras Aliexpress")').remove(); $('.breadcrumb-link:contains("Servicios")').removeAttr("href").attr("style", "color: #595959"); $('<li class="breadcrumb-item"> <a class="breadcrumb-link" href="/home" title="Home"> <span class="breadcrumb-text-truncate">Home</span> </a> </li>') .insertBefore($(".breadcrumb-item:first-child")); } if(Liferay.ThemeDisplay.isSignedIn()){ $("[header-login-button]").addClass("d-none"); $("[header-user-button-mob]").removeClass("d-none"); $(".carroDeCompra").removeClass("d-none"); $('#loginUserName').css({'opacity':'1','position':'relative'}); } else { $('#loginUserName').remove(); $("[data-menu-link-session-mob]").addClass("d-none"); } }); $(".breadcrumb-link").each(function (title) { var breadcrumbLink = $(this).attr("title"); if ((breadcrumbLink.indexOf("Env铆os y Compras Internacionales")) > -1) { $(".headermenu-item:contains('Env铆os y Compras Internacionales')").addClass("headermenu-item-active"); return false; } else if ((breadcrumbLink.indexOf("Servicios")) > -1) { $(".headermenu-item:contains('Servicios')").addClass("headermenu-item-active"); return false; } else if ((breadcrumbLink.indexOf("Sucursales")) > -1) { $(".headermenu-item:contains('Sucursales')").addClass("headermenu-item-active"); return false; } else if ((breadcrumbLink.indexOf("Herramientas")) > -1) { $(".headermenu-item:contains('Herramientas')").addClass("headermenu-item-active"); return false; } else if (window.location.pathname.indexOf("home") > -1) { $(".headermenu-item ").removeClass('headermenu-item-active'); } else { console.log(""); } }); $(".breadcrumb-text-truncate").each(function () { var breadcrumbEnlace = $(this).text(); if ((breadcrumbEnlace.indexOf("Sucursales")) > -1) { $(".headermenu-item:contains('Sucursales')").addClass("headermenu-item-active"); return false; } else if ((breadcrumbEnlace.indexOf("Env铆os y Compras Internacionales")) > -1) { $(".headermenu-item:contains('Env铆os y Compras Internacionales')").addClass("headermenu-item-active"); return false; } }); $(".headermenu-item-hassubmenu").click(function(e){ e.preventDefault(); var $this = $(this); var $next = $this.next(); if($next.hasClass("headermenu-panel-mobhide")){ $next.removeClass("headermenu-panel-mobhide"); $this.removeClass("collapsed"); } else { $next.addClass("headermenu-panel-mobhide"); $this.addClass("collapsed"); } return false; }) }); $(".carroDeCompra").addClass("d-none"); </script> <input type="hidden" id="listUser" name="listUser" value="" /> <link rel="preconnect" href="https://fonts.googleapis.com" /> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="" /> <link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&amp;display=swap" rel="stylesheet" /> <link rel="preconnect" href="https://fonts.googleapis.com" /> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin="" /> <link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&amp;display=swap" rel="stylesheet" /> <style> html{ margin-left: 0 !important; } /*Estilos generales*/ .text-link, .text-link:hover, .text-link:focus { text-decoration: none; } /*flecha acordeon*/ .header__collapse.collapsed .shadow-flecha-acordion svg { filter: grayscale(100%) hue-rotate(130deg); transform: rotate(3.142rad); } .header__collapse .shadow-flecha-acordion { border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; } .header__collapse .shadow-flecha-acordion:hover { background: rgba(214, 21, 0, 0.08); } .header__collapse.collapsed .shadow-flecha-acordion:hover { background: rgba(103, 103, 103, 0.08); } /*fin*/ /*divisor*/ .c-hr { border: none; margin: 0; height: 1px; margin: 0 1em; background: rgba(33, 33, 33, 0.08); } /*fin*/ /*container*/ .container-correo { width: 100%; max-width: 1280px; margin-right: auto; margin-left: auto; } /*fin*/ /*bot贸n ingresar*/ .ingresar-correo { gap: 10px; width: 180px; height: 39px; border: 1px solid #D61500; border-radius: 100px; font-family: 'Roboto'; font-style: normal; font-weight: 500; font-size: 14px; line-height: 14px; align-items: center; letter-spacing: 0.5px; color: #D61500; justify-content: center; cursor: pointer; } .ingresar-correo:hover { background: rgba(189, 17, 0, 0.08); color: #D61500; } /*fin*/ /*card correo*/ .card-correo { background: #FFFFFF; box-shadow: 0px 4px 8px 3px rgba(0, 0, 0, 0.15), 0px 1px 3px rgba(0, 0, 0, 0.3); border-radius: 8px; } .header__content-fixed { position: fixed; width: 100%; z-index:390; } .header__secondary-nav { position: fixed; right: 0; top: 0; width: 370px; height: 100%; display: flex; gap: 30px; flex-direction: column; min-width: auto; justify-content: space-between; padding-bottom: 37px; transform: translateX(110%); overflow-y: scroll; background: #FFFFFF; z-index: 400; } .overlay-nav { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 400; display: none; } .overlay-nav.open { display: block; } .header-toggler { cursor: pointer; } .header-toggler-close { display: flex; justify-content: end; padding-right: 1em; padding-top: 1em; } .close-toggler-icon { cursor: pointer; width: 20px; } .header__secondary-nav__content-select { width: 100%; background-color: white; } .header__secondary-nav__content-select-menu { padding: 1em; max-width: 350px; } .header__secondary-nav__select-menu { text-align: center; width: 100%; height: 42px; display: flex; justify-content: center; align-items: center; } .header__secondary-nav__content-select-menu .header__secondary-nav__select-menu { padding-left: 15px; padding-right: 15px; } .header__secondary-nav__select-menu:focus, .header__secondary-nav__select-menu:hover { text-decoration: none; background: rgba(103, 103, 103, 0.08); } .header__secondary-nav__select-menu.active:focus, .header__secondary-nav__select-menu.active:hover { text-decoration: none; background: rgba(214, 21, 0, 0.08); } .header__secondary-nav__select-menu span { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-size: 14px; letter-spacing: 0.5px; color: #676767; } .header__secondary-nav__select-menu.active { border-bottom: 2px solid #D61500; } .header__secondary-nav__select-menu.active span { color: #D61500; } .header__secondary-nav__links { list-style: none; padding: 0 1em 1em 1em; margin-bottom: 0; } .header__secondary-nav__links .nav-link { font-family: 'Roboto'; font-style: normal; font-weight: 600; font-size: 16px; line-height: 21px; letter-spacing: 0.1px; color: #676767; padding: 0; height: 48px; display: flex; align-items: center; cursor: pointer; } .nav-mobile-redes-siguenos { padding: 0 1em; } .redes-siguenos--text { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-size: 12px; line-height: 14px; letter-spacing: 0.5px; text-transform: uppercase; color: #262626; display: block; margin: 2em 0 0 0; } .redes-siguenos-logo { margin: 1em 0.7em; } .header__content { z-index: 399; width: 100%; display: flex; justify-content: space-between; align-items: center; height: 60px; background: white; } .header__content-container{ padding: 0 1em; } .header__content-logo { cursor: pointer; } .header__content-logo.desktop { width: 250px; } .spacing-header { height: 60px; } .header__primary-nav__links { list-style: none; padding: 0; margin: 0; width: 100%; } .header__primary-nav__links .nav-link { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-size: 16px; line-height: 21px; letter-spacing: 0.1px; color: #474747; padding-right: 1.5em; cursor: pointer; } .header-children-nav { top: 49px; min-width: 300px; position: absolute; display: none; } .header__primary-nav__links--flecha.open .header-children-nav { display: block; } .header-children-nav-link { display: block; width: 100%; font-family: 'Roboto'; font-style: normal; font-weight: 400; font-size: 16px; line-height: 28px; color: #676767; padding: 12px 10px; } .header-children-nav-link:hover { background: rgba(103, 103, 103, 0.08); color: #676767; } .header__primary-nav__links--flecha { align-items: center; display: flex !important; gap: 1em; } .header__primary-nav__links--flecha .shadow-flecha-acordionNav svg { filter: grayscale(100%) hue-rotate(130deg); transform: rotate(3.142rad); } .header__primary-nav__links--flecha.open .shadow-flecha-acordionNav svg { filter: unset; transform: unset; } .header__primary-nav__links--flecha .shadow-flecha-acordionNav { border-radius: 50%; width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; display: flex; } .header__primary-nav__links--flecha .shadow-flecha-acordionNav:hover { background: rgba(103, 103, 103, 0.08); } .header__primary-nav__links--flecha.open .shadow-flecha-acordionNav:hover { background: rgba(214, 21, 0, 0.08); } .content-collapse-mobile--text { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-size: 16px; line-height: 21px; display: flex; align-items: center; color: #676767; cursor: pointer; padding: 1em; } .content-collapse-mobile--text:hover, .content-collapse-mobile--text:focus { color: #676767; background: rgba(103, 103, 103, 0.08); border-radius: 4px; } @media (max-width: 575.98px) { .header__secondary-nav { width: 81%; } } @media (min-width: 576px) and (max-width: 767.98px) {} @media (max-width: 991.98px) { .header__secondary-nav.open { transform: translateX(0%); } .Header-appear-background { background-color: rgba(0, 0, 0, 0.25); transition: opacity 0.5s ease-in-out; opacity: 0; } .header__secondary-nav { transition: transform 0.5s ease-in-out; } .header__ingresar-correo{ display:none; } .btn.dropdown-toggle.dropdown-toggle-corp.flex-align-center.h-100.p-0 { height: 60px !important; margin-right: 2em; } #userNameLogin.c-purple{ display:none; } } @media (min-width: 768px) and (max-width: 991.98px) {} @media (min-width: 992px) { .overlay-nav.open { display: none; } .header__content { border-bottom: 1px solid #E5E5E5; height: 84px; } .spacing-header { height: 135px; } .header__content-logo img{ max-height: 83px; } .header__ingresar-correo--mobile{ display:none; } .dropdown-toggle.dropdown-toggle-corp:after { content: ""; background-image: url("data:image/svg+xml,%3Csvg width='13' height='6' viewBox='0 0 13 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.657844 0.266515C0.239052 0.621868 0.239052 1.1959 0.657844 1.55125L5.5867 5.73348C6.0055 6.08884 6.68201 6.08884 7.1008 5.73348L12.0297 1.55125C12.4484 1.1959 12.4484 0.621868 12.0297 0.266514C11.6109 -0.0888386 10.9344 -0.0888386 10.5156 0.266514L6.33838 3.80182L2.17194 0.266515C1.75315 -0.0888382 1.0659 -0.0797267 0.657844 0.266515Z' fill='%23D61500'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: contain; width: 13px; height: 6px; display: inline-block; margin-left: 0.5rem; vertical-align: 0; color: #d82f2f; } } @media (min-width: 992px) and (max-width: 1199.98px) { } /*style enbed*/ .flex-align-center { display: flex; align-items: center } .header__content-fixed .btn.dropdown-toggle.dropdown-toggle-corp.flex-align-center.h-100.p-0{ height: 84px; background: #FBFBFB; margin-right:2em; } .header__content-fixed #userNameLogin.c-purple{ font-family: 'Roboto' !important; font-style: normal; font-weight: 400; font-size: 16px !important; line-height: 24px ; color: #020202 !important; } .headercorp-user{ height:40px; width:40px; } .headercorp-user img{ height:40px; width:40px; border-radius: 50%; } .header__content-fixed .list-group{ margin-bottom:0 !important; } .header__content-fixed .list-group-item{ border: none !important; } .header__content-fixed .list-group-item:last-child{ border-top:1px solid #f1f1f1 !important; } .header__content-fixed .list-group-item { font-family: 'Roboto' !important; font-style: normal; font-weight: 400; font-size: 16px !important; line-height: 28px; color: #676767 !important; text-decoration:none; } .header__content-fixed .list-group-item:hover { background: rgba(103, 103, 103, 0.08) !important; color: #676767 !important; text-decoration:none; } .header__content-fixed .dropdown-toggle.dropdown-toggle-corp[aria-expanded=true]:after { content: ""; } .header__content-fixed .dropdown-menu::after { padding-top: 0 !important; } .header__content-fixed .list-group-corp-menu .list-group-item { padding: 1rem 1.25rem!important; } .header__content-fixed .list-group-corp.list-group-flush .list-group-item:after, .list-group-corp.list-group-sidebar .list-group-item:after { content: "" !important; } .header__content-fixed .dropdown-menu-corp{ padding: 0 0 !important; } .header__content-fixed .dropdown-menu { max-height: none; } /**/ @media (min-width: 992px) and (max-height: 770px) { .header__secondary-nav__select-menu { height: 40px; } .header__content { height: 60px; } .spacing-header { height: 109px; } .banner-home .banner-correo img { height: 400px !important; } .btn-conoce-mas-correo { margin-top: 0 !important; } .banner__content-text-info { max-width: 517px !important; } .content__codigo_seguimiento .tab-wrap{ padding: 15px 0 !important; } } /*Estilos para portlets*/ .seguimiento_tab_cont { margin-right: -18px !important; } .codigopost_tab_cont { margin-left: -18px !important; } .tab+label { max-width: 316px !important; z-index: 1 !important; gap: 4px !important; display: flex !important; align-items: center !important; justify-content: center !important; transition: 0.3s box-shadow ease !important; } .tab:checked+label { z-index: 2 !important; } .content__codigo_seguimiento_container .tab__content br { display: none !important; } @media (min-width:768px) { .content__codigo_seguimiento .wrap-form-group-material-with-error-message.mb-24px { padding-bottom: 0 !important; margin-bottom: 0 !important; } } #btnCodigoPostal{ position: relative; } #btnCodigoPostal::before { content: ""; position: absolute; top: 0; left: 0; width: 18px; height: 18px; background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.8164 10.6914H11.2239L11.0139 10.4889C11.7489 9.63391 12.1914 8.52391 12.1914 7.31641C12.1914 4.62391 10.0089 2.44141 7.31641 2.44141C4.62391 2.44141 2.44141 4.62391 2.44141 7.31641C2.44141 10.0089 4.62391 12.1914 7.31641 12.1914C8.52391 12.1914 9.63391 11.7489 10.4889 11.0139L10.6914 11.2239V11.8164L14.4414 15.5589L15.5589 14.4414L11.8164 10.6914ZM7.31641 10.6914C5.44891 10.6914 3.94141 9.18391 3.94141 7.31641C3.94141 5.44891 5.44891 3.94141 7.31641 3.94141C9.18391 3.94141 10.6914 5.44891 10.6914 7.31641C10.6914 9.18391 9.18391 10.6914 7.31641 10.6914Z' fill='white'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: cover; } .nav-link.active { color: #D61500; } @media (max-width:390px){ .header__secondary-nav__select-menu span{ font-size:13px; } } </style> <div class="overlay-nav Header-appear-background" id="overlayNav"></div> <div class="header__content-fixed"> <div class="header__secondary-nav__content-select d-lg-flex d-none"> <div class="container-correo d-flex justify-content-between"> <div class="header__secondary-nav__content-select-menu py-1 d-flex"> <a data-senna-off="true" href="/" class="header__secondary-nav__select-menu active"> <span> Persona </span> </a> <a data-senna-off="true" href="/web/correos-chile-empresas" class="header__secondary-nav__select-menu"> <span> Empresas </span> </a> </div> <div class="header__secondary-nav__content-select-menu py-1 d-flex"> <a data-senna-off="true" href="/web/correos-transparente" class="header__secondary-nav__select-menu "> <span> Corporativo </span> </a> </div> </div> </div> <header class="header__content"> <div class="header__content-container container-correo d-flex justify-content-between align-items-center"> <a href="/" data-senna-off="true" class="header__content-logo desktop d-lg-block d-none"> <img alt="Logo Correos" data-fileentryid="40881136" src="/documents/20123/40881133/correoschile-logo-horizontal.svg/a4110fa6-9d6b-5f88-9aa6-9495c7183d5f?t=1683248869243" /> </a> <ul class="header__primary-nav__links d-lg-flex d-none align-items-center"> <li> <div class="header__primary-nav__links--flecha text-link nav-link">Herramientas <div class="shadow-flecha-acordionNav"> <svg class="color-green-2" width="12" height="8" viewbox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M6 0.294922L0 6.29492L1.41 7.70492L6 3.12492L10.59 7.70492L12 6.29492L6 0.294922Z" fill="#D61500"></path> </svg> </div> <div class="header-children-nav card-correo"> <a data-senna-off="true" href="https://www.correos.cl/seguimiento-en-linea" class="header-children-nav-link text-link">Seguimiento en l铆nea</a> <a data-senna-off="true" href="https://www.correos.cl/cotizador" class="header-children-nav-link text-link">Cotizador</a> <a data-senna-off="true" href="https://www.correos.cl/codigo-postal" class="header-children-nav-link text-link">C贸digo postal</a> <a data-senna-off="true" href="https://www.correos.cl/zeroq" class="header-children-nav-link text-link">Reserva tu hora</a> </div> </div> </li> <li> <div class="header__primary-nav__links--flecha text-link nav-link">Servicios <div class="shadow-flecha-acordionNav"> <svg class="color-green-2" width="12" height="8" viewbox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M6 0.294922L0 6.29492L1.41 7.70492L6 3.12492L10.59 7.70492L12 6.29492L6 0.294922Z" fill="#D61500"></path> </svg> </div> <div class="header-children-nav card-correo"> <a data-senna-off="true" href="https://www.correos.cl/paqueteria-personas" class="header-children-nav-link text-link">Env铆o de paqueter铆a</a> <a data-senna-off="true" href="https://www.correos.cl/documentos-personas" class="header-children-nav-link text-link">Env铆o de documentos</a> <a data-senna-off="true" href="https://www.correos.cl/giros-de-dinero-personas" class="header-children-nav-link text-link">Giro de dinero</a> <a data-senna-off="true" href="https://www.correos.cl/casilla-postal-personas" class="header-children-nav-link text-link">Casilla postal</a> <a data-senna-off="true" href="https://www.correos.cl/filatelia" class="header-children-nav-link text-link">Filatelia</a> <a data-senna-off="true" href="https://www.correos.cl/guardapaqueteria" class="header-children-nav-link text-link">Guarda paqueter铆a</a> <a data-senna-off="true" href="https://www.correos.cl/producto-cajas" class="header-children-nav-link text-link">Embalaje</a> </div> </div> </li> <li> <div class="header__primary-nav__links--flecha text-link nav-link">Internacional <div class="shadow-flecha-acordionNav"> <svg class="color-green-2" width="12" height="8" viewbox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M6 0.294922L0 6.29492L1.41 7.70492L6 3.12492L10.59 7.70492L12 6.29492L6 0.294922Z" fill="#D61500"></path> </svg> </div> <div class="header-children-nav card-correo"> <a data-senna-off="true" href="https://www.correos.cl/reconoce-tus-env%C3%ADos-internacionales" class="header-children-nav-link text-link">Env铆os internacionales</a> <a data-senna-off="true" href="https://casillainternacional.com/" class="header-children-nav-link text-link">Casilla internacional</a> <a data-senna-off="true" href="https://www.correos.cl/group/guest/mi-correos" class="header-children-nav-link text-link">Gesti贸n de importaciones</a> <a data-senna-off="true" href="https://www.correos.cl/proceso-de-internaci%C3%B3n-e-impuestos" class="header-children-nav-link text-link">Internaci贸n y pago de impuestos</a> <a data-senna-off="true" href="https://www.correos.cl/moneygram" class="header-children-nav-link text-link">Enviar dinero al extranjero</a> </div> </div> </li> <li><a data-senna-off="true" class="text-link nav-link" href="https://www.correos.cl/home-aliados"><span style="display: flex"><img src="https://i.ibb.co/xzFWhg9/aliado.png" width="20" height="20" alt="aliado" border="0" /><span> <strong>Aliados</strong></span></span></a> </li><li><a data-senna-off="true" class="text-link nav-link" href="https://www.correos.cl/sucursales">Sucursales</a> </li><li><a data-senna-off="true" class="text-link nav-link" href="/centro-de-ayuda">Ayuda</a> </li></ul> <div class="header__ingresar-correo" header-login-button=""> <a href="/login" class="ingresar-correo text-link d-lg-flex d-none"> <svg width="12" height="12" viewbox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M6 1.5C6.825 1.5 7.5 2.175 7.5 3C7.5 3.825 6.825 4.5 6 4.5C5.175 4.5 4.5 3.825 4.5 3C4.5 2.175 5.175 1.5 6 1.5ZM6 9C8.025 9 10.35 9.9675 10.5 10.5H1.5C1.6725 9.96 3.9825 9 6 9ZM6 0C4.3425 0 3 1.3425 3 3C3 4.6575 4.3425 6 6 6C7.6575 6 9 4.6575 9 3C9 1.3425 7.6575 0 6 0ZM6 7.5C3.9975 7.5 0 8.505 0 10.5V12H12V10.5C12 8.505 8.0025 7.5 6 7.5Z" fill="#D61500" /> </svg> Ingresar </a> </div> <a href="/" data-senna-off="true" class="header__content-logo d-lg-none d-block"> <img alt="Logo Correos" data-fileentryid="40881141" src="/documents/20123/40881133/logo_correos_mobile.svg/e739d15a-c550-2627-273c-c96057ce3e4d?t=1683248848123" /> </a> <div class="d-flex align-items-center"> <div class="flex-align-center h-100 sep-between-item" id="loginUserName" style="opacity:0; position:absolute; top:0;"> <div class="portlet-boundary portlet-boundary_com_liferay_journal_content_web_portlet_JournalContentPortlet_ portlet-static portlet-static-end decorate portlet-journal-content " id="p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_menusuperiorlogin_"> <span id="p_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_menusuperiorlogin"></span> <section class="portlet" id="portlet_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_menusuperiorlogin"> <div class="portlet-content"> <div class="autofit-float autofit-row portlet-header"> <div class="autofit-col autofit-col-expand"> </div> <div class="autofit-col autofit-col-end"> <div class="autofit-section"> <div class="visible-interaction"> </div> </div> </div> </div> <div class=" portlet-content-container"> <div class="portlet-body"> <div class="" data-fragments-editor-item-id="21501-1231317" data-fragments-editor-item-type="fragments-editor-mapped-item"> <div class="journal-content-article " data-analytics-asset-id="209232" data-analytics-asset-title="Menu Listado Login Header" data-analytics-asset-type="web-content"> <div class="dropdown"> <a aria-expanded="false" aria-haspopup="true" class="btn dropdown-toggle dropdown-toggle-corp flex-align-center h-100 p-0" data-senna-off="true" data-toggle="dropdown" href="#" id="dropdownMenuLink2" role="button"><span class="headercorp-user mr-2"><img class="headercorp-usericon" src="/image/user_portrait?img_id=0&amp;img_id_token=eFr7r7HtPfvwfCUSyyl126PhqRI%3D&amp;t=1732653934474" /></span><span id="userNameLogin" class="c-purple"></span> </a> <div aria-labelledby="dropdownMenuLink2" class="dropdown-menu dropdown-menu-corp"> <div class="list-group list-group-flush list-group-corp list-group-corp-menu"> <a data-senna-off="true" class="list-group-item " href="/group/guest/mi-correos">Mi correos</a> <a data-senna-off="true" class="list-group-item " href="/group/guest/mi-perfil">Mi perfil</a> <a data-senna-off="true" class="list-group-item " href="/group/guest/contactanos">Cont谩ctanos</a> <a class="list-group-item list-group-item-close d-none d-md-block" href="/c/portal/logout">Cerrar sesi贸n</a> </div> </div> </div> <script> $(document).ready(function(){ $("#userNameLogin").text(JSON.parse('"'+Liferay.ThemeDisplay.getUserName()+'"')); }); $(document).ready(function(){ if(window.matchMedia("(max-width: 767px)").matches){ $('#multiCollapseExample1').addClass('show'); } else{ // The viewport is at least 768 pixels wide } }); </script> </div> </div> </div> </div> </div> </section> </div> </div> <div class="carroDeCompra d-none"> <a class="iconCarro " href="/group/guest/carrito-compra"> <svg width="24" height="22" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M7.69 14.354H20.199a.69.69 0 00.663-.5l2.758-9.656a.69.69 0 00-.663-.88H6.1L5.606 1.1a.69.69 0 00-.673-.54H.795a.69.69 0 100 1.38H4.38l2.49 11.205a2.072 2.072 0 00-1.248 1.898c0 1.14.929 2.07 2.07 2.07h12.506a.69.69 0 100-1.38H7.69a.69.69 0 01-.001-1.38zm14.352-9.656l-2.365 8.276H8.245l-1.84-8.276h15.637z" fill="#474747" /><path d="M7.002 19.18c0 1.142.928 2.07 2.069 2.07 1.14 0 2.07-.928 2.07-2.07 0-1.14-.93-2.068-2.07-2.068-1.14 0-2.069.928-2.069 2.069zm2.069-.689a.69.69 0 11-.002 1.381.69.69 0 01.002-1.38zM16.749 19.18c0 1.142.928 2.07 2.07 2.07 1.14 0 2.068-.928 2.068-2.07 0-1.14-.928-2.068-2.069-2.068-1.14 0-2.069.928-2.069 2.069zm2.07-.689a.69.69 0 11-.003 1.381.69.69 0 01.002-1.38z" fill="#474747" /></svg> </a> </div> <div class="header__ingresar-correo--mobile mr-3" header-login-button=""> <a href="/login" class="d-block"> <svg width="16" height="16" viewbox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M8 2C9.1 2 10 2.9 10 4C10 5.1 9.1 6 8 6C6.9 6 6 5.1 6 4C6 2.9 6.9 2 8 2ZM8 12C10.7 12 13.8 13.29 14 14H2C2.23 13.28 5.31 12 8 12ZM8 0C5.79 0 4 1.79 4 4C4 6.21 5.79 8 8 8C10.21 8 12 6.21 12 4C12 1.79 10.21 0 8 0ZM8 10C5.33 10 0 11.34 0 14V16H16V14C16 11.34 10.67 10 8 10Z" fill="#676767" /> </svg> </a> </div> <div class="d-lg-none ml-4 d-flex"> <div class="header__menu-button" id="openMobile"> <div class="header-toggler toggler"> <div class="toggler-icon"> <svg width="18" height="12" viewbox="0 0 18 12" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M0 12H18V10H0V12ZM0 7H18V5H0V7ZM0 0V2H18V0H0Z" fill="#676767" /> </svg> </div> </div> </div> </div> </div> </div> </header> </div> <div class="spacing-header"> </div> <div class="header__secondary-nav" id="secondary-nav"> <div> <div class="header__secondary-nav__header-box"> <div class="header__secondary-nav__header extend-wrapper"> <div class="header__menu-button" id="closeMobile"> <div class="header-toggler-close"> <div class="close-toggler-icon"> <svg width="14" height="14" viewbox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z" fill="#676767" /> </svg> </div> </div> </div> </div> </div> <div class="extend-wrapper"> <div class="header__secondary-nav__content-select-menu d-flex"> <a data-senna-off="true" href="/" class="header__secondary-nav__select-menu active"> <span> Persona </span> </a> <a data-senna-off="true" href="/web/correos-chile-empresas" class="header__secondary-nav__select-menu"> <span> Empresas </span> </a> <a data-senna-off="true" href="/web/correos-transparente" class="header__secondary-nav__select-menu"> <span> Corporativo </span> </a> </div> <nav class="header__secondary-nav__list"> <ul class="header__secondary-nav__links"> <div id="navMobile-1"> <div class="header__collapse d-flex justify-content-between align-items-center collapsed" data-toggle="collapse" data-target="#navMobileCollapse-1" aria-controls="navMobileCollapse-1" id="headingNavMobile-1"> <li><span data-senna-off="true" class="nav-link">Herramientas</span></li> <div class="shadow-flecha-acordion"> <svg class="color-green-2" width="12" height="8" viewbox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M6 0.294922L0 6.29492L1.41 7.70492L6 3.12492L10.59 7.70492L12 6.29492L6 0.294922Z" fill="#D61500"></path> </svg> </div> </div> <div id="navMobileCollapse-1" class="collapse content-collapse-mobile" aria-labelledby="headingNavMobile-1" data-parent="#navMobile-1"> <hr class="c-hr m-1" /> <a href="https://www.correos.cl/seguimiento-en-linea" data-senna-off="true" class="content-collapse-mobile--text text-link">Seguimiento en l铆nea</a> <a href="https://www.correos.cl/cotizador" data-senna-off="true" class="content-collapse-mobile--text text-link">Cotizador</a> <a href="https://www.correos.cl/codigo-postal" data-senna-off="true" class="content-collapse-mobile--text text-link">C贸digo postal</a> <a href="https://www.correos.cl/zeroq" data-senna-off="true" class="content-collapse-mobile--text text-link">Reserva tu hora</a> <hr class="c-hr m-1" /> </div> </div> <div id="navMobile-2"> <div class="header__collapse d-flex justify-content-between align-items-center collapsed" data-toggle="collapse" data-target="#navMobileCollapse-2" aria-controls="navMobileCollapse-2" id="headingNavMobile-2"> <li><span data-senna-off="true" class="nav-link">Servicios</span></li> <div class="shadow-flecha-acordion"> <svg class="color-green-2" width="12" height="8" viewbox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M6 0.294922L0 6.29492L1.41 7.70492L6 3.12492L10.59 7.70492L12 6.29492L6 0.294922Z" fill="#D61500"></path> </svg> </div> </div> <div id="navMobileCollapse-2" class="collapse content-collapse-mobile" aria-labelledby="headingNavMobile-2" data-parent="#navMobile-2"> <hr class="c-hr m-1" /> <a href="https://www.correos.cl/paqueteria-personas" data-senna-off="true" class="content-collapse-mobile--text text-link">Env铆o de paqueter铆a</a> <a href="https://www.correos.cl/documentos-personas" data-senna-off="true" class="content-collapse-mobile--text text-link">Env铆o de documentos</a> <a href="https://www.correos.cl/giros-de-dinero-personas" data-senna-off="true" class="content-collapse-mobile--text text-link">Giro de dinero</a> <a href="https://www.correos.cl/casilla-postal-personas" data-senna-off="true" class="content-collapse-mobile--text text-link">Casilla postal</a> <a href="https://www.correos.cl/filatelia" data-senna-off="true" class="content-collapse-mobile--text text-link">Filatelia</a> <a href="https://www.correos.cl/guardapaqueteria" data-senna-off="true" class="content-collapse-mobile--text text-link">Guarda paqueter铆a</a> <a href="https://www.correos.cl/producto-cajas" data-senna-off="true" class="content-collapse-mobile--text text-link">Embalaje</a> <hr class="c-hr m-1" /> </div> </div> <div id="navMobile-3"> <div class="header__collapse d-flex justify-content-between align-items-center collapsed" data-toggle="collapse" data-target="#navMobileCollapse-3" aria-controls="navMobileCollapse-3" id="headingNavMobile-3"> <li><span data-senna-off="true" class="nav-link">Internacional</span></li> <div class="shadow-flecha-acordion"> <svg class="color-green-2" width="12" height="8" viewbox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M6 0.294922L0 6.29492L1.41 7.70492L6 3.12492L10.59 7.70492L12 6.29492L6 0.294922Z" fill="#D61500"></path> </svg> </div> </div> <div id="navMobileCollapse-3" class="collapse content-collapse-mobile" aria-labelledby="headingNavMobile-3" data-parent="#navMobile-3"> <hr class="c-hr m-1" /> <a href="https://www.correos.cl/reconoce-tus-env%C3%ADos-internacionales" data-senna-off="true" class="content-collapse-mobile--text text-link">Env铆os internacionales</a> <a href="https://casillainternacional.com/" data-senna-off="true" class="content-collapse-mobile--text text-link">Casilla internacional</a> <a href="https://www.correos.cl/group/guest/mi-correos" data-senna-off="true" class="content-collapse-mobile--text text-link">Gesti贸n de importaciones</a> <a href="https://www.correos.cl/proceso-de-internaci%C3%B3n-e-impuestos" data-senna-off="true" class="content-collapse-mobile--text text-link">Internaci贸n y pago de impuestos</a> <a href="https://www.correos.cl/moneygram" data-senna-off="true" class="content-collapse-mobile--text text-link">Enviar dinero al extranjero</a> <hr class="c-hr m-1" /> </div> </div> <li><a data-senna-off="true" class="text-link nav-link" href="https://www.correos.cl/home-aliados"><span style="display: flex"><img src="https://i.ibb.co/xzFWhg9/aliado.png" width="20" height="20" alt="aliado" border="0" /><span> <strong>Aliados</strong></span></span></a></li> <li><a data-senna-off="true" class="text-link nav-link" href="https://www.correos.cl/sucursales">Sucursales</a></li> <li><a data-senna-off="true" class="text-link nav-link" href="/centro-de-ayuda">Ayuda</a></li> </ul> </nav> <hr class="c-hr" /> <div class="nav-mobile-redes-siguenos"> <span class="redes-siguenos--text">S铆guenos</span> <div class="d-flex "> <a data-senna-off="true" href="https://www.instagram.com/" class="redes-siguenos-logo"> <img alt="" data-fileentryid="40881146" src="/documents/20123/40881133/instagram.svg/87497b60-3100-d0ae-2b43-775fefc84bae?t=1683249780969" /> </a> <a data-senna-off="true" href="https://twitter.com/home?lang=es" class="redes-siguenos-logo"> <img alt="" data-fileentryid="40881151" src="/documents/20123/40881133/twitter.svg/77aba39c-8ec8-da38-2e8d-dd8821443a17?t=1683249800578" /> </a> <a data-senna-off="true" href="" class="redes-siguenos-logo"> <img alt="" data-fileentryid="40881156" src="/documents/20123/40881133/linkedin.svg/a36162fe-d945-f056-f727-cd642d8182c3?t=1683249813736" /> </a> </div> </div> </div> </div> </div> <script> /*Animaci贸n nav de derecha a izquierda*/ const toggleOpenMobile = document.getElementById("openMobile"); const toggleCloseMobile = document.getElementById("closeMobile"); const overlayNav = document.querySelector('.overlay-nav'); const navMenu = document.getElementById('secondary-nav'); toggleOpenMobile.addEventListener('click', () => { navMenu.classList.add("open"); overlayNav.classList.add("open"); var div = document.getElementById("overlayNav"); div.classList.add("Header-appear-background"); // Espera un momento para que se aplique la clase y luego cambia la opacidad setTimeout(function () { div.style.opacity = "1"; }, 10); }); toggleCloseMobile.addEventListener('click', () => { navMenu.classList.remove("open"); var div = document.getElementById("overlayNav"); div.classList.add("Header-appear-background"); // Espera un momento para que se aplique la clase y luego cambia la opacidad div.style.opacity = "0"; setTimeout(function () { overlayNav.classList.remove("open"); }, 500); }); overlayNav.addEventListener('click', () => { navMenu.classList.remove("open"); var div = document.getElementById("overlayNav"); div.classList.add("Header-appear-background"); div.style.opacity = "0"; // Espera un momento para que se aplique la clase y luego cambia la opacidad setTimeout(function () { overlayNav.classList.remove("open"); }, 500); }); if (navMenu.classList.contains("open")) { overlayNav.classList.add("open"); } var elementosClickeables = document.querySelectorAll(".header__primary-nav__links--flecha"); // Agregar el evento "click" a cada elemento clickeable elementosClickeables.forEach(function (elemento) { elemento.addEventListener("click", function (event) { // Detectar el elemento espec铆fico que se ha hecho clic var elementoClickeado = event.target; // Agregar una clase al elemento clickeado elementosClickeables.forEach(function (elemento) { if (elemento !== elementoClickeado) { elemento.classList.remove("open"); } }); elementoClickeado.classList.toggle("open"); }); }); // Agregar un escuchador de eventos de clic en el documento completo document.addEventListener("click", function (event) { // Verificar si el clic se ha hecho dentro del elemento clickeable var headerLinkFlecha = false; elementosClickeables.forEach(function (elemento) { if (elemento.contains(event.target)) { headerLinkFlecha = true; } }); // Si el clic se ha hecho fuera del elemento clickeable, eliminar la clase "seleccionado" de todos los elementos clickeables if (!headerLinkFlecha) { elementosClickeables.forEach(function (elemento) { elemento.classList.remove("open"); }); } }); const childElementsFlecha = document.querySelectorAll('.shadow-flecha-acordionNav'); childElementsFlecha.forEach(function (childElement) { childElement.addEventListener('click', function () { const parentElement = childElement.closest('.header__primary-nav__links--flecha'); if (parentElement && parentElement.classList.contains('open')) { } else { setTimeout(function () { parentElement.classList.add('open'); }, 20); } }); }); </script> <script> // A $( document ).ready() block. $( document ).ready(function() { console.log( "ready!" ); if(Liferay.ThemeDisplay.isSignedIn()){ $(".carroDeCompra").removeClass("d-none"); } }); </script> <script> $(document).ready(function(){ if(!Liferay.ThemeDisplay.isSignedIn()){ $('a[href$="https://portalinternacional.correos.cl/Login/Login"]').attr("href","/login") } }); $( document ).ready(function() { var favicon = document.querySelector('link[rel="icon"]'); favicon.href = 'https://www.correos.cl/o/correos-de-chile-theme/images/favicon.ico'; }); </script> </div> </div> </div> </div> </div> </section> </div> <section id="content"> <span class="hide-accessible">Cotizador</span> <div class="1-column-centered container-corp" id="main-content" role="main"> <div class="portlet-layout row"> <div class="col-md-12 portlet-column portlet-column-only" id="column-1"> <div class="portlet-dropzone portlet-column-content portlet-column-content-only" id="layout-column_column-1"> <div class="portlet-boundary portlet-boundary_Cotizador_ portlet-static portlet-static-end decorate " id="p_p_id_Cotizador_INSTANCE_l0psINRsg4hg_"> <span id="p_Cotizador_INSTANCE_l0psINRsg4hg"></span> <section class="portlet" id="portlet_Cotizador_INSTANCE_l0psINRsg4hg"> <div class="portlet-content"> <div class="autofit-float autofit-row portlet-header"> <div class="autofit-col autofit-col-expand"> </div> <div class="autofit-col autofit-col-end"> <div class="autofit-section"> </div> </div> </div> <div class=" portlet-content-container"> <div class="portlet-body"> <section id="formularioTarifas"> <div class="text-center mx-auto pb-8"> <h1 class="main-title c-red-2 mb-0">Calcula el valor de tu env铆o</h1> <p class="f-common-regular"></p> </div> <div class="d-none d-md-block"> <ul class="nav nav-tabs nav-tabs-corp-light" id="myTab" role="tablist"> <li class="nav-item"> <a class="nav-link active show" id="home-tab" data-toggle="tab" href="#nacional" role="tab" aria-controls="nacional" aria-selected="true">Nacional</a> </li> <li class="nav-item"> <a class="nav-link" id="profile-tab" data-toggle="tab" href="#internacional" role="tab" aria-controls="internacional" aria-selected="false">Internacional</a> </li> </ul> </div> <div class="d-none d-md-block"> <div class="tab-content tab-content-light tariff" id="myTabContent"> <div class="tab-pane fade" id="internacional" role="tabpanel" aria-labelledby="internacional-tab"> <div class="alert alert-corp-dismissible bg-red-1 text-center" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_alertaOrigenDestinoInter" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Debes seleccionar una localidad correcta en origen y destino.</strong> </p> <button class="close" aria-label="Close"> <span class="c-white" onclick="ocultarAlertaOrigenDestinoInter();">X</span> </button> </div> <div class="alert alert-corp-dismissible bg-red-1 text-center" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_alertaSinCoberturaInter" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Sin cobertura de env&iacute;o</strong> </p> <button class="close" aria-label="Close"> <span class="c-white" onclick="ocultarAlertaSinCoberturaInter();">X</span> </button> </div> <div class="alert alert-corp-dismissible bg-red-1 text-center" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_alertaFormularioInter" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Tienes un error en el formulario.</strong> </p> <button class="close" aria-label="Close"> <span class="c-white" onclick="ocultarAlertaFormularioInter();">X</span> </button> </div> <div class="alert alert-corp-dismissible bg-red-1 text-center mt-6" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_alertaCaptchaInter" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Eres un robot!</strong> </p> </div> <div class="alert alert-corp-dismissible bg-red-1 text-center" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_alertaServicioInter" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Ocurri&oacute; un problema con nuestros servicios, intenta nuevamente.</strong> </p> <button class="close" aria-label="Close"> <span class="c-white" onclick="ocultarAlertaServicioInter();">X</span> </button> </div> <form id="_Cotizador_INSTANCE_l0psINRsg4hg_formTarificadorInternacional" method="post"> <div class="row"> <div class="col-lg-5"> <p class="f-common-bold mb-1">驴Qu茅 quieres enviar?</p> <p class="f-common-bold small-text c-grey-2 mb-2">Selecciona el tipo de env铆o que quieres realizar</p> <div class="d-flex flex-column flex-md-row"> <div class="sep-right-md-4"> <input class="radiobox-input" id="paqueteInter" name="envioInter" value="Paquete" checked type="radio" /> <label class="radiobox radiobox-flat radiobox-new" for="paqueteInter"> <span class="d-flex"> <span class="radiobox-img mr-1" style="background-image: url('/o/cl.cch.cotizafor.hib/images/paquete-icon.png');"></span> <span class="f-common-bold small-text">Paqueter&iacute;a</span> </span> <span class="radio-corp"></span> </label> </div> <div> <input class="radiobox-input" id="documentoInter" name="envioInter" type="radio" value="Documento" /> <label class="radiobox radiobox-flat radiobox-new" for="documentoInter"> <span class="d-flex"> <span class="radiobox-img mr-1" style="background-image: url('/o/cl.cch.cotizafor.hib/images/doc-icon.png');"></span> <span class="f-common-bold small-text">Documentos</span> </span> <span class="radio-corp"></span> </label> </div> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_tipoEnvioInter" name="_Cotizador_INSTANCE_l0psINRsg4hg_tipoEnvioInter" type="hidden" value="Paquete" readonly="readonly"> </div> </div> </div> <hr style="border-top: 1px dashed #979797;"> <div class="mb-8"></div> <div class="row"> <div class="col-md-5 order-md-1"> <p class="f-common-bold mb-1">Desde y hacia d贸nde env铆as</p> <p class="f-common-bold small-text c-grey-2 mb-2">Selecciona el origen y destino de tu env铆o</p> <div class="row"> <div class="col-md-6"> <div class="form-group mb-4 focused nofocus"><label class="form-label fs-1" for="_Cotizador_INSTANCE_l0psINRsg4hg_origenInter">Comuna de Origen</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_origenInter" maxlength="10" name="_Cotizador_INSTANCE_l0psINRsg4hg_origenInter" onkeypress="return validarLetras(event);" required="" type="text" /> </div> </div> <div class="col-md-6"> <div class="form-group mb-4 focused nofocus"><label class="form-label fs-1" for="_Cotizador_INSTANCE_l0psINRsg4hg_destinoInter">Pa铆s de Destino</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_destinoInter" maxlength="10" name="_Cotizador_INSTANCE_l0psINRsg4hg_destinoInter" required="" type="text" onkeypress="return validarLetras(event);" /> </div> </div> </div> </div> <div class="col-md-1 order-md-1"></div> <div class="col-md-6 order-md-2"> <div class="row" id="paqueteOptionInterNew"> <div class="col-md-8"> <div class="form-group"> <label class="f-common-bold"> <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M12.9971 13.4904H0.50235C0.291661 13.4904 0.120667 13.3194 0.120667 13.1087V11.9804H1.1161C1.36953 11.9804 1.57412 11.7759 1.57412 11.5224C1.57412 11.269 1.36953 11.0644 1.1161 11.0644H0.120667V9.60941H1.1161C1.36953 9.60941 1.57412 9.40484 1.57412 9.15139C1.57412 8.89795 1.36953 8.69337 1.1161 8.69337H0.120667V7.23839H1.1161C1.36953 7.23839 1.57412 7.03381 1.57412 6.78037C1.57412 6.52693 1.36953 6.32235 1.1161 6.32235H0.120667V4.86892H1.1161C1.36953 4.86892 1.57412 4.66433 1.57412 4.4109C1.57412 4.15746 1.36953 3.95288 1.1161 3.95288H0.119141V0.613914C0.119141 0.273438 0.531358 0.103986 0.771055 0.343667L13.2674 12.8385C13.507 13.0797 13.3376 13.4904 12.9971 13.4904ZM7.28409 10.7423L2.86879 6.32693V10.7423H7.28409Z" fill="#454545"/> </svg> 驴C煤anto mide? </label> <p class="f-common-bold small-text c-grey-2 mb-5"></p> <div class="row"> <div class="col-4 focused noFocus"> <label class="form-label" for="_Cotizador_INSTANCE_l0psINRsg4hg_anchoInter">Ancho</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_anchoInter" maxlength="3" name="_Cotizador_INSTANCE_l0psINRsg4hg_anchoInter" onkeypress="return validarNumero(event);" required="" type="text" value="" /> <span class="fixed-label c-grey-2">cm</span> </div> <div class="col-4 focused noFocus"> <label class="form-label" for="_Cotizador_INSTANCE_l0psINRsg4hg_largoInter">Largo</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_largoInter" maxlength="3" name="_Cotizador_INSTANCE_l0psINRsg4hg_largoInter" onkeypress="return validarNumero(event);" required="" type="text" value="" /> <span class="fixed-label c-grey-2">cm</span> </div> <div class="col-4 focused noFocus"> <label class="form-label" for="_Cotizador_INSTANCE_l0psINRsg4hg_altoInter">Alto</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_altoInter" maxlength="3" name="_Cotizador_INSTANCE_l0psINRsg4hg_altoInter" onkeypress="return validarNumero(event);" required="" type="text" value="" /> <span class="fixed-label c-grey-2">cm</span> </div> </div> </div> </div> <div class="col-md-4"> <div class="form-group"> <label class="f-common-bold "> <svg width="19" height="20" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0.360962V0.889251C0 3.63475 2.23358 5.86833 4.97904 5.86833H13.1404C15.8858 5.86833 18.1194 3.63471 18.1194 0.889251V0.360962H0Z" fill="#454545"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M5.91687 13.9316C5.91687 12.1986 7.32677 10.7887 9.05974 10.7887C10.7927 10.7887 12.2026 12.1986 12.2026 13.9316C12.2026 15.6646 10.7927 17.0745 9.05974 17.0745C7.32677 17.0745 5.91687 15.6646 5.91687 13.9316ZM8.49538 14.4959H11.262V13.3671H9.62413V11.7292H8.49538V14.4959Z" fill="#454545"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M11.4902 6.99713V8.50214H18.1194V19.361H0V8.50214H6.62914V6.99713H11.4902ZM4.78807 13.9315C4.78807 16.2869 6.70433 18.2032 9.0597 18.2032C11.415 18.2032 13.3313 16.287 13.3313 13.9316C13.3313 11.5762 11.415 9.65991 9.0597 9.65991C6.70436 9.65991 4.78807 11.5761 4.78807 13.9315Z" fill="#454545"/> </svg> C煤anto pesa (KG) </label> <p class="f-common-bold small-text c-grey-2 mb-5"></p> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_inputPesoInter" maxlength="4" name="_Cotizador_INSTANCE_l0psINRsg4hg_inputPesoInter" onchange="cambiarPesoInter(this.value);" onkeypress="return validarNumero(event);" required="" type="text" value="" /> </div> </div> </div> <div class="row" id="docOptionInter" style="display: none;"> <div class="col-md-4"> <div class="form-group"> <label class="f-common-bold small-text"> <svg width="19" height="20" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0.360962V0.889251C0 3.63475 2.23358 5.86833 4.97904 5.86833H13.1404C15.8858 5.86833 18.1194 3.63471 18.1194 0.889251V0.360962H0Z" fill="#454545"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M5.91687 13.9316C5.91687 12.1986 7.32677 10.7887 9.05974 10.7887C10.7927 10.7887 12.2026 12.1986 12.2026 13.9316C12.2026 15.6646 10.7927 17.0745 9.05974 17.0745C7.32677 17.0745 5.91687 15.6646 5.91687 13.9316ZM8.49538 14.4959H11.262V13.3671H9.62413V11.7292H8.49538V14.4959Z" fill="#454545"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M11.4902 6.99713V8.50214H18.1194V19.361H0V8.50214H6.62914V6.99713H11.4902ZM4.78807 13.9315C4.78807 16.2869 6.70433 18.2032 9.0597 18.2032C11.415 18.2032 13.3313 16.287 13.3313 13.9316C13.3313 11.5762 11.415 9.65991 9.0597 9.65991C6.70436 9.65991 4.78807 11.5761 4.78807 13.9315Z" fill="#454545"/> </svg> C煤anto pesa (G) </label> <select class="form-select" id="_Cotizador_INSTANCE_l0psINRsg4hg_selectPesoDocumentoInter" onchange="cambiarPesoInter(this.value);"> <option value="">Selecciona una opcion</option> <option value="0">0 - 50g</option> <option value="1">51g - 100g</option> <option value="2">101g - 250g</option> <option value="3">251g - 500g</option> <option value="4">501g - 1kg</option> <option value="5">1kg - 1.5kg</option> </select> </div> </div> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_pesoInter" name="_Cotizador_INSTANCE_l0psINRsg4hg_pesoInter" type="hidden" value="" required="" readonly="readonly"> </div> </div> </div> <hr style="border-top: 1px dashed #979797;"> <!-- captcha --> <!-- <div class="d-flex justify-content-center"> <div id="g-recaptcha2"></div> </div> --> <div class="d-flex justify-content-center"> <span class="loader" style="display:none"> <img alt="loader" src="/o/cl.cch.cotizafor.hib/images/loader.gif"> <br/> Un momento, por favor... </span> <div class="text-md-right pt-5 pr-4 text-center btnCotizar"> <a onclick="enviarFormularioInter();" class="btn btn-corp btn-normal mt-5">Cotizar tu env&iacute;o</a> </div> </div> </form> </div> <div class="tab-pane fade active show" id="nacional" role="tabpanel" aria-labelledby="nacional-tab"> <div class="alert alert-corp-dismissible bg-red-1 text-center" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_alertaOrigenDestino" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Debes seleccionar una localidad correcta en origen y destino</strong> </p> <button class="close" aria-label="Close"> <span class="c-white" onclick="ocultarAlertaOrigenDestino();">X</span> </button> </div> <div class="alert alert-corp-dismissible bg-red-1 text-center" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_alertaSinCobertura" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Sin cobertura de env&iacute;o</strong> </p> <button class="close" aria-label="Close"> <span class="c-white" onclick="ocultarAlertaSinCobertura();">X</span> </button> </div> <div class="alert alert-corp-dismissible bg-red-1 text-center" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_alertaFormulario" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Falta informaci贸n en el formulario.</strong> </p> <button class="close" aria-label="Close"> <span class="c-white" onclick="ocultarAlertaFormulario();">X</span> </button> </div> <div class="alert alert-corp-dismissible bg-red-1 text-center" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_alertaServicio" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Ocurri&oacute; un problema con nuestros servicios, intenta nuevamente.</strong> </p> <button class="close" aria-label="Close"> <span class="c-white" onclick="ocultarAlertaServicio();">X</span> </button> </div> <div class="alert alert-corp-dismissible bg-red-1 text-center mt-6" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_alertaCaptcha" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Eres un robot!!</strong> </p> <!-- <button type="button" class="close" aria-label="Close"> <i class="la la-times c-white fs-7" onclick="ocultarAlertaCaptcha();">&nbsp;</i> </button> --> </div> <form id="_Cotizador_INSTANCE_l0psINRsg4hg_formTarificador" method="post"> <div class="row"> <div class="col-lg-5"> <p class="f-common-bold mb-1">驴Qu茅 quieres enviar?</p> <p class="f-common-bold small-text c-grey-2 mb-2">Selecciona el tipo de env铆o que quieres realizar</p> <div class="d-flex flex-column flex-md-row"> <div class="sep-right-md-4"> <input class="radiobox-input" id="paquete" name="envio" value="Paquete" type="radio" checked /> <label class="radiobox radiobox-flat radiobox-new" for="paquete"> <span class="d-flex"> <span class="radiobox-img mr-1" style="background-image: url('/o/cl.cch.cotizafor.hib/images/paquete-icon.png');"></span> <span class="f-common-bold small-text">Paqueteria</span> </span> <span class="radio-corp"></span> </label> </div> <div> <input class="radiobox-input" id="documento" name="envio" type="radio" value="Documento" /> <label class="radiobox radiobox-flat radiobox-new" for="documento"> <span class="d-flex"> <span class="radiobox-img mr-1" style="background-image: url('/o/cl.cch.cotizafor.hib/images/doc-icon.png');"></span> <span class="f-common-bold small-text">Documentos</span> </span> <span class="radio-corp"></span> </label> </div> </div> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_tipoEnvio" name="_Cotizador_INSTANCE_l0psINRsg4hg_tipoEnvio" type="hidden" value="Paquete" readonly="readonly"> </div> <div class="col-lg-7" id="enDondeEntregamos"> <p class="f-common-bold mb-1">&iquest;En d贸nde entregamos tu env铆o?</p> <p class="f-common-bold small-text c-grey-2 mb-2">Selecciona el destino</p> <div class="d-flex flex-column flex-md-row"> <div class="sep-right-md-4"> <input class="radiobox-input" id="sucursal" name="lugar" value="Sucursal" type="radio" checked/> <label class="radiobox radiobox-flat radiobox-new" for="sucursal"> <span class="d-flex"> <span class="radiobox-img mr-1" style="background-image: url('/o/cl.cch.cotizafor.hib/images/sucursal.png');"></span> <span class="f-common-bold small-text">Sucursal</span> </span> <span class="radio-corp"></span> </label> </div> <div class="sep-right-md-4"><input class="radiobox-input" id="domicilio" name="lugar" value="Domicilio" type="radio" /> <label class="radiobox radiobox-flat radiobox-new" for="domicilio"> <span class="d-flex"> <span class="radiobox-img mr-1" style="background-image: url('/o/cl.cch.cotizafor.hib/images/domicilio.png');"></span> <span class="f-common-bold small-text">Domicilio</span> </span> <span class="radio-corp"></span> </label> </div> <input type="hidden" id="_Cotizador_INSTANCE_l0psINRsg4hg_tipoDestino" name="_Cotizador_INSTANCE_l0psINRsg4hg_tipoDestino" value="Sucursal"> </div> </div> </div> <div class="mb-8"></div> <hr style="border-top: 1px dashed #979797;"> <div class="row"> <div class="col-md-5 order-md-0"> <p class="f-common-bold mb-1">Desde y hacia d贸nde env铆as</p> <p class="f-common-bold small-text c-grey-2 mb-2">Selecciona el origen y destino de tu env铆o</p> <div class="row"> <div class="col-md-6"> <div class="form-group mb-4 focused nofocus"><label class="form-label fs-1" for="_Cotizador_INSTANCE_l0psINRsg4hg_origen">Comuna de Origen</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_origen" maxlength="10" name="_Cotizador_INSTANCE_l0psINRsg4hg_origen" onkeypress="return validarLetras(event);" required="" type="text" /> </div> </div> <div class="col-md-6"> <div class="form-group mb-4 focused nofocus"><label class="form-label fs-1" for="_Cotizador_INSTANCE_l0psINRsg4hg_destino">Comuna de Destino</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_destino" maxlength="10" name="_Cotizador_INSTANCE_l0psINRsg4hg_destino" required="" type="text" onkeypress="return validarLetras(event);"/> </div> </div> </div> </div> <div class="col-md-1 order-md-1"></div> <div class="col-md-6 order-md-2"> <div class="row" id="paqueteOption"> <div class="col-md-8"> <div class="form-group"> <label class="f-common-bold"> <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M12.9971 13.4904H0.50235C0.291661 13.4904 0.120667 13.3194 0.120667 13.1087V11.9804H1.1161C1.36953 11.9804 1.57412 11.7759 1.57412 11.5224C1.57412 11.269 1.36953 11.0644 1.1161 11.0644H0.120667V9.60941H1.1161C1.36953 9.60941 1.57412 9.40484 1.57412 9.15139C1.57412 8.89795 1.36953 8.69337 1.1161 8.69337H0.120667V7.23839H1.1161C1.36953 7.23839 1.57412 7.03381 1.57412 6.78037C1.57412 6.52693 1.36953 6.32235 1.1161 6.32235H0.120667V4.86892H1.1161C1.36953 4.86892 1.57412 4.66433 1.57412 4.4109C1.57412 4.15746 1.36953 3.95288 1.1161 3.95288H0.119141V0.613914C0.119141 0.273438 0.531358 0.103986 0.771055 0.343667L13.2674 12.8385C13.507 13.0797 13.3376 13.4904 12.9971 13.4904ZM7.28409 10.7423L2.86879 6.32693V10.7423H7.28409Z" fill="#454545"/> </svg> 驴C煤anto mide? </label> <p class="f-common-bold small-text c-grey-2 mb-5"></p> <div class="row"> <div class="col-4 focused noFocus"> <label class="form-label" for="_Cotizador_INSTANCE_l0psINRsg4hg_ancho">Ancho</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_ancho" maxlength="3" name="_Cotizador_INSTANCE_l0psINRsg4hg_ancho" required="" type="text" value="" onkeypress="return validarNumero(event);"/> <span class="fixed-label c-grey-2">cm</span> </div> <div class="col-4 focused noFocus"> <label class="form-label" for="_Cotizador_INSTANCE_l0psINRsg4hg_largo">Largo</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_largo" maxlength="3" name="_Cotizador_INSTANCE_l0psINRsg4hg_largo" onkeypress="return validarNumero(event);" required="" type="text" value="" /> <span class="fixed-label c-grey-2">cm</span> </div> <div class="col-4 focused noFocus"> <label class="form-label" for="_Cotizador_INSTANCE_l0psINRsg4hg_alto">Alto</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_alto" maxlength="3" name="_Cotizador_INSTANCE_l0psINRsg4hg_alto" onkeypress="return validarNumero(event);" required="" type="text" value="" /> <span class="fixed-label c-grey-2">cm</span> </div> </div> </div> </div> <div class="col-md-4"> <div class="form-group"> <label class="f-common-bold"> <svg width="19" height="20" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0.360962V0.889251C0 3.63475 2.23358 5.86833 4.97904 5.86833H13.1404C15.8858 5.86833 18.1194 3.63471 18.1194 0.889251V0.360962H0Z" fill="#454545"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M5.91687 13.9316C5.91687 12.1986 7.32677 10.7887 9.05974 10.7887C10.7927 10.7887 12.2026 12.1986 12.2026 13.9316C12.2026 15.6646 10.7927 17.0745 9.05974 17.0745C7.32677 17.0745 5.91687 15.6646 5.91687 13.9316ZM8.49538 14.4959H11.262V13.3671H9.62413V11.7292H8.49538V14.4959Z" fill="#454545"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M11.4902 6.99713V8.50214H18.1194V19.361H0V8.50214H6.62914V6.99713H11.4902ZM4.78807 13.9315C4.78807 16.2869 6.70433 18.2032 9.0597 18.2032C11.415 18.2032 13.3313 16.287 13.3313 13.9316C13.3313 11.5762 11.415 9.65991 9.0597 9.65991C6.70436 9.65991 4.78807 11.5761 4.78807 13.9315Z" fill="#454545"/> </svg> C煤anto pesa (KG) </label> <p class="f-common-bold small-text c-grey-2 mb-5"></p> <input class="form-field" id="inputPesoNac" maxlength="4" onkeypress="return validarNumero(event);" name="inputPesoNac" onchange="cambiarPeso(this.value);" required="" type="text" value="" /> </div> <div class="bg-red-3 p-1 rounded-common mb-4 d-none" id="errorPeso"> <p class="small-text mb-0 c-white text-center">El peso no puede ser mayor a 50 kilos</p> </div> </div> </div> <div class="row" id="docOption" style="display: none;"> <div class="col-md-4"> <div class="form-group"> <label class="f-common-bold small-text"> <svg width="19" height="20" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0.360962V0.889251C0 3.63475 2.23358 5.86833 4.97904 5.86833H13.1404C15.8858 5.86833 18.1194 3.63471 18.1194 0.889251V0.360962H0Z" fill="#454545"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M5.91687 13.9316C5.91687 12.1986 7.32677 10.7887 9.05974 10.7887C10.7927 10.7887 12.2026 12.1986 12.2026 13.9316C12.2026 15.6646 10.7927 17.0745 9.05974 17.0745C7.32677 17.0745 5.91687 15.6646 5.91687 13.9316ZM8.49538 14.4959H11.262V13.3671H9.62413V11.7292H8.49538V14.4959Z" fill="#454545"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M11.4902 6.99713V8.50214H18.1194V19.361H0V8.50214H6.62914V6.99713H11.4902ZM4.78807 13.9315C4.78807 16.2869 6.70433 18.2032 9.0597 18.2032C11.415 18.2032 13.3313 16.287 13.3313 13.9316C13.3313 11.5762 11.415 9.65991 9.0597 9.65991C6.70436 9.65991 4.78807 11.5761 4.78807 13.9315Z" fill="#454545"/> </svg> C煤anto pesa (G) </label> <p class="f-common-bold small-text c-grey-2 mb-5"></p> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_peso" maxlength="4" onkeypress="return validarNumero(event);" name="_Cotizador_INSTANCE_l0psINRsg4hg_peso" onchange="ingresarPeso(this.value);" required="" type="text" value="" /> </div> <div class="bg-red-3 p-1 rounded-common mb-4 d-none" id="errorPesoDoc"> <p class="small-text mb-0 c-white text-center">El peso no puede ser mayor a 500 Gramos</p> </div> </div> </div> </div> </div> <hr style="border-top: 1px dashed #979797;"> <!-- <div class="d-flex justify-content-center"> <div id="g-recaptcha1"></div> </div> --> <div class="d-flex justify-content-center "> <span class="loader" style="display:none"> <img alt="loader" src="/o/cl.cch.cotizafor.hib/images/loader.gif"> <br/> Un momento, por favor... </span> <div class="text-md-right pt-5 pr-4 text-center btnCotizar"> <a onclick="enviarFormulario();" class="btn btn-corp btn-normal mt-5">Cotizar tu env&iacute;o</a> </div> </div> </form> <div id="condicionesDocumentos" style="display: none;"> <p class="small-text pt-5 mb-1 c-grey-4 text-center">* Son aquellos que se encuentran impresos en hojas de papel o soporte de pl谩stico.</p> <p class="small-text mb-1 c-grey-4 text-center">* Peso m谩ximo: 1,5 kilos.</p> <p class="small-text mb-1 c-grey-4 text-center">* Grosor: igual o menor a 5 cm.</p> <p class="small-text mb-1 c-grey-4 text-center">* Embalaje en un sobre de material flexible.</p> </div> <div id="condicionesPaquetes"> <p class="small-text pt-5 mb-1 c-grey-4 text-center">* Paquete, bulto o caja.</p> <p class="small-text mb-1 c-grey-4 text-center">* Uno de sus lados no puede superar los 2 m. o la suma de sus lados no debe ser mayor a 3 m.</p> <p class="small-text mb-1 c-grey-4 text-center">* Peso m谩ximo: 50 kilos f铆sicos.</p> </div> </div> </div> </div> <div class="d-md-none"> <div class=" pt-4 bg-white" data-panel-form=""> <ul class="nav nav-tabs nav-tabs-corp-light" id="myTab2" role="tablist"> <li class="nav-item"> <a class="nav-link active show" id="home-tab-mob" data-toggle="tab" href="#homeMob" role="tab" aria-controls="homeMob" aria-selected="true">Nacional</a> </li> <li class="nav-item"> <a class="nav-link" id="profile-tab-mob" data-toggle="tab" href="#profileMob" role="tab" aria-controls="profileMob" aria-selected="false">Internacional</a> </li> </ul> <div class="overflow-hidden overflow-y-auto h-100 scrollbar-corp px-2 pb-20"> <div class="tab-content tab-content-light tariff tariff-custom" id="contentTab"> <div class="tab-pane fade show active" id="homeMob" role="tabpanel" aria-labelledby="home-tab"> <div class="alert alert-corp-dismissible bg-red-1 text-center" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaOrigenDestino" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Debes seleccionar una localidad correcta en origen y destino</strong> </p> <button class="close" aria-label="Close"> <span class="c-white" onclick="ocultarAlertaOrigenDestinoMob();">X</span> </button> </div> <div class="alert alert-corp-dismissible bg-red-1 text-center" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaSinCobertura" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Sin cobertura de env&iacute;o</strong> </p> <button class="close" aria-label="Close"> <span class="c-white" onclick="ocultarAlertaSinCoberturaMob();">X</span> </button> </div> <div class="alert alert-corp-dismissible bg-red-1 text-center" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaFormulario" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Falta informaci贸n en el formulario.</strong> </p> <button class="close" aria-label="Close"> <span class="c-white" onclick="ocultarAlertaFormularioMob();">X</span> </button> </div> <div class="alert alert-corp-dismissible bg-red-1 text-center" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaServicio" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Ocurri&oacute; un problema con nuestros servicios, intenta nuevamente.</strong> </p> <button class="close" aria-label="Close"> <span class="c-white" onclick="ocultarAlertaServicioMob();">X</span> </button> </div> <div class="alert alert-corp-dismissible bg-red-1 text-center mt-6" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaCaptcha" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Eres un robot!!</strong> </p> <!-- <button type="button" class="close" aria-label="Close"> <i class="la la-times c-white fs-7" onclick="ocultarAlertaCaptchaMob();">&nbsp;</i> </button> --> </div> <form id="_Cotizador_INSTANCE_l0psINRsg4hg_formTarificadorMob" method="post"> <div class="row"> <div class="col-lg-5"> <p class="f-common-bold mb-1">驴Qu茅 quieres enviar?</p> <p class="f-common-bold small-text c-grey-2 mb-2">Selecciona el tipo de env铆o que quieres realizar</p> <div class="d-flex flex-column flex-md-row"> <div class="sep-right-md-4"> <input class="radiobox-input" id="mobPaquete" name="mobEnvio" type="radio" value="Paquete" checked /> <label class="radiobox radiobox-flat radiobox-new" for="mobPaquete"> <span class="d-flex"> <span class="radiobox-img mr-1" style="background-image: url('/o/cl.cch.cotizafor.hib/images/paquete-icon.png');"></span> <span class="f-common-bold small-text">Paqueteria</span> </span> <span class="radio-corp"></span> </label> </div> <div> <input class="radiobox-input" id="mobDocumento" name="mobEnvio" value="Documento" type="radio" /> <label class="radiobox radiobox-flat radiobox-new" for="mobDocumento"> <span class="d-flex"> <span class="radiobox-img mr-1" style="background-image: url('/o/cl.cch.cotizafor.hib/images/doc-icon.png');"></span> <span class="f-common-bold small-text">Documentos</span> </span> <span class="radio-corp"></span> </label> </div> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobTipoEnvio" name="_Cotizador_INSTANCE_l0psINRsg4hg_tipoEnvio" type="hidden" value="Paquete" readonly="readonly"> </div> </div> <div class="col-lg-7" id="enDondeEntregamosMob"> <p class="f-common-bold small-text mb-2">&iquest;En donde entregamos tu env铆o?</p> <p class="f-common-bold small-text c-grey-2 mb-2"></p> <div class="d-flex flex-column flex-md-row"> <div class="sep-right-md-4"> <input class="radiobox-input" id="mobSucursal" name="mobLugar" value="Sucursal" type="radio" checked /> <label class="radiobox radiobox-flat radiobox-new" for="mobSucursal"> <span class="d-flex"> <span class="radiobox-img mr-1" style="background-image: url('/o/cl.cch.cotizafor.hib/images/sucursal.png');"></span> <span class="f-common-bold small-text">Sucursal</span> </span> <span class="radio-corp"></span> </label> </div> <div class="sep-right-md-4"><input class="radiobox-input" id="mobDomicilio" name="mobLugar" value="Domicilio" type="radio" /> <label class="radiobox radiobox-flat radiobox-new" for="mobDomicilio"> <span class="d-flex"> <span class="radiobox-img mr-1" style="background-image: url('/o/cl.cch.cotizafor.hib/images/domicilio.png');"></span> <span class="f-common-bold small-text">Domicilio</span> </span> <span class="radio-corp"></span> </label> </div> <input type="hidden" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobTipoDestino" name="_Cotizador_INSTANCE_l0psINRsg4hg_tipoDestino" value="Sucursal"> </div> </div> </div> <div class="mb-8"></div> <div class="row"> <div class="col-md-5 order-md-2"> <p class="f-common-bold mb-1">Desde y hacia d贸nde env铆as</p> <p class="f-common-bold small-text c-grey-2 mb-2">Selecciona el origen y destino de tu env铆o</p> <div class="row"> <div class="col-md-6"> <div class="form-group mb-4 focused nofocus"><label class="form-label fs-1" for="_Cotizador_INSTANCE_l0psINRsg4hg_mobOrigen">Comuna de Origen</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobOrigen" onkeypress="return validarLetras(event);" maxlength="10" name="_Cotizador_INSTANCE_l0psINRsg4hg_origen" required="" type="text" /></div> </div> <div class="col-md-6"> <div class="form-group mb-4 focused nofocus"><label class="form-label fs-1" for="_Cotizador_INSTANCE_l0psINRsg4hg_mobDestino">Comuna de Destino</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobDestino" onkeypress="return validarLetras(event);" maxlength="10" name="_Cotizador_INSTANCE_l0psINRsg4hg_destino" required="" type="text" /></div> </div> </div> </div> <div class="col-md-1 order-md-1"></div> <div class="col-md-6 order-md-0"> <div class="row" id="mobPaqueteOption"> <div class="col-md-8"> <div class="form-group"> <label class="f-common-bold small-text"> <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M12.9971 13.4904H0.50235C0.291661 13.4904 0.120667 13.3194 0.120667 13.1087V11.9804H1.1161C1.36953 11.9804 1.57412 11.7759 1.57412 11.5224C1.57412 11.269 1.36953 11.0644 1.1161 11.0644H0.120667V9.60941H1.1161C1.36953 9.60941 1.57412 9.40484 1.57412 9.15139C1.57412 8.89795 1.36953 8.69337 1.1161 8.69337H0.120667V7.23839H1.1161C1.36953 7.23839 1.57412 7.03381 1.57412 6.78037C1.57412 6.52693 1.36953 6.32235 1.1161 6.32235H0.120667V4.86892H1.1161C1.36953 4.86892 1.57412 4.66433 1.57412 4.4109C1.57412 4.15746 1.36953 3.95288 1.1161 3.95288H0.119141V0.613914C0.119141 0.273438 0.531358 0.103986 0.771055 0.343667L13.2674 12.8385C13.507 13.0797 13.3376 13.4904 12.9971 13.4904ZM7.28409 10.7423L2.86879 6.32693V10.7423H7.28409Z" fill="#454545"/> </svg> 驴C煤anto mide? </label> <p class="f-common-bold small-text c-grey-2 mb-2"></p> <div class="row"> <div class="col-4 focused noFocus"> <label class="form-label" for="_Cotizador_INSTANCE_l0psINRsg4hg_mobAncho">Ancho</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobAncho" maxlength="3" name="_Cotizador_INSTANCE_l0psINRsg4hg_ancho" onkeypress="return validarNumero(event);" required="" type="text" value="" /> <span class="fixed-label c-grey-2">cm</span> </div> <div class="col-4 focused noFocus"> <label class="form-label" for="_Cotizador_INSTANCE_l0psINRsg4hg_mobLargo">Largo</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobLargo" maxlength="3" name="_Cotizador_INSTANCE_l0psINRsg4hg_largo" onkeypress="return validarNumero(event);" required="" type="text" value="" /> <span class="fixed-label c-grey-2">cm</span> </div> <div class="col-4 focused noFocus"> <label class="form-label" for="_Cotizador_INSTANCE_l0psINRsg4hg_mobAlto">Alto</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobAlto" maxlength="3" name="_Cotizador_INSTANCE_l0psINRsg4hg_alto" onkeypress="return validarNumero(event);" required="" type="text" value="" /> <span class="fixed-label c-grey-2">cm</span> </div> </div> </div> </div> <div class="col-md-4"> <div class="form-group"> <label class="f-common-bold small-text"> <svg width="19" height="20" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0.360962V0.889251C0 3.63475 2.23358 5.86833 4.97904 5.86833H13.1404C15.8858 5.86833 18.1194 3.63471 18.1194 0.889251V0.360962H0Z" fill="#454545"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M5.91687 13.9316C5.91687 12.1986 7.32677 10.7887 9.05974 10.7887C10.7927 10.7887 12.2026 12.1986 12.2026 13.9316C12.2026 15.6646 10.7927 17.0745 9.05974 17.0745C7.32677 17.0745 5.91687 15.6646 5.91687 13.9316ZM8.49538 14.4959H11.262V13.3671H9.62413V11.7292H8.49538V14.4959Z" fill="#454545"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M11.4902 6.99713V8.50214H18.1194V19.361H0V8.50214H6.62914V6.99713H11.4902ZM4.78807 13.9315C4.78807 16.2869 6.70433 18.2032 9.0597 18.2032C11.415 18.2032 13.3313 16.287 13.3313 13.9316C13.3313 11.5762 11.415 9.65991 9.0597 9.65991C6.70436 9.65991 4.78807 11.5761 4.78807 13.9315Z" fill="#454545"/> </svg> C煤anto pesa (KG) </label> <p class="f-common-bold small-text c-grey-2 mb-2"></p> <input class="form-field" id="mobInputPesoNac" maxlength="4" name="inputPesoNac" onkeypress="return validarNumero(event);" onchange="cambiarPesoMob(this.value);" required="" type="text" value="" /> </div> <div class="bg-red-3 p-1 rounded-common mb-4 d-none" id="mobErrorPeso"> <p class="small-text mb-0 c-white text-center">El peso no puede ser mayor a 50 kilos</p> </div> </div> </div> <div class="row" id="mobDocOption" style="display: none;"> <div class="col-md-4"> <div class="form-group"> <label class="f-common-bold small-text"> <svg width="19" height="20" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0.360962V0.889251C0 3.63475 2.23358 5.86833 4.97904 5.86833H13.1404C15.8858 5.86833 18.1194 3.63471 18.1194 0.889251V0.360962H0Z" fill="#454545"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M5.91687 13.9316C5.91687 12.1986 7.32677 10.7887 9.05974 10.7887C10.7927 10.7887 12.2026 12.1986 12.2026 13.9316C12.2026 15.6646 10.7927 17.0745 9.05974 17.0745C7.32677 17.0745 5.91687 15.6646 5.91687 13.9316ZM8.49538 14.4959H11.262V13.3671H9.62413V11.7292H8.49538V14.4959Z" fill="#454545"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M11.4902 6.99713V8.50214H18.1194V19.361H0V8.50214H6.62914V6.99713H11.4902ZM4.78807 13.9315C4.78807 16.2869 6.70433 18.2032 9.0597 18.2032C11.415 18.2032 13.3313 16.287 13.3313 13.9316C13.3313 11.5762 11.415 9.65991 9.0597 9.65991C6.70436 9.65991 4.78807 11.5761 4.78807 13.9315Z" fill="#454545"/> </svg> C煤anto pesa (G) </label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobPeso" maxlength="4" name="_Cotizador_INSTANCE_l0psINRsg4hg_peso" onkeypress="return validarNumero(event);" onchange="ingresarPesoMob(this.value);" required="" type="text" value="" /> </div> <div class="bg-red-3 p-1 rounded-common mb-4 d-none" id="mobErrorPesoDoc"> <p class="small-text mb-0 c-white text-center">El peso no puede ser mayor a 500 Gramos</p> </div> </div> </div> </div> </div> <div class="d-block text-center pt-3 mb-6"> <!-- <div id="g-recaptcha3"></div> --> <span class="loader" style="display:none"> <img alt="loader" src="/o/cl.cch.cotizafor.hib/images/loader.gif"> <br/> Un momento, por favor... </span> <button class="btn btn-corp btn-normal d-inline-block btnCotizar" onclick="enviarFormularioMob();">Cotizar tu envio</button> </div> </form> </div> <div class="tab-pane fade" id="profileMob" role="tabpanel" aria-labelledby="profile-tab"> <div class="alert alert-corp-dismissible bg-red-1 text-center" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaOrigenDestinoInter" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Debes seleccionar una localidad correcta en origen y destino.</strong> </p> <button class="close" aria-label="Close"> <span class="c-white" onclick="ocultarAlertaOrigenDestinoInterMob();">X</span> </button> </div> <div class="alert alert-corp-dismissible bg-red-1 text-center" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaSinCoberturaInter" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Sin cobertura de env&iacute;o</strong> </p> <button class="close" aria-label="Close"> <span class="c-white" onclick="ocultarAlertaSinCoberturaInterMob();">X</span> </button> </div> <div class="alert alert-corp-dismissible bg-red-1 text-center" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaFormularioInter" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Tienes un error en el formulario.</strong> </p> <button class="close" aria-label="Close"> <span class="c-white" onclick="ocultarAlertaFormularioInterMob();">X</span> </button> </div> <div class="alert alert-corp-dismissible bg-red-1 text-center mt-6" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaCaptchaInter" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Eres un robot!!</strong> </p> <!-- <button type="button" class="close" aria-label="Close"> <i class="la la-times c-white fs-7" onclick="ocultarAlertaCaptchaInterMob();">&nbsp;</i> </button> --> </div> <div class="alert alert-corp-dismissible bg-red-1 text-center" role="alert" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaServicioInter" style="display: none;"> <p class="mb-0 d-inline-block small-text f-common-regular c-white"> <strong>Ocurri&oacute; un problema con nuestros servicios, intenta nuevamente.</strong> </p> <button class="close" aria-label="Close"> <span class="c-white" onclick="ocultarAlertaServicioInterMob();">X</span> </button> </div> <form id="_Cotizador_INSTANCE_l0psINRsg4hg_formTarificadorInterMob" method="post"> <div class="row"> <div class="col-lg-5"> <p class="f-common-bold mb-1">驴Qu茅 quieres enviar?</p> <p class="f-common-bold small-text c-grey-2 mb-2">Selecciona el tipo de env铆o que quieres realizar</p> <div class="d-flex flex-column flex-md-row"> <div class="sep-right-md-4"> <input class="radiobox-input" id="mobPaqueteInter" name="mobEnvioInter" type="radio" value="Paquete" checked /> <label class="radiobox radiobox-flat radiobox-new" for="mobPaqueteInter"> <span class="d-flex"> <span class="radiobox-img mr-1" style="background-image: url('/o/cl.cch.cotizafor.hib/images/paquete-icon.png');"></span> <span class="f-common-bold small-text">Paqueteria</span> </span> <span class="radio-corp"></span> </label> </div> <div> <input class="radiobox-input" id="mobDocumentoInter" name="mobEnvioInter" value="Documento" type="radio" /> <label class="radiobox radiobox-flat radiobox-new" for="mobDocumentoInter"> <span class="d-flex"> <span class="radiobox-img mr-1" style="background-image: url('/o/cl.cch.cotizafor.hib/images/doc-icon.png');"></span> <span class="f-common-bold small-text">Documentos</span> </span> <span class="radio-corp"></span> </label> </div> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobTipoEnvioInter" name="_Cotizador_INSTANCE_l0psINRsg4hg_tipoEnvioInter" type="hidden" value="Paquete" readonly="readonly"> </div> </div> </div> <div class="mb-8"></div> <div class="row"> <div class="col-md-5 order-md-2"> <p class="f-common-bold mb-1">Desde y hacia d贸nde env铆as</p> <p class="f-common-bold small-text c-grey-2 mb-2">Selecciona el origen y destino de tu env铆o</p> <div class="row"> <div class="col-md-6"> <div class="form-group mb-4 focused nofocus" ><label class="form-label fs-1" for="_Cotizador_INSTANCE_l0psINRsg4hg_mobOrigenInter">Comuna de Origen</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobOrigenInter" onkeypress="return validarLetras(event);" maxlength="10" name="_Cotizador_INSTANCE_l0psINRsg4hg_origenInter" required="" type="text" /></div> </div> <div class="col-md-6"> <div class="form-group mb-4 focused nofocus"><label class="form-label fs-1" for="_Cotizador_INSTANCE_l0psINRsg4hg_mobDestinoInter">Pa铆s de Destino</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobDestinoInter" onkeypress="return validarLetras(event);" maxlength="10" name="_Cotizador_INSTANCE_l0psINRsg4hg_destinoInter" required="" type="text" /></div> </div> </div> </div> <div class="col-md-1 order-md-1"></div> <div class="col-md-6 order-md-0"> <div class="row" id="mobPaqueteOptionInter"> <div class="col-md-8"> <div class="form-group"> <label class="f-common-bold small-text"> <svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M12.9971 13.4904H0.50235C0.291661 13.4904 0.120667 13.3194 0.120667 13.1087V11.9804H1.1161C1.36953 11.9804 1.57412 11.7759 1.57412 11.5224C1.57412 11.269 1.36953 11.0644 1.1161 11.0644H0.120667V9.60941H1.1161C1.36953 9.60941 1.57412 9.40484 1.57412 9.15139C1.57412 8.89795 1.36953 8.69337 1.1161 8.69337H0.120667V7.23839H1.1161C1.36953 7.23839 1.57412 7.03381 1.57412 6.78037C1.57412 6.52693 1.36953 6.32235 1.1161 6.32235H0.120667V4.86892H1.1161C1.36953 4.86892 1.57412 4.66433 1.57412 4.4109C1.57412 4.15746 1.36953 3.95288 1.1161 3.95288H0.119141V0.613914C0.119141 0.273438 0.531358 0.103986 0.771055 0.343667L13.2674 12.8385C13.507 13.0797 13.3376 13.4904 12.9971 13.4904ZM7.28409 10.7423L2.86879 6.32693V10.7423H7.28409Z" fill="#454545"/> </svg> 驴C煤anto mide? </label> <div class="row"> <div class="col-4 focused noFocus"> <label class="form-label" for="_Cotizador_INSTANCE_l0psINRsg4hg_mobAnchoInter">Ancho</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobAnchoInter" maxlength="3" name="_Cotizador_INSTANCE_l0psINRsg4hg_anchoInter" onkeypress="return validarNumero(event);" required="" type="text" value="" /> <span class="fixed-label c-grey-2">cm</span> </div> <div class="col-4 focused noFocus"> <label class="form-label" for="_Cotizador_INSTANCE_l0psINRsg4hg_mobLargoInter">Largo</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobLargoInter" maxlength="3" name="_Cotizador_INSTANCE_l0psINRsg4hg_largoInter" onkeypress="return validarNumero(event);" required="" type="text" value="" /> <span class="fixed-label c-grey-2">cm</span> </div> <div class="col-4 focused noFocus"> <label class="form-label" for="_Cotizador_INSTANCE_l0psINRsg4hg_mobAltoInter">Alto</label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobAltoInter" maxlength="3" name="_Cotizador_INSTANCE_l0psINRsg4hg_altoInter" onkeypress="return validarNumero(event);" required="" type="text" value="" /> <span class="fixed-label c-grey-2">cm</span> </div> </div> </div> </div> <div class="col-md-4"> <div class="form-group"> <label class="f-common-bold small-text"> <svg width="19" height="20" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0.360962V0.889251C0 3.63475 2.23358 5.86833 4.97904 5.86833H13.1404C15.8858 5.86833 18.1194 3.63471 18.1194 0.889251V0.360962H0Z" fill="#454545"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M5.91687 13.9316C5.91687 12.1986 7.32677 10.7887 9.05974 10.7887C10.7927 10.7887 12.2026 12.1986 12.2026 13.9316C12.2026 15.6646 10.7927 17.0745 9.05974 17.0745C7.32677 17.0745 5.91687 15.6646 5.91687 13.9316ZM8.49538 14.4959H11.262V13.3671H9.62413V11.7292H8.49538V14.4959Z" fill="#454545"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M11.4902 6.99713V8.50214H18.1194V19.361H0V8.50214H6.62914V6.99713H11.4902ZM4.78807 13.9315C4.78807 16.2869 6.70433 18.2032 9.0597 18.2032C11.415 18.2032 13.3313 16.287 13.3313 13.9316C13.3313 11.5762 11.415 9.65991 9.0597 9.65991C6.70436 9.65991 4.78807 11.5761 4.78807 13.9315Z" fill="#454545"/> </svg> C煤anto pesa (KG) </label> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobInputPesoInter" maxlength="4" name="_Cotizador_INSTANCE_l0psINRsg4hg_inputPesoInter" onkeypress="return validarNumero(event);" onchange="cambiarPesoInterMob(this.value);" required="" type="text" value="" /> </div> </div> </div> <div class="row" id="mobDocOptionInter" style="display: none;"> <div class="col-md-4"> <div class="form-group"> <label class="f-common-bold small-text"> <svg width="19" height="20" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M0 0.360962V0.889251C0 3.63475 2.23358 5.86833 4.97904 5.86833H13.1404C15.8858 5.86833 18.1194 3.63471 18.1194 0.889251V0.360962H0Z" fill="#454545"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M5.91687 13.9316C5.91687 12.1986 7.32677 10.7887 9.05974 10.7887C10.7927 10.7887 12.2026 12.1986 12.2026 13.9316C12.2026 15.6646 10.7927 17.0745 9.05974 17.0745C7.32677 17.0745 5.91687 15.6646 5.91687 13.9316ZM8.49538 14.4959H11.262V13.3671H9.62413V11.7292H8.49538V14.4959Z" fill="#454545"/> <path fill-rule="evenodd" clip-rule="evenodd" d="M11.4902 6.99713V8.50214H18.1194V19.361H0V8.50214H6.62914V6.99713H11.4902ZM4.78807 13.9315C4.78807 16.2869 6.70433 18.2032 9.0597 18.2032C11.415 18.2032 13.3313 16.287 13.3313 13.9316C13.3313 11.5762 11.415 9.65991 9.0597 9.65991C6.70436 9.65991 4.78807 11.5761 4.78807 13.9315Z" fill="#454545"/> </svg> C煤anto pesa (G) </label> <select class="form-select" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobSelectPesoDocumentoInter" onchange="cambiarPesoInterMob(this.value);"> <option value="">Selecciona una opcion</option> <option value="0">0 - 50g</option> <option value="1">51g - 100g</option> <option value="2">101g - 250g</option> <option value="3">251g - 500g</option> <option value="4">501g - 1kg</option> <option value="5">1kg - 1.5kg</option> </select> </div> <input class="form-field" id="_Cotizador_INSTANCE_l0psINRsg4hg_mobPesoInter" name="_Cotizador_INSTANCE_l0psINRsg4hg_pesoInter" type="hidden" value="" required="" readonly="readonly"> </div> </div> </div> </div> <div class="d-block text-center pt-3 mb-6"> <!-- <div id="g-recaptcha4"></div> --> <span class="loader" style="display:none"> <img alt="loader" src="/o/cl.cch.cotizafor.hib/images/loader.gif"> <br/> Un momento, por favor... </span> <button class="btn btn-corp btn-normal d-inline-block btnCotizar" onclick="enviarFormularioInterMob();">Cotizar tu envio</button> </div> </form> </div> </div> </div> </div> </div> </section> <form id="_Cotizador_INSTANCE_l0psINRsg4hg_formComuna" method="post"> <input type="hidden" id="_Cotizador_INSTANCE_l0psINRsg4hg_inputComuna" name="_Cotizador_INSTANCE_l0psINRsg4hg_inputComuna"> </form> <!-- <script src="https://www.google.com/recaptcha/api.js?onload=CaptchaCallback&render=explicit" async defer></script> --> <script src="https://www.google.com/recaptcha/api.js?render=6LfKl6AaAAAAAEUCDtcwzGurL9PS34sW44yPhTDr"></script> <script type="text/javascript"> /* var keyCaptcha = ''; var recaptcha1; var recaptcha2; var recaptcha3; var recaptcha4; var CaptchaCallback = function() { console.log("keyCaptcha :: "+keyCaptcha); recaptcha1 = grecaptcha.render('g-recaptcha1', {'sitekey' : keyCaptcha}); recaptcha2 = grecaptcha.render('g-recaptcha2', {'sitekey' : keyCaptcha}); recaptcha3 = grecaptcha.render('g-recaptcha3', {'sitekey' : keyCaptcha}); recaptcha4 = grecaptcha.render('g-recaptcha4', {'sitekey' : keyCaptcha}); }; */ var formComuna = $("#_Cotizador_INSTANCE_l0psINRsg4hg_formComuna"); var inputComuna = $("#_Cotizador_INSTANCE_l0psINRsg4hg_inputComuna"); var validComuna = 'https://www.correos.cl/cotizador?p_p_id=Cotizador_INSTANCE_l0psINRsg4hg&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=validComuna&p_p_cacheability=cacheLevelPage'; var comunaValida = false; function validarSucursal(comun){ if(comun != ""){ inputComuna.val(comun); formComuna.submit(); }else{ origen.addClass("is-invalid"); origen.removeClass("is-valid"); } } formComuna.submit(function(event) { event.preventDefault(); $.ajax({ type : 'post', url : validComuna, data : formComuna.serialize() + token +"&p_auth=" + Liferay.authToken, datatype : 'json', cache : false, error : function(xhr, status, error) { console.log("hay un error"); }, success : function(data) { var jsonData = data[0]; if (jsonData.error == "errorSinCobertura") { alertaOrigenDestino.hide(); alertaServicio.hide(); alertaFormulario.hide(); alertaSinCobertura.show(); origen.addClass("is-invalid"); origen.removeClass("is-valid"); }else{ if(jsonData.error == "errorFormulario"){ alertaOrigenDestino.hide(); alertaServicio.hide(); alertaFormulario.show(); alertaSinCobertura.hide(); origen.addClass("is-invalid"); origen.removeClass("is-valid"); }else{ comunaValida = true; console.log("Valido"); } } } }); }); function ValidaSoloNumeros() { var e = e || window.event; if ((e.keyCode < 48) || (e.keyCode > 57)) { e.returnValue = false; e.preventDefault(); } } /* VARIABLES GLOBALES */ var obtenerTarifa = 'https://www.correos.cl/cotizador?p_p_id=Cotizador_INSTANCE_l0psINRsg4hg&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=obtenerTarifa&p_p_cacheability=cacheLevelPage'; var obtenerTarifaInternacional = 'https://www.correos.cl/cotizador?p_p_id=Cotizador_INSTANCE_l0psINRsg4hg&p_p_lifecycle=2&p_p_state=normal&p_p_mode=view&p_p_resource_id=obtenerTarifaInternacional&p_p_cacheability=cacheLevelPage'; var resultLocalidades = '[{"listaLocalidades":[{"nombre":"ACHAO"},{"nombre":"ALERCE"},{"nombre":"ALGARROBO"},{"nombre":"ALHUE"},{"nombre":"ALTO BIOBIO"},{"nombre":"ALTO DEL CARMEN"},{"nombre":"ALTO HOSPICIO"},{"nombre":"ANCUD"},{"nombre":"ANDACOLLO"},{"nombre":"ANGOL"},{"nombre":"ANTOFAGASTA"},{"nombre":"ANTUCO"},{"nombre":"ARAUCO"},{"nombre":"ARICA"},{"nombre":"AYACARA"},{"nombre":"AYSEN"},{"nombre":"BAQUEDANO"},{"nombre":"BARRANCAS"},{"nombre":"BARROS ARANA"},{"nombre":"BASE PRESIDENTE EDUARDO FREI"},{"nombre":"BATUCO"},{"nombre":"BUIN"},{"nombre":"BULNES"},{"nombre":"BUTACHEUQUES"},{"nombre":"CABILDO"},{"nombre":"CABO DE HORNOS"},{"nombre":"CABRERO"},{"nombre":"CACHAPOAL"},{"nombre":"CALAMA"},{"nombre":"CALBUCO"},{"nombre":"CALDERA"},{"nombre":"CALERA DE TANGO"},{"nombre":"CALETA TORTEL"},{"nombre":"CALEU"},{"nombre":"CALLE LARGA"},{"nombre":"CAMARICO"},{"nombre":"CAMPANARIO"},{"nombre":"CANELA"},{"nombre":"CA脩ETE"},{"nombre":"CANITAS"},{"nombre":"CAPITAN PASTEN"},{"nombre":"CARAHUE"},{"nombre":"CARAMPANGUE"},{"nombre":"CARTAGENA"},{"nombre":"CASABLANCA"},{"nombre":"CASAS DE CHACABUCO"},{"nombre":"CASMA"},{"nombre":"CASTRO"},{"nombre":"CATAPILCO"},{"nombre":"CATEMU"},{"nombre":"CAUQUENES"},{"nombre":"CERRILLOS"},{"nombre":"CERRO NAVIA"},{"nombre":"CERRO SOMBRERO"},{"nombre":"CHACAO"},{"nombre":"CHAITEN"},{"nombre":"CHA脩ARAL"},{"nombre":"CHA脩ARAL ALTO"},{"nombre":"CHANCO"},{"nombre":"CHAULINEC"},{"nombre":"CHEPICA"},{"nombre":"CHIGUAYANTE"},{"nombre":"CHILE CHICO"},{"nombre":"CHILLAN"},{"nombre":"CHILLAN VIEJO"},{"nombre":"CHIMBARONGO"},{"nombre":"CHINCOLCO"},{"nombre":"CHOLCHOL"},{"nombre":"CHONCHI"},{"nombre":"COBQUECURA"},{"nombre":"COCHAMO"},{"nombre":"COCHRANE"},{"nombre":"CODEGUA"},{"nombre":"COELEMU"},{"nombre":"COIHUECO"},{"nombre":"COINCO"},{"nombre":"COLBUN"},{"nombre":"COLINA"},{"nombre":"COLLIPULLI"},{"nombre":"COLTAUCO"},{"nombre":"COMBARBALA"},{"nombre":"CONARIPE"},{"nombre":"CONCEPCION"},{"nombre":"CONCHALI"},{"nombre":"CONCON"},{"nombre":"CONFLUENCIA"},{"nombre":"CONSTITUCION"},{"nombre":"CONTULMO"},{"nombre":"COPIAPO"},{"nombre":"COQUIMBO"},{"nombre":"CORONEL"},{"nombre":"CORRAL"},{"nombre":"COYHAIQUE"},{"nombre":"CUNCO"},{"nombre":"CURACAUTIN"},{"nombre":"CURACAVI"},{"nombre":"CURACO DE VELEZ"},{"nombre":"CURANILAHUE"},{"nombre":"CURANIPE"},{"nombre":"CURARREHUE"},{"nombre":"CUREPTO"},{"nombre":"CURICO"},{"nombre":"DALCAHUE"},{"nombre":"DICHATO"},{"nombre":"DIEGO DE ALMAGRO"},{"nombre":"DO脩IHUE"},{"nombre":"EL BOSQUE"},{"nombre":"EL CARMEN"},{"nombre":"EL MELON"},{"nombre":"EL MONTE"},{"nombre":"EL MURTA"},{"nombre":"EL PALQUI"},{"nombre":"EL QUISCO"},{"nombre":"EL SALADO"},{"nombre":"EL SALVADOR"},{"nombre":"EL TABO"},{"nombre":"EMPEDRADO"},{"nombre":"ENTRE LAGOS"},{"nombre":"ERCILLA"},{"nombre":"ESTACION CENTRAL"},{"nombre":"ESTACION DE VILLA ALEGRE"},{"nombre":"ESTACION DOMEIKO"},{"nombre":"FLORIDA"},{"nombre":"FREIRE"},{"nombre":"FREIRINA"},{"nombre":"FRESIA"},{"nombre":"FRUTILLAR ALTO"},{"nombre":"FRUTILLAR BAJO"},{"nombre":"FUTALEUFU"},{"nombre":"FUTRONO"},{"nombre":"GALVARINO"},{"nombre":"GENERAL CRUZ"},{"nombre":"GORBEA"},{"nombre":"GRANEROS"},{"nombre":"GUANAQUEROS"},{"nombre":"GULTRO"},{"nombre":"HIJUELAS"},{"nombre":"HOSPITAL"},{"nombre":"HUALAIHUE"},{"nombre":"HUALA脩E"},{"nombre":"HUALPEN"},{"nombre":"HUALPIN"},{"nombre":"HUALQUI"},{"nombre":"HUARA"},{"nombre":"HUASCO"},{"nombre":"HUECHURABA"},{"nombre":"HUEPIL"},{"nombre":"ILLAPEL"},{"nombre":"INDEPENDENCIA"},{"nombre":"IQUIQUE"},{"nombre":"ISLA DE MAIPO"},{"nombre":"ISLA DE PASCUA"},{"nombre":"ISLA NEGRA"},{"nombre":"ISLA ROBINSON CRUSOE"},{"nombre":"ISLA SANTA MARIA"},{"nombre":"LA CALERA"},{"nombre":"LA CISTERNA"},{"nombre":"LA CRUZ"},{"nombre":"LA DEHESA"},{"nombre":"LA ESTRELLA"},{"nombre":"LA FLORIDA"},{"nombre":"LA GRANJA"},{"nombre":"LA HIGUERA"},{"nombre":"LA JUNTA"},{"nombre":"LA LIGUA"},{"nombre":"LA PINTANA"},{"nombre":"LA REINA"},{"nombre":"LA SERENA"},{"nombre":"LA UNION"},{"nombre":"LAGO RANCO"},{"nombre":"LAGO VERDE"},{"nombre":"LAGUNA BLANCA"},{"nombre":"LAJA"},{"nombre":"LAMPA"},{"nombre":"LANCO"},{"nombre":"LARAQUETE"},{"nombre":"LAS CABRAS"},{"nombre":"LAS CONDES"},{"nombre":"LAUTARO"},{"nombre":"LEBU"},{"nombre":"LICANRAY"},{"nombre":"LICANTEN"},{"nombre":"LINARES"},{"nombre":"LITUECHE"},{"nombre":"LLANQUIHUE"},{"nombre":"LLAY-LLAY"},{"nombre":"LLIFEN"},{"nombre":"LO BARNECHEA"},{"nombre":"LO MIRANDA"},{"nombre":"LOLOL"},{"nombre":"LONCOCHE"},{"nombre":"LONGAVI"},{"nombre":"LONQUIMAY"},{"nombre":"LONTUE"},{"nombre":"LOS ALAMOS"},{"nombre":"LOS ANDES"},{"nombre":"LOS ANGELES"},{"nombre":"LOS LAGOS"},{"nombre":"LOS LAURELES"},{"nombre":"LOS MUERMOS"},{"nombre":"LOS SAUCES"},{"nombre":"LOS VILOS"},{"nombre":"LOTA"},{"nombre":"LUMACO"},{"nombre":"MACHALI"},{"nombre":"MACUL"},{"nombre":"MAFIL"},{"nombre":"MAIPU"},{"nombre":"MALALHUE"},{"nombre":"MALLARAUCO"},{"nombre":"MALLOCO"},{"nombre":"MARCHIHUE"},{"nombre":"MARIA ELENA"},{"nombre":"MARIA PINTO"},{"nombre":"MARIQUINA"},{"nombre":"MAULE"},{"nombre":"MAULLIN"},{"nombre":"MECHUQUE"},{"nombre":"MEJILLONES"},{"nombre":"MELIMOYU"},{"nombre":"MELINKA"},{"nombre":"MELIPEUCO"},{"nombre":"MELIPILLA"},{"nombre":"MOLINA"},{"nombre":"MONTE AGUILA"},{"nombre":"MONTE PATRIA"},{"nombre":"MONTENEGRO"},{"nombre":"MOSTAZAL"},{"nombre":"MULCHEN"},{"nombre":"NACIMIENTO"},{"nombre":"NANCAGUA"},{"nombre":"NATALES"},{"nombre":"NAVIDAD"},{"nombre":"NEGRETE"},{"nombre":"NINHUE"},{"nombre":"NIPAS"},{"nombre":"脩IQUEN"},{"nombre":"NOGALES"},{"nombre":"NUEVA ALDEA"},{"nombre":"NUEVA IMPERIAL"},{"nombre":"脩U脩OA"},{"nombre":"OLIVAR"},{"nombre":"OLMUE"},{"nombre":"OSORNO"},{"nombre":"OVALLE"},{"nombre":"PADRE HURTADO"},{"nombre":"PADRE LAS CASAS"},{"nombre":"PAIHUANO"},{"nombre":"PAILLACO"},{"nombre":"PAINE"},{"nombre":"PALENA"},{"nombre":"PALMILLA"},{"nombre":"PANGUIPULLI"},{"nombre":"PANQUEHUE"},{"nombre":"PAPUDO"},{"nombre":"PAREDONES"},{"nombre":"PARRAL"},{"nombre":"PEDRO AGUIRRE CERDA"},{"nombre":"PELARCO"},{"nombre":"PELEQUEN"},{"nombre":"PELLUHUE"},{"nombre":"PEMUCO"},{"nombre":"PE脩AFLOR"},{"nombre":"PE脩ALOLEN"},{"nombre":"PENCAHUE"},{"nombre":"PENCO"},{"nombre":"PERALILLO"},{"nombre":"PERQUENCO"},{"nombre":"PETORCA"},{"nombre":"PEUMO"},{"nombre":"PICA"},{"nombre":"PICHIDEGUA"},{"nombre":"PICHILEMU"},{"nombre":"PINTO"},{"nombre":"PIRQUE"},{"nombre":"PISCO ELQUI"},{"nombre":"PITRUFQUEN"},{"nombre":"PLACILLA"},{"nombre":"PLACILLA DE PENUELAS"},{"nombre":"POCONCHILE"},{"nombre":"POLCURA"},{"nombre":"POLPAICO"},{"nombre":"PORTEZUELO"},{"nombre":"PORVENIR"},{"nombre":"POZO ALMONTE"},{"nombre":"PROVIDENCIA"},{"nombre":"PUCHUNCAVI"},{"nombre":"PUCON"},{"nombre":"PUDAHUEL"},{"nombre":"PUEBLO SECO"},{"nombre":"PUENTE ALTO"},{"nombre":"PUENTE NEGRO"},{"nombre":"PUERTO AGUIRRE"},{"nombre":"PUERTO CHACABUCO"},{"nombre":"PUERTO CISNES"},{"nombre":"PUERTO INGENIERO IBA脩EZ"},{"nombre":"PUERTO MONTT"},{"nombre":"PUERTO OCTAY"},{"nombre":"PUERTO RAUL MARIN BALMACEDA"},{"nombre":"PUERTO RIO TRANQUILO"},{"nombre":"PUERTO VARAS"},{"nombre":"PUERTO WILLIAMS"},{"nombre":"PUMANQUE"},{"nombre":"PUNITAQUI"},{"nombre":"PUNTA ARENAS"},{"nombre":"PUQUELDON"},{"nombre":"PUREN"},{"nombre":"PURRANQUE"},{"nombre":"PUTAENDO"},{"nombre":"PUTRE"},{"nombre":"PUTU"},{"nombre":"QUEILEN"},{"nombre":"QUELLON"},{"nombre":"QUEMCHI"},{"nombre":"QUEPE"},{"nombre":"QUILACO"},{"nombre":"QUILICURA"},{"nombre":"QUILIMARI"},{"nombre":"QUILLECO"},{"nombre":"QUILLON"},{"nombre":"QUILLOTA"},{"nombre":"QUILPUE"},{"nombre":"QUINCHAMALI"},{"nombre":"QUINTA DE TILCOCO"},{"nombre":"QUINTA NORMAL"},{"nombre":"QUINTERO"},{"nombre":"QUIRIHUE"},{"nombre":"RAFAEL"},{"nombre":"RANCAGUA"},{"nombre":"RAUCO"},{"nombre":"RECINTO"},{"nombre":"RECOLETA"},{"nombre":"RENACA"},{"nombre":"RENAICO"},{"nombre":"RENCA"},{"nombre":"RENGO"},{"nombre":"REQUINOA"},{"nombre":"RETIRO"},{"nombre":"RINCONADA"},{"nombre":"RIO BUENO"},{"nombre":"RIO CLARO (VII)"},{"nombre":"RIO CLARO (VIII)"},{"nombre":"RIO IBA脩EZ"},{"nombre":"RIO NEGRO"},{"nombre":"RIO PUELO"},{"nombre":"ROMERAL"},{"nombre":"ROSARIO"},{"nombre":"RUNGUE"},{"nombre":"SAAVEDRA"},{"nombre":"SAGRADA FAMILIA"},{"nombre":"SALAMANCA"},{"nombre":"SAN ANTONIO"},{"nombre":"SAN BERNARDO"},{"nombre":"SAN CARLOS"},{"nombre":"SAN CLEMENTE"},{"nombre":"SAN ESTEBAN"},{"nombre":"SAN FABIAN"},{"nombre":"SAN FELIPE"},{"nombre":"SAN FELIX"},{"nombre":"SAN FERNANDO"},{"nombre":"SAN FRANCISCO DE LIMACHE"},{"nombre":"SAN GREGORIO (XVI)"},{"nombre":"SAN IGNACIO"},{"nombre":"SAN JAVIER"},{"nombre":"SAN JOAQUIN"},{"nombre":"SAN JOSE DE MAIPO"},{"nombre":"SAN MIGUEL"},{"nombre":"SAN MIGUEL DE AZAPA"},{"nombre":"SAN NICOLAS"},{"nombre":"SAN PABLO"},{"nombre":"SAN PEDRO"},{"nombre":"SAN PEDRO DE ATACAMA"},{"nombre":"SAN PEDRO DE LA PAZ"},{"nombre":"SAN PEDRO DE QUILLOTA"},{"nombre":"SAN RAFAEL"},{"nombre":"SAN RAMON"},{"nombre":"SAN ROSENDO"},{"nombre":"SAN VICENTE"},{"nombre":"SANTA BARBARA"},{"nombre":"SANTA CLARA"},{"nombre":"SANTA CRUZ"},{"nombre":"SANTA FE DE LAJA"},{"nombre":"SANTA JUANA"},{"nombre":"SANTA MARIA"},{"nombre":"SANTIAGO"},{"nombre":"SANTO DOMINGO"},{"nombre":"SOTAQUI"},{"nombre":"TALAGANTE"},{"nombre":"TALCA"},{"nombre":"TALCAHUANO"},{"nombre":"TALTAL"},{"nombre":"TEMUCO"},{"nombre":"TENO"},{"nombre":"TEODORO SCHMIDT"},{"nombre":"TIERRA AMARILLA"},{"nombre":"TIL TIL"},{"nombre":"TIRUA"},{"nombre":"TOCOPILLA"},{"nombre":"TOLTEN"},{"nombre":"TOME"},{"nombre":"TONGOY"},{"nombre":"TORRES DEL PAINE"},{"nombre":"TRAIGUEN"},{"nombre":"TREGUACO"},{"nombre":"TROVOLHUE"},{"nombre":"TUCAPEL"},{"nombre":"VALDIVIA"},{"nombre":"VALLENAR"},{"nombre":"VALPARAISO"},{"nombre":"VICHUQUEN"},{"nombre":"VICTORIA"},{"nombre":"VICU脩A"},{"nombre":"VILCUN"},{"nombre":"VILLA ALEGRE"},{"nombre":"VILLA ALEMANA"},{"nombre":"VILLA AMENGUAL"},{"nombre":"VILLA LA TAPERA"},{"nombre":"VILLA MANIHUALES"},{"nombre":"VILLA OHIGGINS"},{"nombre":"VILLARRICA"},{"nombre":"VI脩A DEL MAR"},{"nombre":"VITACURA"},{"nombre":"YERBAS BUENAS"},{"nombre":"YUMBEL"},{"nombre":"YUMBEL ESTACION"},{"nombre":"YUNGAY"},{"nombre":"ZAPALLAR"}]}]'; var resultPaises = '[{"listaPaises":[{"nombre":""},{"nombre":""},{"nombre":""},{"nombre":""},{"nombre":""},{"nombre":""},{"nombre":""},{"nombre":"ALBANIA"},{"nombre":"ALEMANIA"},{"nombre":"ANDORRA"},{"nombre":"ANGOLA"},{"nombre":"ANGUILLA"},{"nombre":"ANTILLAS HOLANDESAS"},{"nombre":"ARABIA SAUDITA"},{"nombre":"ARGELIA"},{"nombre":"ARGENTINA"},{"nombre":"ARMENIA"},{"nombre":"ARUBA"},{"nombre":"AUSTRALIA"},{"nombre":"AUSTRIA"},{"nombre":"AZERBAIYAN"},{"nombre":"BAHAMAS"},{"nombre":"BAHREIN"},{"nombre":"BANGLADES"},{"nombre":"BARBADOS"},{"nombre":"BELGICA"},{"nombre":"BELICE"},{"nombre":"BENIN"},{"nombre":"BERMUDAS"},{"nombre":"BIELORRUSIA"},{"nombre":"BOLIVIA"},{"nombre":"BOTSUANA"},{"nombre":"BRASIL"},{"nombre":"BRUNEI "},{"nombre":"BULGARIA"},{"nombre":"BURKINA FASO"},{"nombre":"BURUNDI"},{"nombre":"BUTAN"},{"nombre":"CABO VERDE"},{"nombre":"CAMBOYA"},{"nombre":"CAMERUN"},{"nombre":"CANADA"},{"nombre":"CHAD"},{"nombre":"CHILE"},{"nombre":"CHINA"},{"nombre":"CHINA"},{"nombre":"CHINA"},{"nombre":"CHIPRE"},{"nombre":"CHRISTMAS ISLAND"},{"nombre":"COCOS ISLAND"},{"nombre":"COLOMBIA"},{"nombre":"COMORAS"},{"nombre":"CONGO"},{"nombre":"COREA DEL NORTE"},{"nombre":"COREA DEL SUR"},{"nombre":"COSTA DE MARFIL"},{"nombre":"COSTA RICA"},{"nombre":"CROACIA"},{"nombre":"CUBA"},{"nombre":"CURAZAO"},{"nombre":"DINAMARCA"},{"nombre":"DJIBOUTI"},{"nombre":"DOMINICA"},{"nombre":"ECUADOR"},{"nombre":"EGIPTO"},{"nombre":"EL SALVADOR"},{"nombre":"EMIRATOS ARABES "},{"nombre":"ERITREA"},{"nombre":"ESCOCIA"},{"nombre":"ESLOVAQUIA"},{"nombre":"ESLOVENIA"},{"nombre":"ESPA脩A"},{"nombre":"EST TIMOR"},{"nombre":"ESTADOS UNIDOS"},{"nombre":"ESTONIA"},{"nombre":"ETIOP脥A"},{"nombre":"FIJI"},{"nombre":"FILIPINAS"},{"nombre":"FINLANDIA"},{"nombre":"FRANCIA"},{"nombre":"FRENCH SOUTHERN TERRITORIES"},{"nombre":"GAB脫N"},{"nombre":"GAMBIA"},{"nombre":"GEORGIA"},{"nombre":"GHANA"},{"nombre":"GIBRALTAR"},{"nombre":"GRANADA"},{"nombre":"GRECIA"},{"nombre":"GROENLANDIA"},{"nombre":"GUAM"},{"nombre":"GUATEMALA"},{"nombre":"GUAYANA FRANCESA"},{"nombre":"GUINEA BISSAU"},{"nombre":"GUINEA ECUATORIAL"},{"nombre":"GUYANA"},{"nombre":"HAIT脥"},{"nombre":"HEARD ISLAND AND MCDONALD ISLANDS"},{"nombre":"HOLANDA"},{"nombre":"HONDURAS"},{"nombre":"HONG KONG"},{"nombre":"HUNGR脥A"},{"nombre":"INDIA"},{"nombre":"INDONESIA"},{"nombre":"INGLATERRA"},{"nombre":"IR脕N "},{"nombre":"IRLANDA"},{"nombre":"ISLANDIA"},{"nombre":"ISLAS BOUVET"},{"nombre":"ISLAS CAIMAN"},{"nombre":"ISLAS COOK"},{"nombre":"ISLAS FAROE"},{"nombre":"ISLAS MARIANAS"},{"nombre":"ISLAS MARSHALL"},{"nombre":"ISLAS NORFOLK"},{"nombre":"ISLAS VIRGENES AMERICANAS"},{"nombre":"ISLAS VIRGENES BRITANICAS"},{"nombre":"ISRAEL (en conflicto)"},{"nombre":"ITALIA"},{"nombre":"JAMAICA"},{"nombre":"JAPON"},{"nombre":"JERSEY"},{"nombre":"JORDANIA"},{"nombre":"KAZAJST脕N"},{"nombre":"KENYA"},{"nombre":"KIRGUIST脕N"},{"nombre":"KIRIBATI"},{"nombre":"KOSOVO"},{"nombre":"KUWAIT"},{"nombre":"LAOS"},{"nombre":"LESOTHO"},{"nombre":"LETONIA"},{"nombre":"LIBANO"},{"nombre":"LIBERIA"},{"nombre":"LIBIA"},{"nombre":"LIECHTENSTEIN"},{"nombre":"LITUANIA"},{"nombre":"LUXEMBURGO"},{"nombre":"MACAO"},{"nombre":"MACEDONIA"},{"nombre":"MADAGASCAR"},{"nombre":"MALASIA"},{"nombre":"MALAWI"},{"nombre":"MAL脥"},{"nombre":"MALTA"},{"nombre":"MARRUECOS"},{"nombre":"MARTINICA"},{"nombre":"MAURICIO"},{"nombre":"MAURITANIA"},{"nombre":"MAYOTTE"},{"nombre":"MEXICO"},{"nombre":"MICRONESIA "},{"nombre":"MOLDAVIA"},{"nombre":"MONACO"},{"nombre":"MONGOLIA"},{"nombre":"MONTENEGRO"},{"nombre":"MONTSERRAT"},{"nombre":"MOZAMBIQUE"},{"nombre":"MYANMAR"},{"nombre":"NAMIBIA"},{"nombre":"NAURU"},{"nombre":"NEPAL"},{"nombre":"NICARAGUA"},{"nombre":"N脥GER"},{"nombre":"NIGERIA"},{"nombre":"NIUE"},{"nombre":"NORUEGA"},{"nombre":"NUEVA CALEDONIA"},{"nombre":"NUEVA ZELANDIA"},{"nombre":"OM脕N"},{"nombre":"PAKIST脕N"},{"nombre":"PALAU"},{"nombre":"PALESTINA"},{"nombre":"PANAMA"},{"nombre":"PAPUA - NUEVA GUINEA"},{"nombre":"PARAGUAY"},{"nombre":"PERU"},{"nombre":"PITCAIRN"},{"nombre":"POLINESIA FRANCESA"},{"nombre":"POLONIA"},{"nombre":"PORTUGAL"},{"nombre":"PUERTO RICO"},{"nombre":"QATAR"},{"nombre":"REP脷BLICA CENTROAFRICANA"},{"nombre":"REP脷BLICA CHECA"},{"nombre":"REP脷BLICA DEMOCR脕TICA DEL CONGO "},{"nombre":"REPUBLICA DOMINICANA"},{"nombre":"REUNION"},{"nombre":"RUMANIA"},{"nombre":"RUSIA"},{"nombre":"RWANDA"},{"nombre":"SAINT KITTS Y NEVIS"},{"nombre":"SAINT PIERRE Y MIQUELON"},{"nombre":"SALOMON (ISLAS)"},{"nombre":"SAMOA"},{"nombre":"SAN MARINO"},{"nombre":"SAN VICENTE Y LAS GRANADINAS"},{"nombre":"SANTA ELENA ASCENSI脫N Y TRIST脕N DE ACU脩A"},{"nombre":"SANTA LUC脥A"},{"nombre":"SANTO TOM脡 Y PR脥NCIPE"},{"nombre":"SENEGAL"},{"nombre":"SERBIA Y MONTENEGRO"},{"nombre":"SEYCHELLES"},{"nombre":"SIERRA LEONA"},{"nombre":"SINGAPORE"},{"nombre":"SINT MAARTEN"},{"nombre":"SIRIA"},{"nombre":"SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS"},{"nombre":"SRI LANCA"},{"nombre":"SUD脕FRICA"},{"nombre":"SUD脕N"},{"nombre":"SUDAN DEL SUR"},{"nombre":"SUECIA"},{"nombre":"SUIZA"},{"nombre":"SURINAM"},{"nombre":"SVALBARD AND JAN MAYEN"},{"nombre":"SWAZILANDIA"},{"nombre":"TAILANDIA"},{"nombre":"TAIWAN"},{"nombre":"TANZAN脥A"},{"nombre":"TAYIKIST脕N"},{"nombre":"TOGO"},{"nombre":"TOKELAU"},{"nombre":"TONGA"},{"nombre":"TRINIDAD Y TOBAGO"},{"nombre":"T脷NEZ"},{"nombre":"TURKMENIST脕N"},{"nombre":"TURKS AND CAICOS ISLANDS"},{"nombre":"TURQUIA"},{"nombre":"TUVALU"},{"nombre":"UCRANIA"},{"nombre":"UGANDA"},{"nombre":"URUGUAY"},{"nombre":"UZBEKIST脕N"},{"nombre":"VANUATU"},{"nombre":"VATICANO"},{"nombre":"VATICANO"},{"nombre":"VENEZUELA"},{"nombre":"VIETNAM"},{"nombre":"WALLIS AND FUTUNA"},{"nombre":"YEMEN"},{"nombre":"ZAMBIA"},{"nombre":"ZIMBABWE"}]}]'; function cargarPaises() { var jsonParser = JSON.parse(resultPaises); var data = jsonParser[0]; var options = { data : data.listaPaises, getValue : "nombre", list : { maxNumberOfElements : 5, showAnimation : { type : "fade", time : 400, callback : function() { } }, hideAnimation : { type : "slide", time : 400, callback : function() { } }, match : { enabled : true }, }, template : { type : "custom", method : function(value, item) { return "<span class='fs-1'>Pais</span> <br/>" + value; } } }; $("#_Cotizador_INSTANCE_l0psINRsg4hg_destinoInter").easyAutocomplete(options); $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobDestinoInter").easyAutocomplete(options); } function cargarLocalidades() { var jsonParser = JSON.parse(resultLocalidades); var data = jsonParser[0]; var options = { data : data.listaLocalidades, getValue : "nombre", list : { maxNumberOfElements : 5, showAnimation : { type : "fade", time : 400, callback : function() { } }, hideAnimation : { type : "slide", time : 400, callback : function() { } }, match : { enabled : true }, }, template : { type : "custom", method : function(value, item) { return value; } } }; $("#_Cotizador_INSTANCE_l0psINRsg4hg_origen").easyAutocomplete(options); $("#_Cotizador_INSTANCE_l0psINRsg4hg_destino").easyAutocomplete(options); $("#_Cotizador_INSTANCE_l0psINRsg4hg_origenInter").easyAutocomplete(options); $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobOrigen").easyAutocomplete(options); $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobDestino").easyAutocomplete(options); $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobOrigenInter").easyAutocomplete(options); } $(document).ready(function() { cargarLocalidades(); cargarPaises(); }); function cargarListPaises(resultPaises) { var jsonParser = JSON.parse(resultPaises); var data = jsonParser[0]; var options = { data : data.listaPaises, getValue : "nombrePais", list : { maxNumberOfElements : 4, showAnimation : { type : "fade", time : 400, callback : function() { } }, hideAnimation : { type : "slide", time : 400, callback : function() { } }, match : { enabled : true }, }, template : { type : "custom", method : function(value, item) { return "<span class='fs-1'>Pa&iacute;s</span> <br/>" + value; } } }; $("#_Cotizador_INSTANCE_l0psINRsg4hg_destinoInter").easyAutocomplete(options); $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobDestinoInter").easyAutocomplete(options); } /* captcha */ var alertaCaptchaInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_alertaCaptchaInter'); /* function ocultarAlertaCaptchaInter() { alertaCaptchaInter.hide(); } */ /* JAVASCRIPT INTERNACIONAL */ var formTarificadorInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_formTarificadorInternacional'); var origenInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_origenInter'); var destinoInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_destinoInter'); var anchoInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_anchoInter'); var largoInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_largoInter'); var altoInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_altoInter'); var pesoInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_pesoInter'); var inputPesoInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_inputPesoInter'); var selectPesoInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_selectPesoInter'); var tipoEnvioInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_tipoEnvioInter'); var alertaServicioInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_alertaServicioInter'); var alertaFormularioInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_alertaFormularioInter'); var alertaOrigenDestinoInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_alertaOrigenDestinoInter'); var alertaSinCobertura = $('#_Cotizador_INSTANCE_l0psINRsg4hg_alertaSinCobertura'); var alertaSinCoberturaInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_alertaSinCoberturaInter'); function ocultarAlertaOrigenDestinoInter() { alertaOrigenDestinoInter.hide(); } function ocultarAlertaSinCoberturaInter() { alertaSinCoberturaInter.hide(); } function ocultarAlertaSinCobertura() { alertaSinCobertura.hide(); } function ocultarAlertaServicioInter() { alertaServicioInter.hide(); } function ocultarAlertaFormularioInter() { alertaFormularioInter.hide(); } function cambiarPesoInter(valor) { pesoInter.val(valor); } function enviarFormularioInter() { if (validarFormularioInter()) { // GLPI0001357 internacional desktop try { window.dataLayer = window.dataLayer || []; dataLayer.push ({ "event": "cotizar_envio_internacional_desktop", "comuna_origen": $("#_Cotizador_INSTANCE_l0psINRsg4hg_origenInter").val(), "pais_destino": $("#_Cotizador_INSTANCE_l0psINRsg4hg_destinoInter").val(), "tipo_envio": $("#_Cotizador_INSTANCE_l0psINRsg4hg_tipoEnvioInter").val(), "ancho": $("#_Cotizador_INSTANCE_l0psINRsg4hg_anchoInter").val(), "largo": $("#_Cotizador_INSTANCE_l0psINRsg4hg_largoInter").val(), "alto": $("#_Cotizador_INSTANCE_l0psINRsg4hg_altoInter").val(), "peso": $("#_Cotizador_INSTANCE_l0psINRsg4hg_inputPesoInter").val(), }) // alert(JSON.stringify(dataLayer[dataLayer.length-1])); } catch (error) { console.error(error); } formTarificadorInter.submit(); /* var response = grecaptcha.getResponse(recaptcha2); console.log("response captcha internacional "+response); if (response.length == 0) { alertaCaptchaInter.show(); } else { alertaCaptchaInter.hide(); formTarificadorInter.submit(); } */ } else { alertaFormularioInter.show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } } function validarFormularioInter() { origenInter.val(origenInter.val().toUpperCase()); destinoInter.val(destinoInter.val().toUpperCase()); if (pesoInter.val().includes(",")) { var pe = pesoInter.val().replace(",", "."); pesoInter.val(pe); } if (origenInter.val() == "") { return false; } if (destinoInter.val() == "") { return false; } if (tipoEnvioInter.val() == "Paquete") { var textAncho = anchoInter.val(); var textAlto = altoInter.val(); var textLargo = largoInter.val(); var intAncho = parseInt(textAncho); var intAlto = parseInt(textAlto); var intLargo = parseInt(textLargo); if (anchoInter.val() == "" || intAncho > 100) { setTimeout(function(){ anchoInter.addClass("is-invalid"); anchoInter.removeClass("is-valid"); }, 200); return false; } if (altoInter.val() == "" || intAlto > 100) { setTimeout(function(){ altoInter.addClass("is-invalid"); altoInter.removeClass("is-valid"); }, 200); return false; } if (largoInter.val() == "" || intLargo > 100) { setTimeout(function(){ largoInter.addClass("is-invalid"); largoInter.removeClass("is-valid"); }, 200); return false; } } var textPeso = inputPesoInter.val(); var intPeso = parseInt(textPeso); if (pesoInter.val() == "" || intPeso > 250) { setTimeout(function(){ inputPesoInter.addClass("is-invalid"); inputPesoInter.removeClass("is-valid"); }, 200); return false; } return true; } function validarPais(data, valor) { var existe = false; for (var i = 0; i < data.listaPaises.length; i++) { var localidad = data.listaPaises[i].nombre; if (localidad == valor) { existe = true; } } return existe; } function validatePais(valor) { var jsonParser = JSON.parse(resultPaises); var data = jsonParser[0]; return validarPais(data, valor); } function validarOrigenDestinoInter() { if (validateLocalidad(origenInter.val())) { origenInter.removeClass("is-invalid"); origenInter.addClass("is-valid"); if (validatePais(destinoInter.val())) { destinoInter.removeClass("is-invalid"); destinoInter.addClass("is-valid"); return true; } else { destinoInter.addClass("is-invalid"); destinoInter.removeClass("is-valid"); return false; } } else { origenInter.addClass("is-invalid"); origenInter.removeClass("is-valid"); destinoInter.addClass("is-invalid"); destinoInter.removeClass("is-valid"); return false; } } formTarificadorInter.submit(function(event) { event.preventDefault(); if (validarFormularioInter()) { if (validarOrigenDestinoInter()) { alertaOrigenDestinoInter.hide(); alertaServicioInter.hide(); alertaFormularioInter.hide(); grecaptcha.ready(function() { grecaptcha.execute('6LfKl6AaAAAAAEUCDtcwzGurL9PS34sW44yPhTDr', {action: 'submit'}).then(function(token) { $.ajax({ type : 'post', url : obtenerTarifaInternacional, data : formTarificadorInter.serialize() + "&_Cotizador_INSTANCE_l0psINRsg4hg_token=" + token +"&p_auth=" + Liferay.authToken, beforeSend: function() { // setting a timeout $(".loader").show(); $(".btnCotizar").hide(); }, datatype : 'json', cache : false, error : function(xhr, status, error) { console.log("hay un error"); alertaFormularioInter.hide(); alertaServicioInter.show(); $(".loader").hide(); $(".btnCotizar").show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); }, success : function(data) { var jsonData = data[0]; //Evaluando si es un robot( False es un robot!) if(jsonData.error=="false"){ alertaCaptchaInter.show(); formTarificadorInter.addClass("disabled"); $('html, body').animate({ scrollTop : 200 }, 'slow'); }else{ if (jsonData.error == "errorSinCobertura") { alertaOrigenDestinoInter.show(); $(".loader").hide(); $(".btnCotizar").show(); } else { if (jsonData.error == "errorServicio") { console.log("Error en el servicio"); alertaFormularioInter.hide(); alertaServicioInter.show(); alertaOrigenDestinoInter.hide(); $(".loader").hide(); $(".btnCotizar").show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } else if (jsonData.error == "errorFormulario") { console.log("Error con el formulario"); alertaServicioInter.hide(); alertaFormularioInter.show(); alertaOrigenDestinoInter.hide(); $(".loader").hide(); $(".btnCotizar").show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } else { alertaServicioInter.hide(); alertaFormularioInter.hide(); alertaOrigenDestinoInter.hide(); if ( $("#tarifaNacional").length > 0 ) { $("#tarifaNacional").replaceWith(data); }else{ $("#formularioTarifas").replaceWith(data); } } } } } }); }); }); } else { console.log("Origen Destino con errores"); alertaOrigenDestinoInter.show(); alertaFormularioInter.hide(); $(".loader").hide(); $(".btnCotizar").show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } } else { console.log("FORMULARIO CON ERRORES"); $(".loader").hide(); $(".btnCotizar").show(); alertaFormularioInter.show(); alertaOrigenDestinoInter.hide(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } }); var paqueteInter = $("#paqueteOptionInterNew"); paqueteInter.id = 'package'; var documentoInter = $("#docOptionInter"); documentoInter.id = 'documento'; $('input:radio[name="envioInter"]').change(function() { if ($(this).val() == 'Documento') { tipoEnvioInter.val("Documento"); $(paqueteInter).hide(); $(documentoInter).show(); } else { tipoEnvioInter.val("Paquete"); $(documentoInter).hide(); $(paqueteInter).show(); } }); /* JAVASCRIPT NACIONAL */ var formTarificador = $('#_Cotizador_INSTANCE_l0psINRsg4hg_formTarificador'); var origen = $('#_Cotizador_INSTANCE_l0psINRsg4hg_origen'); var destino = $('#_Cotizador_INSTANCE_l0psINRsg4hg_destino'); var ancho = $('#_Cotizador_INSTANCE_l0psINRsg4hg_ancho'); var largo = $('#_Cotizador_INSTANCE_l0psINRsg4hg_largo'); var alto = $('#_Cotizador_INSTANCE_l0psINRsg4hg_alto'); var peso = $('#_Cotizador_INSTANCE_l0psINRsg4hg_peso'); var inputPesoNac = $('#inputPesoNac'); var selectPeso = $('#_Cotizador_INSTANCE_l0psINRsg4hg_selectPeso'); var tipoEnvio = $('#_Cotizador_INSTANCE_l0psINRsg4hg_tipoEnvio'); var tipoDestino = $('#_Cotizador_INSTANCE_l0psINRsg4hg_tipoDestino'); var alertaServicio = $('#_Cotizador_INSTANCE_l0psINRsg4hg_alertaServicio'); var alertaFormulario = $('#_Cotizador_INSTANCE_l0psINRsg4hg_alertaFormulario'); var alertaOrigenDestino = $('#_Cotizador_INSTANCE_l0psINRsg4hg_alertaOrigenDestino'); /* captcha */ var alertaCaptcha = $('#_Cotizador_INSTANCE_l0psINRsg4hg_alertaCaptcha'); /* function ocultarAlertaCaptcha() { alertaCaptcha.hide(); } */ function ocultarAlertaOrigenDestino() { alertaOrigenDestino.hide(); } function ocultarAlertaServicio() { alertaServicio.hide(); } function ocultarAlertaFormulario() { alertaFormulario.hide(); } function cambiarPeso(valor) { var newPeso = Number(valor); if (newPeso <= 50) { peso.val(valor); $('#errorPeso').addClass("d-none"); } else { peso.val(""); inputPesoNac.val(""); $('#errorPeso').removeClass("d-none"); } } function enviarFormulario() { if (validarFormulario()) { // GLPI0001357 nacional desktop try { window.dataLayer = window.dataLayer || []; dataLayer.push ({ "event": "cotizar_envio_nacional_desktop", "comuna_origen": $("#_Cotizador_INSTANCE_l0psINRsg4hg_origen").val(), "comuna_destino": $("#_Cotizador_INSTANCE_l0psINRsg4hg_destino").val(), "tipo_envio": $("#_Cotizador_INSTANCE_l0psINRsg4hg_tipoEnvio").val(), "tipo_destino": $("#_Cotizador_INSTANCE_l0psINRsg4hg_tipoDestino").val(), "ancho": $("#_Cotizador_INSTANCE_l0psINRsg4hg_ancho").val(), "largo": $("#_Cotizador_INSTANCE_l0psINRsg4hg_largo").val(), "alto": $("#_Cotizador_INSTANCE_l0psINRsg4hg_alto").val(), "peso": $("#inputPesoNac").val(), }) // alert(JSON.stringify(dataLayer[dataLayer.length-1])); } catch (error) { console.error(error); } formTarificador.submit(); /* var response = grecaptcha.getResponse(recaptcha1); console.log("response captcha nacional "+response); if (response.length == 0) { alertaCaptcha.show(); } else { alertaCaptcha.hide(); formTarificador.submit(); } */ } else { if(!comunaValida){ alertaSinCobertura.show(); alertaFormulario.hide(); }else{ alertaFormulario.show(); } $('html, body').animate({ scrollTop : 200 }, 'slow'); } } function validarFormulario() { if (Liferay.Browser.isIe() || Liferay.Browser.isEdge()) { console.log("Navegador IE o EDGE"); var pesoIE = document.getElementById("inputPesoNac"); peso.val(pesoIE.value); } origen.val(origen.val().toUpperCase()); destino.val(destino.val().toUpperCase()); if (origen.val() == "") { return false; } if (destino.val() == "") { return false; } comunaValida = true; if (tipoEnvio.val() == "Paquete") { var textAnchoNacional = ancho.val(); var textAltoNacional = alto.val(); var textLargoNacional = largo.val(); var intAnchoNacional = parseInt(textAnchoNacional); var intAltoNacional = parseInt(textAltoNacional); var intLargoNacional = parseInt(textLargoNacional); if (ancho.val() == "" || intAnchoNacional > 100) { ancho.addClass("is-invalid"); ancho.removeClass("is-valid"); return false; } if (alto.val() == "" || intAltoNacional > 100) { alto.addClass("is-invalid"); alto.removeClass("is-valid"); return false; } if (largo.val() == "" || intLargoNacional > 100) { largo.addClass("is-invalid"); largo.removeClass("is-valid"); return false; } } if (peso.val().includes(",")) { var p = peso.val().replace(",", "."); peso.val(p); } var textPesoNacional = inputPesoNac.val(); var intPesoNacional = parseInt(textPesoNacional); if (peso.val() == "" || intPesoNacional > 50) { inputPesoNac.addClass("is-invalid"); peso.addClass("is-invalid"); peso.removeClass("is-valid"); inputPesoNac.removeClass("is-valid"); return false; } return true; } function validateLocalidad(valor) { var jsonParser = JSON.parse(resultLocalidades); var data = jsonParser[0]; return validarLocalidad(data, valor); } function validarLocalidad(data, valor) { var existe = false; for (var i = 0; i < data.listaLocalidades.length; i++) { var localidad = data.listaLocalidades[i].nombre; if (localidad == valor) { existe = true; } } return existe; } function validarOrigenDestino() { if (validateLocalidad(origen.val())) { origen.removeClass("is-invalid"); origen.addClass("is-valid"); if (validateLocalidad(destino.val())) { destino.removeClass("is-invalid"); destino.addClass("is-valid") return true; } else { destino.addClass("is-invalid"); destino.removeClass("is-valid"); return false; } } else { origen.addClass("is-invalid"); origen.removeClass("is-valid"); destino.addClass("is-invalid"); destino.removeClass("is-valid"); return false; } } formTarificador.submit(function(event) { event.preventDefault(); if (validarFormulario()) { if (validarOrigenDestino()) { alertaOrigenDestino.hide(); alertaServicio.hide(); alertaFormulario.hide(); alertaSinCobertura.hide(); alertaCaptcha.hide(); grecaptcha.ready(function() { grecaptcha.execute('6LfKl6AaAAAAAEUCDtcwzGurL9PS34sW44yPhTDr', {action: 'submit'}).then(function(token) { $.ajax({ type : 'post', url : obtenerTarifa, data : formTarificador.serialize() + "&_Cotizador_INSTANCE_l0psINRsg4hg_token=" + token +"&p_auth=" + Liferay.authToken, beforeSend: function() { // setting a timeout $(".loader").show(); $(".btnCotizar").hide(); }, datatype : 'json', cache : false, error : function(xhr, status, error) { console.log("hay un error"); alertaFormulario.hide(); alertaServicio.show(); $(".loader").hide(); $(".btnCotizar").show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); }, success : function(data) { var jsonData = data[0]; console.log(jsonData); //Evaluando si es un robot( False es un robot!) if(jsonData.error=="false"){ alertaCaptcha.show(); formTarificador.addClass("disabled"); $('html, body').animate({ scrollTop : 200 }, 'slow'); }else{ if (jsonData.error == "errorSinCobertura") { alertaSinCobertura.show(); $(".loader").hide(); $(".btnCotizar").show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } else { if (jsonData.error == "errorServicio") { console.log("Error en el servicio"); alertaFormulario.hide(); alertaServicio.show(); alertaSinCobertura.hide(); $(".loader").hide(); $(".btnCotizar").show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } else if (jsonData.error == "errorFormulario") { console.log("Error con el formulario"); alertaServicio.hide(); alertaFormulario.show(); alertaSinCobertura.hide(); $(".loader").hide(); $(".btnCotizar").show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } else { alertaServicio.hide(); alertaFormulario.hide(); if ( $("#tarifaNacional").length > 0 ) { $("#tarifaNacional").replaceWith(data); }else{ $("#formularioTarifas").replaceWith(data); } } } } } }); }); }); } else { console.log("Origen Destino con errores"); alertaOrigenDestino.show(); alertaFormulario.hide(); $(".loader").hide(); $(".btnCotizar").show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } } else { console.log("FORMULARIO CON ERRORES"); if(!comunaValida){ alertaSinCobertura.show(); alertaFormulario.hide(); }else{ alertaFormulario.show(); } alertaOrigenDestino.hide(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } }); var paquete = $("#paqueteOption"); paquete.id = 'package'; var documento = $("#docOption"); documento.id = 'documento'; var enDondeEntregamos = $("#enDondeEntregamos"); $('input:radio[name="envio"]').change(function() { if ($(this).val() == 'Documento') { tipoEnvio.val("Documento"); $(paquete).hide(); $(documento).show(); $("#condicionesPaquetes").hide(); $("#condicionesDocumentos").show(); $(enDondeEntregamos).hide(); } else { tipoEnvio.val("Paquete"); $(documento).hide(); $(paquete).show(); $("#condicionesPaquetes").show(); $("#condicionesDocumentos").hide(); $(enDondeEntregamos).show(); } }); $('input:radio[name="lugar"]').change(function() { tipoDestino.val($(this).val()); }); function ingresarPeso(a) { var newPeso = Number(a); if (newPeso <= 500) { $('#errorPesoDoc').addClass("d-none"); } else { peso.val(""); $('#errorPesoDoc').removeClass("d-none"); } } // mobile /* JAVASCRIPT INTERNACIONAL */ var formTarificadorInterMob = $('#_Cotizador_INSTANCE_l0psINRsg4hg_formTarificadorInterMob'); var mobOrigenInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobOrigenInter'); var mobDestinoInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobDestinoInter'); var mobAnchoInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobAnchoInter'); var mobLargoInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobLargoInter'); var mobAltoInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobAltoInter'); var mobPesoInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobPesoInter'); var mobInputPesoInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobInputPesoInter'); var mobSelectPesoInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobSelectPesoInter'); var mobTipoEnvioInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobTipoEnvioInter'); var mobAlertaServicioInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaServicioInter'); var mobAlertaFormularioInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaFormularioInter'); var mobAlertaOrigenDestinoInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaOrigenDestinoInter'); var mobAlertaSinCobertura = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaSinCobertura'); var mobAlertaSinCoberturaInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaSinCoberturaInter'); var mobAlertaCaptchaInter = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaCaptchaInter'); /* function ocultarAlertaCaptchaInterMob() { mobAlertaCaptchaInter.hide(); } */ function ocultarAlertaOrigenDestinoInterMob() { mobAalertaOrigenDestinoInter.hide(); } function ocultarAlertaSinCoberturaInterMob() { mobAalertaSinCoberturaInter.hide(); } function ocultarAlertaSinCoberturaMob() { mobAalertaSinCobertura.hide(); } function ocultarAlertaServicioInterMob() { mobAalertaServicioInter.hide(); } function ocultarAlertaFormularioInterMob() { mobAalertaFormularioInter.hide(); } function cambiarPesoInterMob(valor) { console.log("Entre al cambiarPesoInterMob: " + valor); mobPesoInter.val(valor); } function enviarFormularioInterMob() { if (validarFormularioInterMob()) { try { window.dataLayer = window.dataLayer || []; dataLayer.push ({ "event": "cotizar_envio_internacional_mobile", "comuna_origen": $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobOrigenInter").val(), "pais_destino": $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobDestinoInter").val(), "tipo_envio": $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobTipoEnvioInter").val(), "ancho": $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobAnchoInter").val(), "largo": $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobLargoInter").val(), "alto": $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobAltoInter").val(), "peso": $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobInputPesoInter").val(), }) // alert(JSON.stringify(dataLayer[dataLayer.length-1])); } catch (error) { console.error(error); } formTarificadorInter.submit(); /* var response = grecaptcha.getResponse(recaptcha4); console.log("response captcha internacional "+response); if (response.length == 0) { mobAlertaCaptchaInter.show(); } else { mobAlertaCaptchaInter.hide(); formTarificadorInter.submit(); } */ } else { mobAlertaFormularioInter.show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } } function validarFormularioInterMob() { mobOrigenInter.val(mobOrigenInter.val().toUpperCase()); mobDestinoInter.val(mobDestinoInter.val().toUpperCase()); console.log("mobPesoInter: " + mobPesoInter.val()); if (mobPesoInter.val().includes(",")) { var pe = mobPesoInter.val().replace(",", "."); mobPesoInter.val(pe); } if (mobOrigenInter.val() == "") { return false; } if (mobDestinoInter.val() == "") { return false; } if (mobTipoEnvioInter.val() == "Paquete") { var textAncho = mobAnchoInter.val(); var textAlto = mobAltoInter.val(); var textLargo = mobLargoInter.val(); var intAncho = parseInt(textAncho); var intAlto = parseInt(textAlto); var intLargo = parseInt(textLargo); if (mobAnchoInter.val() == "" || intAncho > 100) { mobAnchoInter.addClass("is-invalid"); mobAnchoInter.removeClass("is-valid"); return false; } if (mobAltoInter.val() == "" || intAlto > 100) { mobAltoInter.addClass("is-invalid"); mobAltoInter.removeClass("is-valid"); return false; } if (mobLargoInter.val() == "" || intLargo > 100) { mobLargoInter.addClass("is-invalid"); mobLargoInter.removeClass("is-valid"); return false; } } var textPeso = mobInputPesoInter.val(); var intPeso = parseInt(textPeso); if (mobPesoInter.val() == "" || intPeso > 50) { mobInputPesoInter.addClass("is-invalid"); mobPesoInter.addClass("is-invalid"); mobPesoInter.removeClass("is-valid"); mobInputPesoInter.removeClass("is-valid"); return false; } return true; } function validarOrigenDestinoInterMob() { if (validateLocalidadMob(mobOrigenInter.val())) { mobOrigenInter.removeClass("is-invalid"); mobOrigenInter.addClass("is-valid"); if (validatePais(mobDestinoInter.val())) { mobDestinoInter.removeClass("is-invalid"); mobDestinoInter.addClass("is-valid"); return true; } else { mobDestinoInter.addClass("is-invalid"); mobDestinoInter.removeClass("is-valid"); return false; } } else { mobOrigenInter.addClass("is-invalid"); mobOrigenInter.removeClass("is-valid"); mobDestinoInter.addClass("is-invalid"); mobDestinoInter.removeClass("is-valid"); return false; } } formTarificadorInterMob.submit(function(event) { event.preventDefault(); if (validarFormularioInterMob()) { if (validarOrigenDestinoInterMob()) { mobAlertaOrigenDestinoInter.hide(); mobAlertaServicioInter.hide(); mobAlertaFormularioInter.hide(); grecaptcha.ready(function() { grecaptcha.execute('6LfKl6AaAAAAAEUCDtcwzGurL9PS34sW44yPhTDr', {action: 'submit'}).then(function(token) { $.ajax({ type : 'post', url : obtenerTarifaInternacional, data : formTarificadorInterMob.serialize()+ "&_Cotizador_INSTANCE_l0psINRsg4hg_token=" + token +"&p_auth=" + Liferay.authToken, beforeSend: function() { // setting a timeout $(".loader").show(); $('.btnCotizar').attr('style','display:none !important'); }, datatype : 'json', cache : false, error : function(xhr, status, error) { console.log("hay un error"); mobAlertaFormularioInter.hide(); mobAlertaServicioInter.show(); $(".loader").hide(); $(".btnCotizar").show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); }, success : function(data) { var jsonData = data[0]; //Evaluando si es un robot( False es un robot!) if(jsonData.error=="false"){ mobAlertaCaptchaInter.show(); formTarificadorInterMob.addClass("disabled"); $('html, body').animate({ scrollTop : 200 }, 'slow'); }else{ if (jsonData.error == "errorSinCobertura") { alertaOrigenDestinoInterMob.show(); $(".loader").hide(); $(".btnCotizar").show(); } else { if (jsonData.error == "errorServicio") { console.log("Error en el servicio"); mobAlertaFormularioInter.hide(); mobAlertaServicioInter.show(); mobAlertaOrigenDestinoInter.hide(); $(".loader").hide(); $(".btnCotizar").show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } else if (jsonData.error == "errorFormulario") { console.log("Error con el formulario"); mobAlertaServicioInter.hide(); mobAlertaFormularioInter.show(); mobAlertaOrigenDestinoInterb.hide(); $(".loader").hide(); $(".btnCotizar").show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } else { mobAlertaServicioInter.hide(); mobAlertaFormularioInter.hide(); mobAlertaOrigenDestinoInter.hide(); if ( $("#tarifaNacional").length > 0 ) { $("#tarifaNacional").replaceWith(data); }else{ $("#formularioTarifas").replaceWith(data); } } } } } }); }); }); } else { console.log("Origen Destino con errores"); mobAlertaOrigenDestinoInter.show(); mobAlertaFormularioInter.hide(); $(".loader").hide(); $(".btnCotizar").show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } } else { console.log("FORMULARIO CON ERRORES"); $(".loader").hide(); $(".btnCotizar").show(); mobAlertaFormularioInter.show(); mobAlertaOrigenDestinoInter.hide(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } }); var mobPaqueteInter = $("#mobPaqueteOptionInter"); mobPaqueteInter.id = 'package'; var mobDocumentoInter = $("#mobDocOptionInter"); mobDocumentoInter.id = 'documento'; $('input:radio[name="mobEnvioInter"]').change(function() { if ($(this).val() == 'Documento') { mobTipoEnvioInter.val("Documento"); $(mobPaqueteInter).hide(); $(mobDocumentoInter).show(); } else { mobTipoEnvioInter.val("Paquete"); $(mobDocumentoInter).hide(); $(mobPaqueteInter).show(); } }); /* JAVASCRIPT NACIONAL */ var formTarificadorMob = $('#_Cotizador_INSTANCE_l0psINRsg4hg_formTarificadorMob'); var mobOrigen = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobOrigen'); var mobDestino = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobDestino'); var mobAncho = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobAncho'); var mobLargo = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobLargo'); var mobAlto = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobAlto'); var mobPeso = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobPeso'); var mobInputPesoNac = $('#mobInputPesoNac'); var mobTipoEnvio = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobTipoEnvio'); var mobTipoDestino = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobTipoDestino'); var mobAlertaServicio = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaServicio'); var mobAlertaFormulario = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaFormulario'); var mobAlertaOrigenDestino = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaOrigenDestino'); /* captcha */ var mobAlertaCaptcha = $('#_Cotizador_INSTANCE_l0psINRsg4hg_mobAlertaCaptcha'); /* function ocultarAlertaCaptchaMob() { mobAlertaCaptcha.hide(); } */ function ocultarAlertaOrigenDestinoMob() { mobAlertaOrigenDestino.hide(); } function ocultarAlertaServicioMob() { mobAlertaServicio.hide(); } function ocultarAlertaFormularioMob() { mobAlertaFormulario.hide(); } function cambiarPesoMob(valor) { var newPeso = Number(valor); if (newPeso <= 50) { mobPeso.val(valor); $('#mobErrorPesoDoc').addClass("d-none"); } else { mobInputPesoNac.val(""); mobPeso.val(""); $('#mobErrorPesoDoc').removeClass("d-none"); } } function enviarFormularioMob() { if (validarFormularioMob()) { // GLPI0001357 nacional mobile try { window.dataLayer = window.dataLayer || []; dataLayer.push ({ "event": "cotizar_envio_nacional_mobile", "comuna_origen": $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobOrigen").val(), "comuna_destino": $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobDestino").val(), "tipo_envio": $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobTipoEnvio").val(), "tipo_destino": $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobTipoDestino").val(), "ancho": $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobAncho").val(), "largo": $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobLargo").val(), "alto": $("#_Cotizador_INSTANCE_l0psINRsg4hg_mobAlto").val(), "peso": $("#mobInputPesoNac").val(), }) // alert(JSON.stringify(dataLayer[dataLayer.length-1])); } catch (error) { console.error(error); } formTarificadorMob.submit(); /* var response = grecaptcha.getResponse(recaptcha3); console.log("response captcha nacional "+response); if (response.length == 0) { mobAlertaCaptcha.show(); } else { mobAlertaCaptcha.hide(); formTarificadorMob.submit(); } */ } else { if(!comunaValida){ mobAlertaSinCobertura.show(); mobAlertaFormulario.hide(); }else{ mobAlertaFormulario.show(); } $('html, body').animate({ scrollTop : 200 }, 'slow'); } } function validarFormularioMob() { if (Liferay.Browser.isIe() || Liferay.Browser.isEdge()) { console.log("Navegador IE o EDGE"); var pesoIE = document.getElementById("mobInputPesoNac"); mobPeso.val(pesoIE.value); } mobOrigen.val(mobOrigen.val().toUpperCase()); mobDestino.val(mobDestino.val().toUpperCase()); if (mobOrigen.val() == "") { return false; } if (mobDestino.val() == "") { return false; } comunaValida = true; if (mobTipoEnvio.val() == "Paquete") { var textAnchoNacional = mobAncho.val(); var textAltoNacional = mobAlto.val(); var textLargoNacional = mobLargo.val(); var intAnchoNacional = parseInt(textAnchoNacional); var intAltoNacional = parseInt(textAltoNacional); var intLargoNacional = parseInt(textLargoNacional); if (mobAncho.val() == "" || intAnchoNacional > 100) { mobAncho.addClass("is-invalid"); mobAncho.removeClass("is-valid"); return false; } if (mobAlto.val() == "" || intAltoNacional > 100) { mobAlto.addClass("is-invalid"); mobAlto.removeClass("is-valid"); return false; } if (mobLargo.val() == "" || intLargoNacional > 100) { mobLargo.addClass("is-invalid"); mobLargo.removeClass("is-valid"); return false; } } if (mobPeso.val().includes(",")) { var p = mobPeso.val().replace(",", "."); peso.val(p); } var textPesoNacional = mobInputPesoNac.val(); var intPesoNacional = parseInt(textPesoNacional); if (mobPeso.val() == "" || intPesoNacional > 50) { mobInputPesoNac.addClass("is-invalid"); mobPeso.addClass("is-invalid"); mobPeso.removeClass("is-valid"); mobInputPesoNac.removeClass("is-valid"); return false; } return true; } function validateLocalidadMob(valor) { var jsonParser = JSON.parse(resultLocalidades); var data = jsonParser[0]; return validarLocalidad(data, valor); } function validarLocalidadMob(data, valor) { var existe = false; for (var i = 0; i < data.listaLocalidades.length; i++) { var localidad = data.listaLocalidades[i].nombre; if (localidad == valor) { existe = true; } } return existe; } function validarOrigenDestinoMob() { if (validateLocalidadMob(mobOrigen.val())) { mobOrigen.removeClass("is-invalid"); mobOrigen.addClass("is-valid"); if (validateLocalidadMob(mobDestino.val())) { mobDestino.removeClass("is-invalid"); mobDestino.addClass("is-valid") return true; } else { mobDestino.addClass("is-invalid"); mobDestino.removeClass("is-valid"); return false; } } else { mobOrigen.addClass("is-invalid"); mobOrigen.removeClass("is-valid"); mobDestino.addClass("is-invalid"); mobDestino.removeClass("is-valid"); return false; } } formTarificadorMob.submit(function(event) { event.preventDefault(); if (validarFormularioMob()) { if (validarOrigenDestinoMob()) { mobAlertaOrigenDestino.hide(); mobAlertaServicio.hide(); mobAlertaFormulario.hide(); mobAlertaSinCobertura.hide(); grecaptcha.ready(function() { grecaptcha.execute('6LfKl6AaAAAAAEUCDtcwzGurL9PS34sW44yPhTDr', {action: 'submit'}).then(function(token) { $.ajax({ type : 'post', url : obtenerTarifa, data : formTarificadorMob.serialize() + "&_Cotizador_INSTANCE_l0psINRsg4hg_token=" + token +"&p_auth=" + Liferay.authToken, beforeSend: function() { // setting a timeout $(".loader").show(); $('.btnCotizar').attr('style','display:none !important'); }, datatype : 'json', cache : false, error : function(xhr, status, error) { console.log("hay un error"); mobAlertaFormulario.hide(); mobAlertaServicio.show(); $(".loader").hide(); $(".btnCotizar").show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); }, success : function(data) { var jsonData = data[0]; //Evaluando si es un robot( False es un robot!) if(jsonData.error=="false"){ mobAlertaCaptcha.show(); formTarificadorMob.addClass("disabled"); $('html, body').animate({ scrollTop : 200 }, 'slow'); }else{ if (jsonData.error == "errorSinCobertura") { mobAlertaSinCobertura.show(); $(".loader").hide(); $(".btnCotizar").show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } else { if (jsonData.error == "errorServicio") { console.log("Error en el servicio"); mobAlertaFormulario.hide(); mobAlertaServicio.show(); mobAlertaSinCobertura.hide(); $(".loader").hide(); $(".btnCotizar").show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } else if (jsonData.error == "errorFormulario") { console.log("Error con el formulario"); mobAlertaServicio.hide(); mobAlertaFormulario.show(); $(".loader").hide(); $(".btnCotizar").show(); mobAlertaSinCobertura.hide(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } else { mobAlertaServicio.hide(); mobAlertaFormulario.hide(); if ( $("#tarifaNacional").length > 0 ) { $("#tarifaNacional").replaceWith(data); }else{ $("#formularioTarifas").replaceWith(data); } } } } } }); }); }); } else { console.log("Origen Destino con errores"); mobAlertaOrigenDestino.show(); mobAlertaFormulario.hide(); $(".loader").hide(); $(".btnCotizar").show(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } } else { console.log("FORMULARIO CON ERRORES"); if(!comunaValida){ mobAlertaSinCobertura.show(); mobAlertaFormulario.hide(); }else{ mobAlertaFormulario.show(); } $(".loader").hide(); $(".btnCotizar").show(); alertaOrigenDestino.hide(); $('html, body').animate({ scrollTop : 200 }, 'slow'); } }); var mobPaquete = $("#mobPaqueteOption"); mobPaquete.id = 'package'; var mobDocumento = $("#mobDocOption"); mobDocumento.id = 'documento'; var enDondeEntregamosMob = $("#enDondeEntregamosMob"); $('input:radio[name="mobEnvio"]').change(function() { if ($(this).val() == 'Documento') { tipoEnvio.val("Documento"); $(mobPaquete).hide(); $(mobDocumento).show(); $(enDondeEntregamosMob).hide(); } else { tipoEnvio.val("Paquete"); $(mobDocumento).hide(); $(mobPaquete).show(); $(enDondeEntregamosMob).show(); } }); $('input:radio[name="mobLugar"]').change(function() { mobTipoDestino.val($(this).val()); }); function ingresarPesoMob(a) { var newPeso = Number(a); if (newPeso <= 500) { $('#mobErrorPesoDoc').addClass("d-none"); } else { mobPeso.val(""); $('#mobErrorPesoDoc').removeClass("d-none"); } } function validarAlphanumeric(e) { tecla = (document.all) ? e.keyCode : e.which; if (tecla == 8) return true; patron = /^[a-zA-Z0-9]+$/; te = String.fromCharCode(tecla); return patron.test(te); } function validarLetras(e) { tecla = (document.all) ? e.keyCode : e.which; if (tecla==8) return true; patron = /^[A-Za-z脕脡脥脫脷谩茅铆贸煤帽脩 ]+$/g; te = String.fromCharCode(tecla); return patron.test(te); } function validarNumero(e){ tecla = (document.all) ? e.keyCode : e.which; if (tecla==8) return true; patron =/[0-9.]/; te = String.fromCharCode(tecla); return patron.test(te); } function validarRut(e){ tecla = (document.all) ? e.keyCode : e.which; if (tecla==8) return true; patron =/[0-9 k K]/; te = String.fromCharCode(tecla); return patron.test(te); } function validarCorreo(e){ tecla = (document.all) ? e.keyCode : e.which; if (tecla==8) return true; patron = /^[a-zA-Z0-9-_.@ ]+$/; te = String.fromCharCode(tecla); return patron.test(te); } </script> <style> .easy-autocomplete{ min-width: 0px; width: auto !important; } .tariff #paqueteOptionInterNew input{ background-image: none!important; } </style> </div> </div> </div> </section> </div> <div class="portlet-boundary portlet-boundary_com_liferay_journal_content_web_portlet_JournalContentPortlet_ portlet-static portlet-static-end portlet-barebone portlet-journal-content " id="p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_9spbgo4QShmm_"> <span id="p_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_9spbgo4QShmm"></span> <section class="portlet" id="portlet_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_9spbgo4QShmm"> <div class="portlet-content"> <div class="autofit-float autofit-row portlet-header"> <div class="autofit-col autofit-col-expand"> </div> <div class="autofit-col autofit-col-end"> <div class="autofit-section"> <div class="visible-interaction"> </div> </div> </div> </div> <div class=" portlet-content-container"> <div class="portlet-body"> <div class="" data-fragments-editor-item-id="21501-93528" data-fragments-editor-item-type="fragments-editor-mapped-item" > <div class="journal-content-article " data-analytics-asset-id="36236" data-analytics-asset-title="h-8" data-analytics-asset-type="web-content"> </div> </div> </div> </div> </div> </section> </div> </div> </div> </div> </div> <form action="#" class="hide" id="hrefFm" method="post" name="hrefFm" aria-hidden="true"><span></span><button hidden type="submit"/>Oculto</button></form> </section> <div class="portlet-boundary portlet-boundary_com_liferay_journal_content_web_portlet_JournalContentPortlet_ portlet-static portlet-static-end decorate portlet-journal-content " id="p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_footer_"> <span id="p_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_footer"></span> <section class="portlet" id="portlet_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_footer"> <div class="portlet-content"> <div class="autofit-float autofit-row portlet-header"> <div class="autofit-col autofit-col-expand"> </div> <div class="autofit-col autofit-col-end"> <div class="autofit-section"> <div class="visible-interaction"> </div> </div> </div> </div> <div class=" portlet-content-container"> <div class="portlet-body"> <div class="" data-fragments-editor-item-id="21501-40881278" data-fragments-editor-item-type="fragments-editor-mapped-item" > <div class="journal-content-article " data-analytics-asset-id="13187333" data-analytics-asset-title="Nuevo Footer" data-analytics-asset-type="web-content"> <style> .correos-footer { background: #262626; } .footer__primary-section { min-height: 200px; } .footer__redes { display: flex; gap: 1.5em; margin-left: 2em; } .footer__ubicacion { display: flex; align-items: center; gap: 1em; margin-left: 1em; text-decoration: none; } .footer__ubicacion:hover { text-decoration: none; } .footer__children-text { font-family: 'Roboto'; font-style: normal; font-weight: 400; font-size: 16px; line-height: 21px; color: #A4A4A4; text-decoration: none; position: relative; display: block; } .footer__children-text:hover, .footer__children-text:focus { color: #A4A4A4; text-decoration: none; } .footer__content__children-nav .footer__children-text::before { content: url("data:image/svg+xml;utf8,<svg width='8' height='12' viewBox='0 0 8 12' xmlns='http://www.w3.org/2000/svg'><path d='M1.70687 0L0.296875 1.41L4.87687 6L0.296875 10.59L1.70687 12L7.70687 6L1.70687 0Z' fill='%23A4A4A4'/></svg>"); margin-right: 20px; } .footer__content__children-nav .footer__children-text { margin-top: 29px; } .footer__content__children-nav { margin-left: 1em; margin-top: 1em; } .footer__content__title-nav { gap: 1em; } .footer__title-nav-text { font-family: 'Roboto'; font-style: normal; font-weight: 500; font-size: 22px; line-height: 28px; color: #FFFFFF; margin: 0; } .footer__content__img-descarga-app { margin-left: 1em; display: grid; } .footer__content__img-descarga-app img { margin-top: 0.5em; } .header__collapse.collapsed .shadow-flecha-acordion--footer svg { transform: rotate(3.142rad); } .footer__mobile-section .content-collapse-mobile{ margin-left: 1em; } .footer__mobile-section .content-collapse-mobile .footer__children-text:first-child{ margin-top: 1.5em; } .footer__mobile-section .footer__children-text{ margin-top: 2em; } .c-hr.footer{ background:#747474; } @media (max-width: 575.98px) {} @media (min-width: 576px) and (max-width: 767.98px) {} @media (max-width: 991.98px) { .footer__logo { text-align: center; margin-top:10px !important; } } @media (min-width: 768px) and (max-width: 991.98px) {} @media (min-width: 992px) {} @media (min-width: 992px) and (max-width: 1199.98px) {} </style> <footer class="correos-footer"> <div class="footer__primary-section container-correo py-4 px-3"> <div class="row m-0"> <div class="col-lg-3 col-12"> <div class="footer__primary-section-content "> <div class="footer__logo mt-5"> <img alt="Logo Correos" data-fileentryid="40881247" src="/documents/20123/40881133/correoschile-logoFooter.svg/721e89ac-18f5-6ebf-d292-289b2d9144ca?t=1683747359619" /> </div> <div class="footer__redes mt-8 d-lg-flex d-none"> <a href="https://web.facebook.com/correoschile/?locale=es_LA&amp;_rdc=1&amp;_rdr"> <img alt="Icono Facebook" data-fileentryid="40881251" src="/documents/20123/40881133/facebook-footer.svg/cfa683c0-ac5e-80dc-7bab-85bbf39033f3?t=1683747430508" /> </a> <a href="https://www.instagram.com/correos.chile/?hl=es"> <img alt="Icono Instragram" data-fileentryid="40881255" src="/documents/20123/40881133/ri_instagram-fill.svg/a4cbef7c-8dc2-e10d-28a5-e314670baadb?t=1684959590444" /> </a> <a href="https://www.linkedin.com/company/correoschile/mycompany/"> <img alt="Linkedin" data-fileentryid="40881259" src="/documents/20123/40881133/mdi_linkedin.svg/28ebe23b-f47e-bfff-1e63-3970a6a47250?t=1684959756728" /> </a> <a href="https://twitter.com/correoschile?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor"> <img alt="" data-fileentryid="48636671" src="/documents/20123/40881133/ri_twitter-x-fill+1.svg/bbc9e663-58e2-5e22-e17d-8674be6d577e?t=1712679684633" /> </a> </div> <a href="https://goo.gl/maps/7LDLapXG3kqc1Bq99" class="footer__ubicacion mt-lg-5 mt-9 mb-lg-0 mb-5"> <div class="footer__ubicacion-icono d-flex align-items-center"> <svg width="16" height="21" viewbox="0 0 16 21" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M8 10.998C6.9 10.998 6 10.098 6 8.99805C6 7.89805 6.9 6.99805 8 6.99805C9.1 6.99805 10 7.89805 10 8.99805C10 10.098 9.1 10.998 8 10.998ZM14 9.19805C14 5.56805 11.35 2.99805 8 2.99805C4.65 2.99805 2 5.56805 2 9.19805C2 11.538 3.95 14.638 8 18.338C12.05 14.638 14 11.538 14 9.19805ZM8 0.998047C12.2 0.998047 16 4.21805 16 9.19805C16 12.518 13.33 16.448 8 20.998C2.67 16.448 0 12.518 0 9.19805C0 4.21805 3.8 0.998047 8 0.998047Z" fill="#A4A4A4" /> </svg> </div> <span class="footer__children-text"> Av. Libertador Bernardo <br /> O麓Higgins 1449 Torre 2 Piso 3 - Santiago DownTown </span> </a> </div> </div> <div class="col-lg-3 col-12"> <div class="footer__primary-section-content"> <div class="footer__content-nav"> <div class="footer__content__title-nav d-flex align-items-center mt-lg-0 mt-5"> <div class="footer__icono-title-nav d-flex align-items-center"> </div> <div class="footer__title-nav d-flex align-items-center "> <h5 class="footer__title-nav-text">Centro de ayuda</h5> </div> </div> <div class="footer__content__children-nav"> <a class="footer__children-text" href="https://www.correos.cl/formulario-contacto">Formulario de contacto </a> <a class="footer__children-text" href="https://www.correos.cl/centro-de-ayuda">Preguntas frecuentes </a> </div> </div> </div> </div> <div class="col-lg-3 col-12"> <div class="footer__primary-section-content"> <div class="footer__content-nav"> <div class="footer__content__title-nav d-flex align-items-center mt-lg-0 mt-5"> <div class="footer__title-nav d-flex align-items-center"> <h5 class="footer__title-nav-text">Plataformas clientes</h5> </div> </div> <div class="footer__content__children-nav"> <a class="footer__children-text" href="https://www.correos.cl/login"> Sucursal virtual</a> <a class="footer__children-text" href="https://www.correos.cl/web/correos-chile-empresas"> Portal empresas</a> <a class="footer__children-text" href="https://www.correos.cl/web/correos-chile-empresas/facturacion"> Facturaci贸n</a> </div> </div> </div> </div> <div class="col-lg-3 col-12"> <div class="footer__primary-section-content"> <div class="footer__content-nav"> <div class="footer__content__title-nav d-flex align-items-center mt-lg-0 mt-5"> <div class="footer__title-nav d-flex align-items-center"> <h5 class="footer__title-nav-text">Descarga nuestra App</h5> </div> </div> <div class="footer__content__img-descarga-app"> <a href="https://play.google.com/store/search?q=correos%20chile&amp;c=apps&amp;hl=es_419&amp;gl" class="footer__img-descarga-app"> <picture data-fileentryid="40881271"><source media="(max-width:120px)" srcset="/o/adaptive-media/image/40881271/Preview-1000x0/google-play-badge+1.png?t=1683772317938" /><source media="(max-width:120px) and (min-width:120px)" srcset="/o/adaptive-media/image/40881271/Thumbnail-300x300/google-play-badge+1.png?t=1683772317938" /><img alt="" data-fileentryid="40881271" src="/documents/20123/40881133/google-play-badge+1.png/896ed3d5-2f25-e89d-2b63-a04fa0fc48da?t=1683772317938" /></picture> </a> <a href="https://apps.apple.com/cl/app/app-correoschile/id6467232220" class="footer__img-descarga-app"> <picture data-fileentryid="47198486"><source media="(max-width:127px)" srcset="/o/adaptive-media/image/47198486/Preview-1000x0/ios-disponible.png?t=1706628480599" /><source media="(max-width:127px) and (min-width:127px)" srcset="/o/adaptive-media/image/47198486/Thumbnail-300x300/ios-disponible.png?t=1706628480599" /><img alt="" data-fileentryid="47198486" src="/documents/93057/47042818/ios-disponible.png/601ce4dc-9ee2-94ee-78ad-40dbaa847cb5?t=1706628480599" /></picture> </a> <a href="https://appgallery.huawei.com/#/app/C110132793" class="footer__img-descarga-app"> <picture data-fileentryid="47042835"><source media="(max-width:127px)" srcset="/o/adaptive-media/image/47042835/Preview-1000x0/kkk.png?t=1705950579533" /><source media="(max-width:127px) and (min-width:127px)" srcset="/o/adaptive-media/image/47042835/Thumbnail-300x300/kkk.png?t=1705950579533" /><img alt="" data-fileentryid="47042835" src="/documents/93057/47042818/kkk.png/1042a373-16a7-f453-392b-035eff4749ae?t=1705950579533" /></picture> </a> </div> </div> </div> </div> </div> </div> <hr class="c-hr footer mt-lg-5 mb-lg-3" /> <div class="footer__primary-section container-correo py-4 px-5 d-lg-block d-none"> <div class="row m-0"> <div class="col-lg-3 col-12"> <div class="footer__primary-section-content"> <div class="footer__content-nav"> <div class="footer__content__title-nav d-flex align-items-center mt-lg-0 mt-5"> <div class="footer__title-nav d-flex align-items-center "> <h5 class="footer__title-nav-text">Herramientas</h5> </div> </div> <div class="footer__content__children-nav"> <a class="footer__children-text" href="https://www.correos.cl/seguimiento-en-linea">Seguimiento en l铆nea</a> <a class="footer__children-text" href="https://www.correos.cl/cotizador">Cotizador</a> <a class="footer__children-text" href="https://www.correos.cl/codigo-postal">C贸digo Postal</a> <a class="footer__children-text" href="https://www.correos.cl/sucursales">Sucursales</a> <a class="footer__children-text" href="https://developers.correos.cl/">Developers (Apis ecommerce empresas)</a> <a class="footer__children-text" href="https://portalinternacional.correos.cl/Inicio/Index">Gesti贸n de importaciones</a> </div> </div> </div> </div> <div class="col-lg-3 col-12"> <div class="footer__primary-section-content"> <div class="footer__content-nav"> <div class="footer__content__title-nav d-flex align-items-center mt-lg-0 mt-5"> <div class="footer__title-nav d-flex align-items-center"> <h5 class="footer__title-nav-text">Productos y servicios</h5> </div> </div> <div class="footer__content__children-nav"> <a class="footer__children-text" href="https://www.correos.cl/web/correos-chile-empresas/servicios"> Productos empresas</a> <a class="footer__children-text" href="https://www.correos.cl/paqueteria-personas"> Productos personas</a> <a class="footer__children-text" href="https://developers.correos.cl/"> Productos ecommerce</a> </div> </div> </div> </div> <div class="col-lg-3 col-12"> <div class="footer__primary-section-content"> <div class="footer__content-nav"> <div class="footer__content__title-nav d-flex align-items-center mt-lg-0 mt-5"> <div class="footer__title-nav d-flex align-items-center "> <h5 class="footer__title-nav-text">Pol铆ticas y condiciones</h5> </div> </div> <div class="footer__content__children-nav"> <a class="footer__children-text" href="https://www.correos.cl/politicas-de-privacidad">Pol铆ticas de privacidad</a> <a class="footer__children-text" href="https://www.correos.cl/politicas-de-indemnizacion">Pol铆ticas de indemnizaci贸n</a> <a class="footer__children-text" href="https://www.correos.cl/condiciones-de-servicio">Condiciones de servicio</a> <a class="footer__children-text" href="https://www.correos.cl/bases-legales-concursos-y-promociones">Bases legales</a> </div> </div> </div> </div> <div class="col-lg-3 col-12"> <div class="footer__primary-section-content"> <div class="footer__content-nav"> <div class="footer__content__title-nav d-flex align-items-center mt-lg-0 mt-5"> <div class="footer__title-nav d-flex align-items-center"> <h5 class="footer__title-nav-text">Corporativo</h5> </div> </div> <div class="footer__content__children-nav"> <a class="footer__children-text" href="https://www.correos.cl/web/correos-transparente">Correo Transparente</a> <a class="footer__children-text" href="https://www.correos.cl/correo-sostenible">Correo Sostenible</a> <a class="footer__children-text" href="https://etica.resguarda.com/correoschile/cl_es.html">Correo 脡tico</a> <a class="footer__children-text" href="https://correos.trabajando.cl/">Trabaja con nosotros</a> <a class="footer__children-text" href="https://www.correos.cl/licitaciones-y-proveedores">Proveedores y Licitaciones</a> <a class="footer__children-text" href="https://www.correos.cl/registro-transportistas">Registro de transportistas</a> <a class="footer__children-text" href="https://www.correos.cl/formulario-de-abastecimiento">Inscripci贸n de proveedores</a> </div> </div> </div> </div> </div> </div> <div class="footer__mobile-section container-correo pb-4 px-3 d-lg-none d-block"> <div id="footerMobile-1" class=" mt-7"> <div class="header__collapse d-flex justify-content-between align-items-center collapsed" data-toggle="collapse" data-target="#footerMobileCollapse-1" aria-controls="footerMobileCollapse-1" id="headingfooterMobile-1"> <span data-senna-off="true" class="footer__title-nav-text">Herramientas</span> <div class="shadow-flecha-acordion--footer"> <svg width="12" height="8" viewbox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M6 0.293823L0 6.29382L1.41 7.70382L6 3.12382L10.59 7.70382L12 6.29382L6 0.293823Z" fill="white" /> </svg> </div> </div> <div id="footerMobileCollapse-1" class="collapse content-collapse-mobile" aria-labelledby="headingfooterMobile-1" data-parent="#footerMobile-1"> <a class="footer__children-text" href="https://www.correos.cl/seguimiento-en-linea">Seguimiento en l铆nea</a> <a class="footer__children-text" href="https://www.correos.cl/cotizador">Cotizador</a> <a class="footer__children-text" href="https://www.correos.cl/codigo-postal">C贸digo Postal</a> <a class="footer__children-text" href="https://www.correos.cl/sucursales">Sucursales</a> <a class="footer__children-text" href="https://developers.correos.cl/">Developers (Apis ecommerce empresas)</a> <a class="footer__children-text" href="https://portalinternacional.correos.cl/Inicio/Index">Gesti贸n de importaciones</a> </div> </div> <div id="footerMobile-2" class="mt-7"> <div class="header__collapse d-flex justify-content-between align-items-center collapsed" data-toggle="collapse" data-target="#footerMobileCollapse-2" aria-controls="footerMobileCollapse-2" id="headingfooterMobile-2"> <span data-senna-off="true" class="footer__title-nav-text">Productos y servicios</span> <div class="shadow-flecha-acordion--footer"> <svg width="12" height="8" viewbox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M6 0.293823L0 6.29382L1.41 7.70382L6 3.12382L10.59 7.70382L12 6.29382L6 0.293823Z" fill="white" /> </svg> </div> </div> <div id="footerMobileCollapse-2" class="collapse content-collapse-mobile" aria-labelledby="headingfooterMobile-2" data-parent="#footerMobile-2"> <a class="footer__children-text" href="https://www.correos.cl/web/correos-chile-empresas/servicios"> Productos empresas</a> <a class="footer__children-text" href="https://www.correos.cl/paqueteria-personas"> Productos personas</a> <a class="footer__children-text" href="https://developers.correos.cl/"> Productos ecommerce</a> </div> </div> <div id="footerMobile-3" class="mt-7"> <div class="header__collapse d-flex justify-content-between align-items-center collapsed" data-toggle="collapse" data-target="#footerMobileCollapse-3" aria-controls="footerMobileCollapse-3" id="headingfooterMobile-3"> <span data-senna-off="true" class="footer__title-nav-text">Pol铆ticas y condiciones</span> <div class="shadow-flecha-acordion--footer"> <svg width="12" height="8" viewbox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M6 0.293823L0 6.29382L1.41 7.70382L6 3.12382L10.59 7.70382L12 6.29382L6 0.293823Z" fill="white" /> </svg> </div> </div> <div id="footerMobileCollapse-3" class="collapse content-collapse-mobile" aria-labelledby="headingfooterMobile-3" data-parent="#footerMobile-3"> <a class="footer__children-text" href="https://www.correos.cl/politicas-de-privacidad">Pol铆ticas de privacidad</a> <a class="footer__children-text" href="https://www.correos.cl/politicas-de-indemnizacion">Pol铆ticas de indemnizaci贸n</a> <a class="footer__children-text" href="https://www.correos.cl/condiciones-de-servicio">Condiciones de servicio</a> <a class="footer__children-text" href="https://www.correos.cl/bases-legales-concursos-y-promociones">Bases legales</a> </div> </div> <div id="footerMobile-4" class="mt-7"> <div class="header__collapse d-flex justify-content-between align-items-center collapsed" data-toggle="collapse" data-target="#footerMobileCollapse-4" aria-controls="footerMobileCollapse-4" id="headingfooterMobile-4"> <span data-senna-off="true" class="footer__title-nav-text">Corporativo</span> <div class="shadow-flecha-acordion--footer"> <svg width="12" height="8" viewbox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M6 0.293823L0 6.29382L1.41 7.70382L6 3.12382L10.59 7.70382L12 6.29382L6 0.293823Z" fill="white" /> </svg> </div> </div> <div id="footerMobileCollapse-4" class="collapse content-collapse-mobile" aria-labelledby="headingfooterMobile-4" data-parent="#footerMobile-4"> <a class="footer__children-text" href="https://www.correos.cl/web/correos-transparente">Correo Transparente</a> <a class="footer__children-text" href="https://www.correos.cl/correo-sostenible">Correo Sostenible</a> <a class="footer__children-text" href="https://etica.resguarda.com/correoschile/cl_es.html">Correo 脡tico</a> <a class="footer__children-text" href="https://correos.trabajando.cl/">Trabaja con nosotros</a> <a class="footer__children-text" href="https://www.correos.cl/licitaciones-y-proveedores">Proveedores y Licitaciones</a> <a class="footer__children-text" href="https://www.correos.cl/registro-transportistas">Registro de transportistas</a> <a class="footer__children-text" href="https://www.correos.cl/formulario-de-abastecimiento">Inscripci贸n de proveedores</a> </div> </div> <div class="footer__redes mt-5 mx-0 justify-content-center"> <a href="https://web.facebook.com/correoschile/?locale=es_LA&amp;_rdc=1&amp;_rdr"> <img alt="Icono Facebook" data-fileentryid="40881251" src="/documents/20123/40881133/facebook-footer.svg/cfa683c0-ac5e-80dc-7bab-85bbf39033f3?t=1683747430508" /> </a> <a href="https://www.instagram.com/correos.chile/?hl=es"> <img alt="Icono Instragram" data-fileentryid="40881255" src="/documents/20123/40881133/ri_instagram-fill.svg/a4cbef7c-8dc2-e10d-28a5-e314670baadb?t=1684959590444" /> </a> <a href="https://www.linkedin.com/company/correoschile/mycompany/"> <img alt="Linkedin" data-fileentryid="40881259" src="/documents/20123/40881133/mdi_linkedin.svg/28ebe23b-f47e-bfff-1e63-3970a6a47250?t=1684959756728" /> </a> <a href="https://twitter.com/correoschile?ref_src=twsrc%5Egoogle%7Ctwcamp%5Eserp%7Ctwgr%5Eauthor"> <img alt="" data-fileentryid="48636671" src="/documents/20123/40881133/ri_twitter-x-fill+1.svg/bbc9e663-58e2-5e22-e17d-8674be6d577e?t=1712679684633" /> </a> </div> </div> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat" /> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons" /> <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@48,400,0,0" /> <!-- chatbot --> <script type="text/javascript"> if (window.location.href.indexOf("realizar-un-envio") > -1) { console.log(" estamos en realizar-un-envio"); } else { if (window.location.href.indexOf("admision-pasarela") > -1) { console.log("estamos en admision pasarela"); } else{ if (window.location.href.indexOf("carrito-compra-v2") > -1) { console.log("estamos e carrito compra"); } else{ console.log("activa chat"); window._mdtCIC_configs = { xmppHost: "correos-webchat.cgsinc.cl", bubble_title: "Hola", url: "https://correos-webchat.cgsinc.cl/mcic", }; } } } </script><script type="text/javascript" src="https://correos-webchat.cgsinc.cl/mcic/web/mediatel_chat.js"></script> </footer> </div> </div> </div> </div> </div> </section> </div> <div id="js_barra_aceptacion_cookie" style="display: none;" class="cookie-bar"> <div class="cookie-text"> <p>Utilizamos cookies propias y de terceros para obtener datos estad铆sticos de la navegaci贸n de nuestros usuarios y mejorar nuestros servicios. Si acepta o contin煤a navegando, consideramos que acepta su uso.<br/> Este sitio web est谩 optimizado para las versiones: Chrome 65, 煤ltima versi贸n de Edge y Firefox, Internet Explorer 11 (Limitado) y Safari 11 y 12 </p> </div> <button id="js_btn_cookie" class="btn btn-outline-light cookie-button">Acepto</button> </div> <div id="browser"></div> <script type="text/javascript"> // <![CDATA[ Liferay.BrowserSelectors.run(); // ]]> </script> <script type="text/javascript"> // <![CDATA[ Liferay.currentURL = '\x2fcotizador'; Liferay.currentURLEncoded = '\x252Fcotizador'; // ]]> </script> <script type="text/javascript"> // <![CDATA[ // ]]> </script> <script type="text/javascript"> // <![CDATA[ (function() {var $ = AUI.$;var _ = AUI._; var onVote = function(event) { if (window.Analytics) { Analytics.send('VOTE', 'Ratings', { className: event.className, classPK: event.classPK, ratingType: event.ratingType, score: event.score }); } }; var onDestroyPortlet = function() { Liferay.detach('ratings:vote', onVote); Liferay.detach('destroyPortlet', onDestroyPortlet); }; Liferay.on('ratings:vote', onVote); Liferay.on('destroyPortlet', onDestroyPortlet); })();(function() {var $ = AUI.$;var _ = AUI._; var pathnameRegexp = /\/documents\/(\d+)\/(\d+)\/(.+?)\/([^&]+)/; function handleDownloadClick(event) { if (event.target.nodeName.toLowerCase() === 'a' && window.Analytics) { var anchor = event.target; var match = pathnameRegexp.exec(anchor.pathname); var fileEntryId = anchor.dataset.analyticsFileEntryId || (anchor.parentElement && anchor.parentElement.dataset.analyticsFileEntryId); if (fileEntryId && match) { var getParameterValue = function(parameterName) { var result = null; anchor.search .substr(1) .split('&') .forEach(function(item) { var tmp = item.split('='); if (tmp[0] === parameterName) { result = decodeURIComponent(tmp[1]); } }); return result; }; Analytics.send('documentDownloaded', 'Document', { groupId: match[1], fileEntryId: fileEntryId, preview: !!window._com_liferay_document_library_analytics_isViewFileEntry, title: decodeURIComponent(match[3].replace(/\+/gi, ' ')), version: getParameterValue('version') }); } } } var onDestroyPortlet = function() { document.body.removeEventListener('click', handleDownloadClick); }; Liferay.once('destroyPortlet', onDestroyPortlet); var onPortletReady = function() { document.body.addEventListener('click', handleDownloadClick); }; Liferay.once('portletReady', onPortletReady); })();(function() {var $ = AUI.$;var _ = AUI._; var onShare = function(data) { if (window.Analytics) { Analytics.send('shared', 'SocialBookmarks', { className: data.className, classPK: data.classPK, type: data.type, url: data.url }); } }; var onDestroyPortlet = function() { Liferay.detach('socialBookmarks:share', onShare); Liferay.detach('destroyPortlet', onDestroyPortlet); }; Liferay.on('socialBookmarks:share', onShare); Liferay.on('destroyPortlet', onDestroyPortlet); })();(function() {var $ = AUI.$;var _ = AUI._; var onDestroyPortlet = function() { Liferay.detach('messagePosted', onMessagePosted); Liferay.detach('destroyPortlet', onDestroyPortlet); }; Liferay.on('destroyPortlet', onDestroyPortlet); var onMessagePosted = function(event) { if (window.Analytics) { Analytics.send('posted', 'Comment', { className: event.className, classPK: event.classPK, commentId: event.commentId, text: event.text }); } }; Liferay.on('messagePosted', onMessagePosted); })(); if (Liferay.Data.ICONS_INLINE_SVG) { svg4everybody( { attributeName: 'data-href', polyfill: true, validate: function (src, svg, use) { return !src || !src.startsWith('#'); } } ); } Liferay.Portlet.register('com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_footer'); Liferay.Portlet.onLoad( { canEditTitle: false, columnPos: 0, isStatic: 'end', namespacedId: 'p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_footer_', portletId: 'com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_footer', refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d1457\x26p_p_id\x3dcom_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_footer\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dnull\x26p_p_col_pos\x3dnull\x26p_p_col_count\x3dnull\x26p_p_static\x3d1\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fcotizador', refreshURLData: {} } ); Liferay.Portlet.register('Cotizador_INSTANCE_l0psINRsg4hg'); Liferay.Portlet.onLoad( { canEditTitle: false, columnPos: 0, isStatic: 'end', namespacedId: 'p_p_id_Cotizador_INSTANCE_l0psINRsg4hg_', portletId: 'Cotizador_INSTANCE_l0psINRsg4hg', refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d1457\x26p_p_id\x3dCotizador_INSTANCE_l0psINRsg4hg\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dcolumn-1\x26p_p_col_pos\x3d0\x26p_p_col_count\x3d3\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fcotizador', refreshURLData: {} } ); Liferay.Portlet.register('com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_header'); Liferay.Portlet.onLoad( { canEditTitle: false, columnPos: 0, isStatic: 'end', namespacedId: 'p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_header_', portletId: 'com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_header', refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d1457\x26p_p_id\x3dcom_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_header\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dnull\x26p_p_col_pos\x3dnull\x26p_p_col_count\x3dnull\x26p_p_static\x3d1\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fcotizador', refreshURLData: {} } ); Liferay.Portlet.register('com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_jf4SA4Jsz19k'); Liferay.Portlet.onLoad( { canEditTitle: false, columnPos: 1, isStatic: 'end', namespacedId: 'p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_jf4SA4Jsz19k_', portletId: 'com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_jf4SA4Jsz19k', refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d1457\x26p_p_id\x3dcom_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_jf4SA4Jsz19k\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dcolumn-1\x26p_p_col_pos\x3d1\x26p_p_col_count\x3d3\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fcotizador', refreshURLData: {} } ); Liferay.Portlet.register('com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_9spbgo4QShmm'); Liferay.Portlet.onLoad( { canEditTitle: false, columnPos: 2, isStatic: 'end', namespacedId: 'p_p_id_com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_9spbgo4QShmm_', portletId: 'com_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_9spbgo4QShmm', refreshURL: '\x2fc\x2fportal\x2frender_portlet\x3fp_l_id\x3d1457\x26p_p_id\x3dcom_liferay_journal_content_web_portlet_JournalContentPortlet_INSTANCE_9spbgo4QShmm\x26p_p_lifecycle\x3d0\x26p_t_lifecycle\x3d0\x26p_p_state\x3dnormal\x26p_p_mode\x3dview\x26p_p_col_id\x3dcolumn-1\x26p_p_col_pos\x3d2\x26p_p_col_count\x3d3\x26p_p_isolated\x3d1\x26currentURL\x3d\x252Fcotizador', refreshURLData: {} } ); Liferay.Loader.require('metal-dom/src/all/dom', function(metalDomSrcAllDom) { (function(){ var dom = metalDomSrcAllDom; (function() {var $ = AUI.$;var _ = AUI._; var focusInPortletHandler = dom.delegate( document, 'focusin', '.portlet', function(event) { dom.addClasses(dom.closest(event.delegateTarget, '.portlet'), 'open'); } ); var focusOutPortletHandler = dom.delegate( document, 'focusout', '.portlet', function(event) { dom.removeClasses(dom.closest(event.delegateTarget, '.portlet'), 'open'); } ); })();})(); });AUI().use('liferay-menu', 'liferay-notice', 'aui-base', 'liferay-session', 'liferay-poller', function(A) {(function() {var $ = AUI.$;var _ = AUI._; if (A.UA.mobile) { Liferay.Util.addInputCancel(); } })();(function() {var $ = AUI.$;var _ = AUI._; new Liferay.Menu(); var liferayNotices = Liferay.Data.notices; for (var i = 1; i < liferayNotices.length; i++) { new Liferay.Notice(liferayNotices[i]); } })();(function() {var $ = AUI.$;var _ = AUI._; Liferay.Session = new Liferay.SessionBase( { autoExtend: true, redirectOnExpire: true, redirectUrl: 'https\x3a\x2f\x2flogin\x2ecorreos\x2ecl\x2fopenam\x2fXUI\x2f\x3frealm\x3d\x2fsucursalprod\x26goto\x3dhttps\x3a\x2f\x2fwww\x2ecorreos\x2ecl\x23logout\x2f', sessionLength: 900, sessionTimeoutOffset: 70, warningLength: 0 } ); })();}); // ]]> </script> <script src="https://www.correos.cl/o/correos-de-chile-theme/js/main.js?browserId=ie&amp;minifierType=js&amp;languageId=es_ES&amp;t=1732653862000" type="text/javascript"></script> <script type="text/javascript"> // <![CDATA[ AUI().use( 'aui-base', function(A) { var frameElement = window.frameElement; if (frameElement && frameElement.getAttribute('id') === 'simulationDeviceIframe') { A.getBody().addClass('lfr-has-simulation-panel'); } } ); // ]]> </script><script type="text/javascript"> // <![CDATA[ Liferay.Loader.require('frontend-js-tooltip-support-web@2.0.5/index', function(frontendJsTooltipSupportWeb205Index) { (function(){ var TooltipSupport = frontendJsTooltipSupportWeb205Index; (function() { try { TooltipSupport.default() } catch (err) { console.error(err); } })();})(); }); // ]]> </script> <script src="https://www.correos.cl/o/correos-de-chile-theme/js/vendor/jquery-validate.min.js?browserId=ie&amp;minifierType=js&amp;languageId=es_ES&amp;t=1732653862000" type="text/javascript"></script> <script src="https://www.correos.cl/o/correos-de-chile-theme/js/vendor/jspdf.min.js?browserId=ie&amp;minifierType=js&amp;languageId=es_ES&amp;t=1732653862000" type="text/javascript"></script> <script src="https://www.correos.cl/o/correos-de-chile-theme/js/vendor/jspdf.debug.js?browserId=ie&amp;minifierType=js&amp;languageId=es_ES&amp;t=1732653862000"></script> <script src="https://www.correos.cl/o/correos-de-chile-theme/js/vendor/html2canvas.js?browserId=ie&amp;minifierType=js&amp;languageId=es_ES&amp;t=1732653862000"></script> <script src="https://www.correos.cl/o/correos-de-chile-theme/js/vendor/swiper_bundle.js?browserId=ie&amp;minifierType=js&amp;languageId=es_ES&amp;t=1732653862000"></script> <script src="https://www.correos.cl/o/correos-de-chile-theme/js/functions.js?browserId=ie&amp;minifierType=js&amp;languageId=es_ES&amp;t=1732653862000" type="text/javascript"></script> <script type="text/javascript"> $(document).ready(function(){ var portraitUrl = "/image/user_portrait?img_id=0&img_id_token=eFr7r7HtPfvwfCUSyyl126PhqRI%3D&t=1732653934474"; $("[data-user-portrait-url],.headercorp-usericon").attr("src",portraitUrl); $("[data-user-first-name]").text(""); //Cambiando h1 a span $(".quick-access-nav .hide-accessible").remove(); $(".quick-access-nav").prepend("<span class='hide-accessible'>Navegaci贸n</span>"); }); </script> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10