Shipping and Logistics Glossary
The world of freight and logistics is full of complex terms and acronyms. Our glossary helps break down some of the most common industry words that every shipper needs to know into clear, simple terms.
<style>* { box-sizing: border-box; font-family: 'roboto'; } .scs__results-letter { text-align: center; font-size: 40px; padding-top: 6.5rem; font-weight: 300; color: #080808; margin: 0px; line-height: 56px; } .scs__results-letter::after { content: ""; display: block; margin: auto; background-color: #FFC400; width: 67px; height: 4px; } h3 { display: block; font-size: 1.17em; margin-inline-start: 0px; margin-inline-end: 0px; font-weight: bold; } .scs__results-links { display: flex; font-weight: 500; color: #2666BF !important; font-size: 16px; text-decoration: none; list-style-type: none; border-bottom: 1px solid #dfdbd7; margin-right: 5rem; } .scs__results-links:hover { text-decoration: underline !important; } .scs__results-filter { padding-left: 0; margin-bottom: 0; width: 100%; align-items: center; flex-wrap: wrap; display: flex; margin-top: 2.8rem; } .scs__results-filterlist { padding: 0; margin-top: 20px; display: inline-block; vertical-align: middle; width: 32%; } .scs__alphabar-alphabet__keys { font-weight: 300; font-size: 30px; padding: 0 12px 0 0; text-decoration: none; color: #080808; display: inline-block; min-width: 3.8%; margin-top: 12px; } /* ups-text_wrapper ups-input_wrapper scs__searchBar-inputwrapper */ .scs__searchBar_input { width: 85%; height: 45px; padding: 5px; border-radius: 0.25rem; border: 1px solid gray; margin-right: 30px; margin-top: 6px; color: #5f5753; font-size: 2rem; background-color: #fff; transition: all 150ms ease-in-out; } .ups-form_input { font-size: 17px; float: left; width: 100%; } .scs__searchBar-inputwrapper { width: 100%; height: 45px; border-radius: 0.25rem; color: #5f5753; font-size: 1rem; background-color: #fff; transition: all 150ms ease-in-out; display: flex; padding: 5px 0px; } .scs__searchBar-btn { width: 10%; height: 40px; background-color: #FFC400; position: relative; border-radius: 23px 23px; font-size: 1rem; height: 46px; border: none; padding: 5px 20px; } .scs__alphabar-alphabet__keys { content: "\e600" } span.ups-readerTxt { display: none; } .ups-icon-2chevronup:before { content: "\e602"; } .scs__backTop { color: #3767B9 !important; font-family: 'UPSroboto'; font-weight: 400; position: fixed; bottom: 10%; right: 5%; padding: 20px; background-color: #fff; border: none; } .scs__noresult { font-size: 32px; font-family: 'robotoregular'; font-weight: 400; padding: 20px 0; text-align: center; clear: both; } .scs__hide, .scs__inactive { display: none; } button.scs__searchBar-btn { margin: 5px 0 0 20px; display: inline-block; vertical-align: top; width: unset; } .scs__glossary .ups-input .ups-input_wrapper { width: 85%; display: inline-block; } @media (max-width: 1100px) { .scs__glossary .ups-input .ups-input_wrapper { width: 80%; } } @media (max-width: 768px) { .scs__glossary .ups-input .ups-input_wrapper { width: 70%; } } @media (max-width: 510px) { .scs__glossary .ups-input .ups-input_wrapper { width: 60%; } } @media (max-width: 400px) { .scs__glossary .ups-input .ups-input_wrapper { width: 100%; display: block; } button.scs__searchBar-btn { margin: 25px 0 0 0px; display: block; width: 100%; } } .ui-autocomplete.ups-check_index { z-index: 10; } .ui-menu .ui-menu-item { width: 300px; position: relative; margin: 0; background-color: #eee; padding: 5px 10px; cursor: pointer; border-radius: 5px; min-height: 0; list-style-image: url(data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7); } .ui-menu-item-wrapper:hover { color: #2666BF; border: 1px solid #dddddd; background-color: #fff; } .scs__glossaryContainer { margin-top: 48px; } span.scs__alphabar-alphabet__keys { opacity: 0.2; } @media (max-width: 650px) { .scs__results-letter { text-align: left; font-size: 24px; padding-top: 3rem; font-weight: 300; color: #080808; margin: 0px; line-height: 36px; } .scs__results-letter::after { content: ""; display: block; margin: 0; background-color: #FFC400; width: 50px; height: 3px; } .scs__searchBar-btn { width: 20%; height: 40px; background-color: #FFC400; position: relative; border-radius: 20px 20px; font-size: 1rem; height: 46px; border: none; padding: 5px 5px; } .scs__results-filter { padding-left: 0; margin-bottom: 0; width: 100%; margin-top: 1.5rem; } .scs__results-filterlist { padding: 0; display: inline-block; width: 100%; } } li.scs__results-filterlist a sup { top: 2px; } h2.scs__searchBar-Header { font-size: 2rem; font-weight: 500; } </style>
<section class="scs__glossary ups-container"data-learn="Learn More"><div class=scs__searchBar><h2 class=scs__searchBar-Header>Search for glossary term</h2><div class="scs__searchBar-wrapper ups-form_group ups-input"data-plugin=inputControl><div class="scs__searchBar-inputwrapper ups-input_wrapper ups-text_wrapper"><input autocomplete=off class="scs__searchBar-input ups-form_input"data-name="Enter Term"id=scs__searchBar-input name=keyword_type placeholder="Enter Term"></div><button class="scs__searchBar-btn ups-analytics ups-cta ups-cta-primary"data-content-block-id=M66 data-event-id=22 data-on-site-search-type=Knowledge><span>Search</span><span aria-hidden=true class="icon ups-icon-right-arrow"></span></button></div></div><div class=scs__glossaryContainer><div class=scs__alphabar><nav class=scs__alphabar-alphabet></nav></div><div class=scs__results></div><h2 class="scs__hide scs__noresult">No results found</h2></div></section>
<script>
var insertQueryUI = document.createElement("script");
document.getElementsByTagName("body")[0].appendChild(insertQueryUI);
insertQueryUI.src = "https://ajax.googleapis.com/ajax/libs/jqueryui/1.13.2/jquery-ui.min.js";
function glossaryLoad() {
function executePlugins(a, b) {
$.fn[a] = function (c) {
if (!$(this).length)
return $(this);
var d = $(this).data(a);
return d && void 0 !== c && ("string" == typeof c || "object" == typeof c && c.hasOwnProperty("indexOf") && 0 !== c.indexOf("_")) && d[c] && "function" == typeof d[c] ? d[c](Array.prototype.slice.call(arguments, 1)) : "object" != typeof c && c ? void (d ? 0 === c.indexOf("_") ? $.error("Method " + c + " is private!") : $.error("Method " + c + " does not exist.") : $.error("Plugin must be initialised before using method: " + c)) : (d = new b($(this), c),
$(this).data(a, d),
$(this));
}
}
function getPagelink(a) {
var b = "";
if ("/sites" === a.substring(0, 6) || "sites/" === a.substring(0, 6)) {
var c = a.substring(a.indexOf("/") + 1);
c = c.substring(c.indexOf("/") + 1),
c = c.substring(c.indexOf("/") + 1),
c = c.substring(0, c.lastIndexOf(".")),
b = "$UPS_LINK[pageURL]",
b = b.replace("pageURL", c)
} else
b = a;
return b
}
var locale = $('meta[name="ups-locale"]').prop('content');
var code = utag_data.page_country_code;
var querypara = "country=" + code + "&" + "locale=" + locale;
(function ($) {
var PLUGIN_NS = 'SCSGlossary';
var Plugin = function (target, options) {
var plugin = this;
plugin.$T = $(target);
plugin.options = $.extend(
true,
{},
options
);
plugin._init();
return plugin;
};
Plugin.prototype._init = function () {
var plugin = this;
plugin.$jsonContent = {};
plugin.$type = plugin.options.type;
plugin.stickyClass = "ups-page_scroll";
plugin.$resultContainerCn = ".scs__results";
plugin.$searchResCn = '.scs__results-filterlist';
plugin.$searchListHideCn = 'scs__hide';
plugin.$searchStickyCn = '.scs__backTop';
plugin.$navBar = plugin.$T.find(".scs__alphabar-alphabet");
plugin.searchEnablerClass = "scs__result-active";
plugin.resultFound = "scs__filterlist-found";
plugin.$searchInputCn = '#scs__searchBar-input';
plugin.$siteSearchTypeCn = "data-on-site-search-type";
plugin.$dataContentIdCn = "data-content-id";
plugin.$queryParam = plugin.options.constParams;
plugin.$urlParams = plugin.options.urlParams;
plugin.$containerList = plugin.$T.find(plugin.$resultContainerCn);
plugin.resultContainer = plugin.$T.find(plugin.$resultContainerCn);
plugin.resultNav = plugin.resultContainer.find(plugin.$searchResCn);
plugin.alphaBar = plugin.$T.find('.scs__alphabar');
plugin.headerHeight = $("#ups-headerWrap").height() + $('.ups-header_accordion').height();
plugin.inActiveClass = 'scs__inactive';
plugin.activeClass = 'scs__active';
plugin.$noResultContainer = plugin.$T.find('.scs__noresult');
plugin._callAjax();
plugin._autoSearch();
};
Plugin.prototype._callAjax = function () {
var plugin = this;
var glossaryData = [
{
"result": {
"A": [
{
"dcrId": "",
"contentBlockTitle": "Air Freight",
"contenturl": "Air freight"
},
{
"dcrId": "",
"contentBlockTitle": "Air Waybill (AWB)",
"contenturl": "Air Waybill (AWB)"
}
],
"B": [
{
"dcrId": "",
"contentBlockTitle": "Bill of Lading (BOL)",
"contenturl": "Bill of Lading (BOL)"
},
{
"dcrId": "",
"contentBlockTitle": "Blank Sailing",
"contenturl": "Blank Sailing"
},
{
"dcrId": "",
"contentBlockTitle": "Bulk Cargo",
"contenturl": "Bulk Cargo"
}
],
"C": [
{
"dcrId": "",
"contentBlockTitle": "Cargo Insurance",
"contenturl": "Cargo Insurance"
},
{
"dcrId": "",
"contentBlockTitle": "Carriage and Insurance Paid To (CIP)",
"contenturl": "Carriage and Insurance Paid To (CIP)"
},
{
"dcrId": "",
"contentBlockTitle": "Carriage Paid To (CPT)",
"contenturl": "Carriage Paid To (CPT)"
},
{
"dcrId": "",
"contentBlockTitle": "Chargeable Weight",
"contenturl": "Chargeable Weight"
},
{
"dcrId": "",
"contentBlockTitle": "Cold Chain",
"contenturl": "Cold Chain"
},
{
"dcrId": "",
"contentBlockTitle": "Consignee",
"contenturl": "Consignee"
},
{
"dcrId": "",
"contentBlockTitle": "Consignment Note",
"contenturl": "Consignment Note"
},
{
"dcrId": "",
"contentBlockTitle": "Consignor",
"contenturl": "Consignor"
},
{
"dcrId": "",
"contentBlockTitle": "Cost and Freight (CFR)",
"contenturl": "Cost and Freight (CFR)"
},
{
"dcrId": "",
"contentBlockTitle": "Cost, Insurance, and Freight (CIF)",
"contenturl": "Cost Insurance and Freight (CIF)"
},
{
"dcrId": "",
"contentBlockTitle": "Cubic Meter (CBM)",
"contenturl": "Cubic Meter (CBM)"
},
{
"dcrId": "",
"contentBlockTitle": "Customs Bond",
"contenturl": "Customs Bond"
},
{
"dcrId": "",
"contentBlockTitle": "Customs Broker",
"contenturl": "Customs Broker"
},
{
"dcrId": "",
"contentBlockTitle": "Customs Clearance Fee",
"contenturl": "Customs Clearance Fee"
},
{
"dcrId": "",
"contentBlockTitle": "Customs Value",
"contenturl": "Customs Value"
}
],
"D": [
{
"dcrId": "",
"contentBlockTitle": "Delivered at Place (DAP)",
"contenturl": "Delivered at Place (DAP)"
},
{
"dcrId": "",
"contentBlockTitle": "Delivered at Place Unloaded (DPU)",
"contenturl": "Delivered at Place Unloaded (DPU)"
},
{
"dcrId": "",
"contentBlockTitle": "Delivered Duty Paid (DDP)",
"contenturl": "Delivered Duty Paid (DDP)"
},
{
"dcrId": "",
"contentBlockTitle": "Demurrage",
"contenturl": "Demurrage"
},
{
"dcrId": "",
"contentBlockTitle": "Destination Terminal Handling Charges (DTHC)",
"contenturl": "Destination Terminal Handling Charges (DTHC)"
},
{
"dcrId": "",
"contentBlockTitle": "Detention",
"contenturl": "Detention"
},
{
"dcrId": "",
"contentBlockTitle": "DIM Weight",
"contenturl": "DIM Weight"
},
{
"dcrId": "",
"contentBlockTitle": "Dimensional Weight",
"contenturl": "Dimensional Weight"
},
{
"dcrId": "",
"contentBlockTitle": "Dispatch Note",
"contenturl": "Dispatch Note"
},
{
"dcrId": "",
"contentBlockTitle": "Drayage",
"contenturl": "Drayage"
},
{
"dcrId": "",
"contentBlockTitle": "Drayage Charge",
"contenturl": "Drayage Charge"
}
],
"E": [
{
"dcrId": "",
"contentBlockTitle": "Ex Works (EXW)",
"contenturl": "Ex Works (EXW)"
},
{
"dcrId": "",
"contentBlockTitle": "Exporter",
"contenturl": "Exporter"
}
],
"F": [
{
"dcrId": "",
"contentBlockTitle": "Fiscal Representative",
"contenturl": "Fiscal Representative"
},
{
"dcrId": "",
"contentBlockTitle": "Foreign Trade Zone (FTZ)",
"contenturl": "Foreign Trade Zone (FTZ)"
},
{
"dcrId": "",
"contentBlockTitle": "Free Alongside Ship (FAS)",
"contenturl": "Free Alongside Ship (FAS)"
},
{
"dcrId": "",
"contentBlockTitle": "Free Carrier (FCA)",
"contenturl": "Free Carrier (FCA)"
},
{
"dcrId": "",
"contentBlockTitle": "Free on Board (FOB)",
"contenturl": "Free on Board (FOB)"
},
{
"dcrId": "",
"contentBlockTitle": "Freight Class",
"contenturl": "Freight Class"
},
{
"dcrId": "",
"contentBlockTitle": "Freight Forwarder",
"contenturl": "Freight Forwarder"
},
{
"dcrId": "",
"contentBlockTitle": "Freight Insurance",
"contenturl": "Freight Insurance"
},
{
"dcrId": "",
"contentBlockTitle": "Fuel Surcharge",
"contenturl": "Fuel Surcharge"
},
{
"dcrId": "",
"contentBlockTitle": "Full Container Load (FCL)",
"contenturl": "Full Container Load (FCL)"
}
],
"G": [],
"H": [
{
"dcrId": "",
"contentBlockTitle": "HC (High Cube) Container",
"contenturl": "HC Container"
},
{
"dcrId": "",
"contentBlockTitle": "HS Code",
"contenturl": "HS Code"
},
{
"dcrId": "",
"contentBlockTitle": "HTS Code",
"contenturl": "HTS Code"
}
],
"I": [
{
"dcrId": "",
"contentBlockTitle": "Incoterms<sup>®</sup>",
"contenturl": "Incoterms"
},
{
"dcrId": "",
"contentBlockTitle": "Importer of Record",
"contenturl": "Importer of Record"
},
{
"dcrId": "",
"contentBlockTitle": "Intermodal Transport",
"contenturl": "Intermodal Transport"
}
],
"J": [],
"K": [
{
"dcrId": "",
"contentBlockTitle": "Known Shipper",
"contenturl": "Known Shipper"
}
],
"L": [
{
"dcrId": "",
"contentBlockTitle": "Lading",
"contenturl": "Lading"
},
{
"dcrId": "",
"contentBlockTitle": "Less-Than-Container Load (LCL)",
"contenturl": "Less-Than-Container Load (LCL)"
},
{
"dcrId": "",
"contentBlockTitle": "Letter of Indemnity",
"contenturl": "Letter of Indemnity"
}
],
"M": [
{
"dcrId": "",
"contentBlockTitle": "Marine Cargo Insurance",
"contenturl": "Marine Cargo Insurance"
},
{
"dcrId": "",
"contentBlockTitle": "Merged D&D",
"contenturl": "merged d and d"
},
{
"dcrId": "",
"contentBlockTitle": "Multimodal Transport",
"contenturl": "Multimodal Transport"
}
],
"N": [
{
"dcrId": "",
"contentBlockTitle": "Non-Vessel Operating Common Carrier (NVOCC)",
"contenturl": "nvocc"
},
{
"dcrId": "",
"contentBlockTitle": "Notify Party",
"contenturl": "Notify Party"
}
],
"O": [
{
"dcrId": "",
"contentBlockTitle": "Ocean Freight",
"contenturl": "Ocean Freight"
}
],
"P": [
{
"dcrId": "",
"contentBlockTitle": "Packing List (Shipping)",
"contenturl": "Packing List (Shipping)"
},
{
"dcrId": "",
"contentBlockTitle": "Pallet",
"contenturl": "Pallet"
},
{
"dcrId": "",
"contentBlockTitle": "Palletization",
"contenturl": "Palletization"
}
],
"Q": [],
"R": [
{
"dcrId": "",
"contentBlockTitle": "Reverse Logistics",
"contenturl": "Reverse Logistics"
}
],
"S": [
{
"dcrId": "",
"contentBlockTitle": "Sea Waybill",
"contenturl": "Sea Waybill"
},
{
"dcrId": "",
"contentBlockTitle": "Shipper's Letter of Instruction (SLI)",
"contenturl": "Shippers Letter of Instruction (SLI)"
}
],
"T": [
{
"dcrId": "",
"contentBlockTitle": "Transloading",
"contenturl": "Transloading"
},
{
"dcrId": "",
"contentBlockTitle": "Twenty-Foot Equivalent Unit (TEU)",
"contenturl": "teu container"
}
],
"U": [
{
"dcrId": "",
"contentBlockTitle": "Uniform Commercial Code (UCC)",
"contenturl": "Uniform Commercial Code (UCC)"
},
{
"dcrId": "",
"contentBlockTitle": "Unit Load Device (ULD)",
"contenturl": "Unit Load Device (ULD)"
}
],
"V": [
{
"dcrId": "",
"contentBlockTitle": "Value Added Tax (VAT)",
"contenturl": "Value Added Tax (VAT)"
}
],
"W": [
{
"dcrId": "",
"contentBlockTitle": "Wharfage",
"contenturl": "Wharfage"
}
],
"X": [],
"Y": [],
"Z": []
},
"url": "glossary-term/"
}
]
plugin.jsonContent = glossaryData[0];
plugin._createDOM();
plugin._bindAutocomplete();
};
Plugin.prototype._createAuthorHTML = function (plugin, value, $mainurl, $urlAttributes) {
var $authorHref = (value.authorName ? value.authorName.replace(/[^a-zA-Z0-9]+/g).toLowerCase() : '')
+ (value.authorMiddleName ? '-'
+ value.authorMiddleName.replace(/[^a-zA-Z0-9]+/g, '-').toLowerCase() : '')
+ (value.authorLastName ? '-'
+ value.authorLastName.replace(/[^a-zA-Z0-9]+/g, '-').toLowerCase() : '');
if ($authorHref && $authorHref.length === $authorHref.lastIndexOf('-') + 1) {
$authorHref = $authorHref.substr(0, $authorHref.length - 1);
}
value.label = (value.authorName ? value.authorName + " " : '')
+ (value.authorMiddleName ? value.authorMiddleName + " " : '')
+ (value.authorLastName ? value.authorLastName : '');
value.href = getPagelink(($mainurl ? $mainurl : plugin.jsonContent.url)
+ "?name="
+ $authorHref + "&kid="
+ value.bioId + ($urlAttributes ? "&" + $urlAttributes : ''));
var $staticHtml = "";
$staticHtml += "<li class='ups-search_result ups-search_layout'><div class='ups-search_image'><img data-src='"
+ (value.authorLargeImage && value.authorLargeImage.image_src ? value.authorLargeImage.image_src : plugin.options.dfltImg)
+ "' class='list_image lazy' alt='"
+ (value.authorLargeImage && value.authorLargeImage.image_alt_text ? value.authorLargeImage.image_alt_text : '')
+ "' src='" + plugin.options.dfltImg + "'></div><div class='ups-search_textContainer'><h2>"
+ value.label + "</h2><p>"
+ (value.smallDescription ? value.smallDescription : '')
+ "</p><a class='ups-link' data-content-block-id='M66' data-event-id='21' data-content-id='"
+ value.bioId + "' data-author-name='"
+ value.authorName + " "
+ value.authorMiddleName + " "
+ value.authorLastName + "' href='"
+ value.href + "'>"
+ plugin.$T.attr('data-learn') + "</a></div></li>";
return $staticHtml;
};
Plugin.prototype._createGlossaryHTML = function (plugin, key, idx, value) {
var $staticHtml = "";
value.label = value.contentBlockTitle;
value.urldata = value.contenturl;
value.trim = value.urldata.replace(/\s*\(.*?\)\s*/g, "");
value.href = getPagelink(plugin.jsonContent.url
+ (value.trim ? value.trim.replace(/[^a-zA-Z0-9]+/g, '-').toLowerCase() : '-'));
$staticHtml += "<li class='scs__results-filterlist'><a id='ups-author_"
+ key + idx + "' class='scs__results-links ups-link' data-content-block-id='M66' data-event-id='21' data-content-id='"
+ value.dcrId + "' data-author-name='"
+ value.label + "' href='"
+ value.href + "'>"
+ value.label + "</a></li>";
return $staticHtml;
};
Plugin.prototype._createHTML = function (plugin, key, $mainurl, $urlAttributes) {
return function (idx, value) {
if (plugin.$type === 'author') {
return plugin._createAuthorHTML(plugin, value, $mainurl, $urlAttributes);
}
return plugin._createGlossaryHTML(plugin, key, idx, value);
};
};
Plugin.prototype._checkForValidResponse = function (response_obj) {
return (response_obj.jsonContent !== undefined && response_obj.jsonContent !== null && response_obj.jsonContent.result !== undefined) ? true : false
};
Plugin.prototype._createAlphabetSection = function (plugin, $mainurl, $urlAttributes) {
var iterator, $count = 0, $staticHtml = '', $navBar = '';
var getIterator = function (index, value) {
$staticHtml += iterator(index, value);
};
for (var result in plugin.resultData) {
iterator = plugin._createHTML(plugin, result, $mainurl, $urlAttributes);
if (result !== plugin.$type) {
$count++;
$staticHtml += "<div class='scs__results-container scs__search-tableformat' id='ups-"
+ $count + "_hash'><div class='scs__results-alphabet'><h3 class='scs__results-letter'>"
+ result + "</h3></div><ul class='scs__results-filter'>";
var $obj = plugin.resultData[result];
if ($obj && Object.keys($obj).length > 0) {
$navBar += '<a class="scs__alphabar-alphabet__keys" data-link-name="'
+ result + ':_search" data-content-block-id="M66" data-event-id="21" data-hash="ups-'
+ $count + '_hash" href="#ups-'+ $count + '_hash"'
+ $count + '" role="button"><span class="ups-readerTxt">Jump to the letter </span>'
+ result + '</a>';
if ($.isPlainObject($obj)) {
$obj = [$obj];
}
$.each($obj, getIterator);
plugin.resultData[plugin.$type] = plugin.resultData[plugin.$type].concat($obj);
} else {
$navBar += '<span class="scs__alphabar-alphabet__keys scs__alphabar-keydisable" data-hash="ups-'
+ $count + '_hash" href="#' + $count
+ '" role="button"><span class="ups-readerTxt">Jump to the letter </span>'
+ result + '</span>';
}
$staticHtml += "</ul></div>";
}
}
plugin.$containerList.html($staticHtml);
plugin.$navBar.html($navBar);
}
Plugin.prototype._createDOM = function () {
var plugin = this;
if (plugin._checkForValidResponse(plugin)) {
plugin.resultData = JSON.parse(JSON.stringify(plugin.jsonContent.result));
if (plugin.resultData !== undefined) {
var $mainurl = plugin.jsonContent.url.split('?')[0],
$urlAttributes = plugin.jsonContent.url.split('?')[1];
plugin.resultData[plugin.$type] = [];
plugin._createAlphabetSection(plugin, $mainurl, $urlAttributes);
plugin._bindEvents();
if (plugin.$type === 'author' && plugin.$T.find('.lazy').length > 0) {
plugin.$T.find('.lazy').lazy();
}
plugin.$noResultContainer.addClass(plugin.$searchListHideCn);
plugin.$T.parents('.container-fluid').css({
'overflow': 'visible'
});
} else {
plugin._resultNotFound();
}
} else {
plugin._resultNotFound();
}
plugin._afterEvents();
};
Plugin.prototype._afterEvents = function (params) {
var plugin = this;
plugin.$T.find('.ups-link').bind('click', function () {
var _self = $(this);
var component = {};
if (plugin.$type === 'author') {
component.author_name = _self.siblings('h2').text();
} else {
component.glossary_name = _self.text();
}
});
};
Plugin.prototype._bindEvents = function () {
var plugin = this;
plugin.$T.find('.scs__alphabar-alphabet__keys:not(.scs__alphabar-keydisable)').click(function (e) {
plugin.headerHeight = $("#ups-navContainer").height();
plugin._resultAllFound();
var _self = $(this);
var yAxis = _self.data('hash');
plugin.$containerList.find("#" + yAxis + " .scs__results-letter").attr('tabindex', '-1').focus();
if (!$('body').hasClass('sticky')) {
plugin.headerHeight = plugin.headerHeight * 2;
}
window.scrollTo(plugin.$containerList.find("#" + yAxis).offset().left, (plugin.$containerList.find("#" + yAxis).offset().top - plugin.headerHeight));
});
$(window).scroll(function () {
if ($(window).scrollTop() > plugin.alphaBar.offset().top + (plugin.alphaBar.height() / 2)) {
plugin.$T.find(".scs__glossaryContainer").addClass(plugin.stickyClass);
} else {
plugin.$T.find(".scs__glossaryContainer").removeClass(plugin.stickyClass);
}
if ($(window).scrollTop() > plugin.$T.find(plugin.$resultContainerCn)[0].scrollHeight - 150) {
plugin.$T.find(plugin.$searchStickyCn).addClass('scs__backTop-fixed');
} else {
plugin.$T.find(plugin.$searchStickyCn).removeClass('scs__backTop-fixed');
}
});
plugin.$T.find(plugin.$searchStickyCn).click(function () {
var _self = $(this);
$('html, body').animate({
scrollTop: plugin.$T.offset().top - plugin.headerHeight
}, 150);
plugin.$T.find(plugin.$searchInputCn).focus();
var component = {};
plugin._executeSearchAnalytics(component, _self);
});
plugin.$T.find('.ups-headerTools_widgetClose').click(function () {
var _self = $(this);
var _parentElm = _self.parent();
var _validatePrnt = _parentElm.hasClass(plugin.activeClass);
plugin.$T.find('.ups-search_result.' + plugin.activeClass).removeClass(plugin.activeClass);
if (!_validatePrnt) {
_parentElm.addClass(plugin.activeClass);
}
});
};
Plugin.prototype._bindAutocomplete = function () {
var plugin = this;
plugin.$T.find(plugin.$searchInputCn).autocomplete({
source: function (request, response) {
var results = $.ui.autocomplete.filter(plugin.resultData[plugin.$type], request.term);
response(results.slice(0, 3));
},
minLength: 3,
select: function (e, ui) {
window.location = ui.item.href + ".page";
}
}).autocomplete('widget').addClass('ups-check_index');
plugin.$T.find(plugin.$searchInputCn).bind("keypress", function (event) {
if (event.which === 13) {
$(".ui-menu.ui-widget").hide();
plugin.$T.find('.scs__searchBar-btn').click();
}
});
};
Plugin.prototype._searchTemplate = function (plugin, _value) {
var results = plugin.$type === 'author' ?
plugin.resultContainer.find('h2:contains("' + _value + '")')
: plugin.resultContainer.find('a.scs__results-links:contains("' + _value + '") , h2:contains("' + _value + '")');
plugin.resultContainer.addClass(plugin.searchEnablerClass);
plugin.resultContainer.find(plugin.$searchResCn).removeClass(plugin.resultFound);
if (results.length > 0) {
results.parents(plugin.$searchResCn).addClass(plugin.resultFound);
} else {
plugin.$noResultContainer.removeClass(plugin.$searchListHideCn);
}
$.each(plugin.resultContainer.find('.scs__results-container.scs__search-tableformat'), function () {
var _loopInstance = $(this);
if (_loopInstance.find(".scs__results-filterlist." + plugin.resultFound).length === 0 || _loopInstance.find(".scs__results-filterlist." + plugin.resultFound) === '') {
_loopInstance.addClass(plugin.inActiveClass);
} else {
_loopInstance.removeClass(plugin.inActiveClass);
}
});
if (results.length > 0) {
window.scrollTo(plugin.alphaBar.offset().left, (plugin.alphaBar.offset().top - plugin.headerHeight));
} else {
window.scrollTo(plugin.$noResultContainer.offset().left, (plugin.$noResultContainer.offset().top - (plugin.headerHeight * 2)));
}
};
Plugin.prototype._autoSearch = function () {
var plugin = this;
var timeout;
$.expr[":"].contains = $.expr.createPseudo(function (arg) {
return function (elem) {
return $(elem).text().toUpperCase().indexOf(arg.toUpperCase()) >= 0;
};
});
plugin.$T.find('.scs__searchBar-btn').on('click', function (e) {
var _self = $(this);
var _value = $(plugin.$searchInputCn).val();
plugin.resultContainer.removeClass(plugin.$searchListHideCn);
plugin.$noResultContainer.addClass(plugin.$searchListHideCn);
if (_value.length > 2) {
if (timeout) {
clearTimeout(timeout);
}
timeout = setTimeout(plugin._searchTemplate(plugin, _value), plugin.duration);
} else if (_value.length === 0 || _value === '') {
plugin._resultAllFound();
$('html, body').animate({
scrollTop: plugin.$T.offset().top - plugin.headerHeight
}, 300);
}
var component = {};
component.OnSiteSearchTerm = plugin.$T.find(plugin.$searchInputCn).val();
});
};
Plugin.prototype._executeSearchAnalytics = function (component, _element, _type) {
var plugin = this;
component.link_page_name = document.title;
component.page_id = utag_data.page_id;
if (!_element.hasClass('ups-link')) {
if (_type && _type === 'alphabet') {
component.link_name = _element.attr('data-link-name');
} else {
component.link_name = _element.text().trim();
}
}
component.event_id = _element.attr('data-event-id');
if (_element.attr(plugin.$siteSearchTypeCn) !== undefined && _element.attr(plugin.$siteSearchTypeCn) !== '') {
component.on_site_search_type = _element.attr(plugin.$siteSearchTypeCn);
}
if (_element.attr(plugin.$dataContentIdCn) !== undefined && _element.attr(plugin.$dataContentIdCn) !== '') {
component.content_id = _element.attr(plugin.$dataContentIdCn);
}
component.content_block_id = _element.attr("data-content-block-id");
component.navigation_class = _element.parent().parent().attr('class');
if (typeof utag !== 'undefined' && utag !== undefined) {
utag.track('link', component);
}
};
Plugin.prototype._resultNotFound = function () {
var plugin = this;
plugin.resultNav.removeClass(plugin.resultFound);
plugin.resultContainer.removeClass(plugin.searchEnablerClass);
plugin.$noResultContainer.removeClass(plugin.$searchListHideCn);
plugin.resultContainer.addClass(plugin.$searchListHideCn);
};
Plugin.prototype._resultAllFound = function () {
var plugin = this;
$.each(plugin.resultContainer.find('.scs__results-container.scs__search-tableformat'), function () {
var _loopInstance = $(this);
_loopInstance.removeClass(plugin.inActiveClass);
});
plugin.resultContainer.removeClass(plugin.searchEnablerClass);
plugin.resultContainer.removeClass(plugin.$searchListHideCn);
plugin.$noResultContainer.addClass(plugin.$searchListHideCn);
};
executePlugins(PLUGIN_NS, Plugin);
})(jQuery);
var _glossaryListing = $('.scs__glossary');
if (_glossaryListing.length) {
_glossaryListing.SCSGlossary({
type: "glossary",
urlParams: "",
constParams: querypara
});
}
$(document).on("click", ".ui-autocomplete.ui-front .ui-menu-item .ui-menu-item-wrapper", function () {
let LinkName = $(this).text();
let Searchresult = $(".scs__searchBar-inputwrapper .scs__searchBar-input").val();
utag_data.destination_url = "#"
utag_data.link_name = LinkName
utag_data.link_page_name = document.title
utag_data.event_desc = "Interaction | Search Widget"
utag_data.event_flag = "generic_event_counter"
utag_data.on_site_search_assist = LinkName
utag_data.on_site_search_assist_type = "Link"
utag_data.on_site_search_assist_src = "Popular Terms"
utag.link(utag_data)
})
$(document).on("click", ".scs__alphabar-alphabet__keys", function (e) {
let dataLink = $(this).attr("data-link-name");
utag_data.destination_url = "#"
utag_data.link_name = dataLink
utag_data.link_page_name = document.title
utag_data.event_desc = "Interaction | Letter Widget"
utag_data.event_flag = "generic_event_counter"
utag.link(utag_data)
})
$(document).on("click", ".scs__results:not(.scs__result-active) .scs__results-filterlist .scs__results-links ", function () {
let dataHref = $(this).attr("href");
let dataName = $(this).attr("data-author-name")
utag_data.destination_url = dataHref
utag_data.link_name = dataName
utag_data.link_page_name = document.title
utag_data.event_desc = "Interaction | Recommended Links | Letter Widgets"
utag_data.event_flag = "generic_event_counter"
utag_data.glossary_name = dataName
utag.link(utag_data)
});
$(document).on("click", ".scs__searchBar .scs__searchBar-btn", function () {
let SearchCount = $(".scs__results.scs__result-active .scs__results-container:not(.scs__inactive) .scs__filterlist-found .scs__results-links").length;
let Searchresult = $(".scs__searchBar .scs__searchBar-wrapper .scs__searchBar-input").val();
utag_data.destination_url = "#"
utag_data.link_name = "Search"
utag_data.link_page_name = document.title
utag_data.event_desc = "Search Results Loaded"
utag_data.event_flag = "generic_event_counter"
utag_data.on_site_search_results = SearchCount
utag_data.on_site_search_term = Searchresult
utag.link(utag_data)
});
$(document).on("click", ".scs__results.scs__result-active .scs__results-container:not(.scs__inactive) .scs__filterlist-found .scs__results-links", function () {
let dataHref = $(this).attr("href");
let dataName = $(this).attr("data-author-name")
utag_data.destination_url = dataHref
utag_data.link_name = dataName
utag_data.link_page_name = document.title
utag_data.event_desc = "Interaction | Searched Results"
utag_data.event_flag = "generic_event_counter"
utag.link(utag_data)
});
}
setTimeout(glossaryLoad, 500);
</script>
Ready to Ship?

The UPS® Forwarding Hub
Our all-in-one customer portal lets you get and compare quotes, book and track shipments all on one modern, easy-to-navigate platform.

Stay Informed
Get weekly insights into all things freight and logistics, delivered right to your inbox.