"use strict";$(function(){var e=$(".selectpicker"),t=$(".select2"),n=$(".select2-icons");function i(e){return e.id?""+e.text:e.text}e.length&&e.selectpicker(),t.length&&t.each(function(){var e=$(this);e.wrap('
').select2({placeholder:"Select value",dropdownParent:e.parent()})}),n.length&&n.wrap('').select2({dropdownParent:n.parent(),templateResult:i,templateSelection:i,escapeMarkup:function(e){return e}})});