arrowWidth = 12; break; case 'lg': arrowWidth = 20; break; case 'xl': arrowWidth = 24; break; default: arrowWidth = 16; break; } } var arrowWithBgClass = arrowBg !== '' || arrowBgHover !== '' || showBorder !== '' ? ' t-slds__arrow-withbg' : ''; var arrowStyle = ''; if (arrowBg !== '' || arrowBgHover !== '' || showBorder !== '') { arrowStyle += 'style="'; arrowStyle += 'width:' + arrowBgWidth + 'px;'; arrowStyle += 'height:' + arrowBgWidth + 'px;'; if (showBorder !== '') { arrowStyle += 'border: ' + arrowBorderSize + 'px solid ' + arrowColor + ';'; } arrowStyle += '"'; } var arrowLabel = ''; if (direction === 'left') { arrowLabel = t_feed_getDictionary('prevarrowlabel', recid); } if (direction === 'right') { arrowLabel = t_feed_getDictionary('nextarrowlabel', recid); } str += '<div class="t-slds__arrow_wrapper t-slds__arrow_wrapper-' + direction + '" data-slide-direction="' + direction + '">' + '<div class="t-slds__arrow t-slds__arrow-' + direction + ' ' + arrowWithBgClass + '" ' + arrowStyle + '>' + '<button type="button" aria-controls="carousel_' + recid + '" aria-disabled="false" aria-label="' + arrowLabel + '" class="t-slds__arrow_body t-slds__arrow_body-' + direction + '" style="width: ' + (arrowWidth + arrowBorderSize) + 'px;">' + '<svg role="presentation" focusable="false" style="display: block" viewBox="0 0 ' + (arrowWidth + arrowBorderSize * 1.3) + ' ' + (arrowWidth * 2 + arrowBorderSize) + '" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">' + '<polyline fill="none" stroke="' + arrowColor + '" stroke-linejoin="butt" stroke-linecap="butt" stroke-width="' + arrowBorderSize + '" points="' + arrowBorderSize / 2 + ',' + arrowBorderSize / 2 + ' ' + (arrowWidth + arrowBorderSize / 2) + ',' + (arrowWidth + arrowBorderSize / 2) + ' ' + arrowBorderSize / 2 + ',' + (arrowWidth * 2 + arrowBorderSize / 2) + '" />' + '</svg>' + '</button>' + '</div>' + '</div>'; return str;}function t_feed_drawSliderDots(recid, galleryItems, opts) { var isGallery = typeof opts.gallery != 'undefined';