mw.loader.implement("ext.articleFeedback",function(){(function($,mw){var tracked=false;function prefix(key){var version=mw.config.get('wgArticleFeedbackTracking').version||0;return'ext.articleFeedback@'+version+'-'+key;}function isPitchVisible(pitch){return true;}function mutePitch(pitch,duration){}var config={'ratings':mw.config.get('wgArticleFeedbackRatingTypesFlipped'),'pitches':{'join':{'weight':0,'condition':function(){return isPitchVisible('join')&&mw.user.anonymous();},'action':function(){mutePitch('join',1);window.location=$.articleFeedback.fn.trackActionURL(mw.config.get('wgScript')+'?'+$.param({'title':'Special:UserLogin','type':'signup','returnto':mw.config.get('wgPageName')}),'pitch-join-accept-signup');return false;},'title':'articlefeedback-pitch-thanks','message':'articlefeedback-pitch-join-message','body':'articlefeedback-pitch-join-body','accept':'articlefeedback-pitch-join-accept','reject':'articlefeedback-pitch-reject','altAccept':'articlefeedback-pitch-join-login',
'altAction':function(){mutePitch('join',1);window.location=$.articleFeedback.fn.trackActionURL(mw.config.get('wgScript')+'?'+$.param({'title':'Special:UserLogin','returnto':mw.config.get('wgPageName')}),'pitch-join-accept-login');return false;}},'edit':{'weight':1,'condition':function(){var restrictions=mw.config.get('wgRestrictionEdit',[]);if(restrictions.length){var groups=mw.config.get('wgUserGroups');for(var i=0;i<restrictions.length;i++){if($.inArray(restrictions[i],groups)<0){return false;}}}return isPitchVisible('edit');},'action':function(){var params={'title':mw.config.get('wgPageName'),'action':'edit'};if(tracked){params.clicktrackingsession=$.cookie('clicktracking-session');params.clicktrackingevent=prefix('pitch-edit-save');}window.location=$.articleFeedback.fn.trackActionURL(mw.config.get('wgScript')+'?'+$.param(params),'pitch-edit-accept');return false;},'title':'articlefeedback-pitch-thanks','message':'articlefeedback-pitch-edit-message','body':
'articlefeedback-pitch-edit-body','accept':'articlefeedback-pitch-edit-accept','reject':'articlefeedback-pitch-reject'}}};var $aftDiv=$('<div id="mw-articlefeedback"></div>').articleFeedback(config);var legacyskins=['standard','cologneblue','nostalgia'];if($('#catlinks').length&&$.inArray(mw.config.get('skin'),legacyskins)<0){$aftDiv.insertBefore('#catlinks');}else{mw.util.$content.append($aftDiv);}var $tbAft=$('<li id="t-articlefeedback"><a href="#mw-articlefeedback"></a></li>').find('a').text(mw.msg('articlefeedback-form-switch-label')).click(function(){var $box=$('#mw-articlefeedback');var count=0;var interval=setInterval(function(){$box.animate({'opacity':0.5},100,function(){$box.animate({'opacity':1.0},100);});if(++count>=3){clearInterval(interval);}},200);return true;}).end();$('#p-tb').find('ul').append($tbAft);})(jQuery,mediaWiki);;},{},{"articlefeedback-pitch-reject":"\u4ee5\u540e\u518d\u8bf4","articlefeedback-pitch-or":"\u6216\u8005","articlefeedback-pitch-thanks":
"\u8c22\u8c22\uff01\u4f60\u7684\u8bc4\u5206\u5df2\u4fdd\u5b58\u3002","articlefeedback-pitch-join-message":"\u60a8\u8981\u521b\u5efa\u5e10\u6237\u5417\uff1f","articlefeedback-pitch-join-body":"\u5e10\u6237\u5c06\u5e2e\u52a9\u60a8\u8ddf\u8e2a\u60a8\u6240\u505a\u7684\u7f16\u8f91\uff0c\u53c2\u4e0e\u8ba8\u8bba\uff0c\u5e76\u6210\u4e3a\u793e\u7fa4\u7684\u4e00\u5206\u5b50\u3002","articlefeedback-pitch-join-accept":"\u521b\u5efa\u5e10\u6237","articlefeedback-pitch-join-login":"\u767b\u5f55","articlefeedback-pitch-edit-message":"\u60a8\u77e5\u9053\u60a8\u53ef\u4ee5\u7f16\u8f91\u8fd9\u4e2a\u9875\u9762\u5417\uff1f","articlefeedback-pitch-edit-body":"","articlefeedback-pitch-edit-accept":"\u7f16\u8f91\u672c\u9875","articlefeedback-privacyurl":"http:\/\/wikimediafoundation.org\/wiki\/Feedback_privacy_statement"});mw.loader.implement("ext.articleFeedback.ratingi18n",function(){},{},{"articlefeedback-field-trustworthy-label":"\u53ef\u4fe1\u5ea6","articlefeedback-field-trustworthy-tip":
"\u4f60\u89c9\u5f97\u672c\u6761\u76ee\u6709\u8db3\u591f\u7684\u53c2\u8003\u6587\u732e\uff0c\u5e76\u4e14\u8fd9\u4e9b\u6587\u732e\u7684\u6765\u6e90\u53ef\u9760\u5417\uff1f","articlefeedback-field-trustworthy-tooltip-1":"\u7f3a\u4e4f\u53ef\u9760\u6765\u6e90","articlefeedback-field-trustworthy-tooltip-2":"\u53ef\u9760\u6765\u6e90\u5f88\u5c11","articlefeedback-field-trustworthy-tooltip-3":"\u6709\u5f88\u591a\u53ef\u9760\u6765\u6e90","articlefeedback-field-trustworthy-tooltip-4":"\u6765\u6e90\u76f8\u5f53\u53ef\u9760","articlefeedback-field-trustworthy-tooltip-5":"\u6765\u6e90\u7edd\u5bf9\u53ef\u9760","articlefeedback-field-objective-label":"\u5ba2\u89c2\u6027","articlefeedback-field-objective-tip":"\u4f60\u89c9\u5f97\u672c\u6761\u76ee\u6240\u63cf\u8ff0\u7684\u6240\u6709\u89c2\u70b9\u5bf9\u76f8\u5173\u95ee\u9898\u7684\u8868\u8ff0\u662f\u5426\u516c\u5e73\u5408\u7406\uff0c\u5177\u6709\u4ee3\u8868\u6027\uff1f","articlefeedback-field-objective-tooltip-1":
"\u5b58\u5728\u4e25\u91cd\u7684\u504f\u89c1","articlefeedback-field-objective-tooltip-2":"\u6709\u4e00\u5b9a\u504f\u89c1","articlefeedback-field-objective-tooltip-3":"\u7a0d\u6709\u504f\u89c1","articlefeedback-field-objective-tooltip-4":"\u6ca1\u6709\u660e\u663e\u7684\u504f\u89c1","articlefeedback-field-objective-tooltip-5":"\u5b8c\u5168\u6ca1\u6709\u504f\u89c1","articlefeedback-field-complete-label":"\u5b8c\u6574\u6027","articlefeedback-field-complete-tip":"\u60a8\u89c9\u5f97\u672c\u6761\u76ee\u662f\u5426\u5df2\u7ecf\u6db5\u76d6\u4e86\u6240\u6709\u5fc5\u8981\u7684\u5185\u5bb9\uff1f","articlefeedback-field-complete-tooltip-1":"\u7f3a\u5c11\u7edd\u5927\u591a\u6570\u4fe1\u606f","articlefeedback-field-complete-tooltip-2":"\u53ea\u542b\u6709\u5c11\u91cf\u4fe1\u606f","articlefeedback-field-complete-tooltip-3":"\u5305\u62ec\u4e86\u4e3b\u8981\u7684\u4fe1\u606f\uff0c\u4f46\u662f\u8fd8\u7f3a\u5c11\u5f88\u591a","articlefeedback-field-complete-tooltip-4":
"\u5305\u62ec\u4e86\u5927\u90e8\u5206\u4e3b\u8981\u7684\u4fe1\u606f","articlefeedback-field-complete-tooltip-5":"\u5b8c\u6574\u5168\u9762","articlefeedback-field-wellwritten-label":"\u53ef\u8bfb\u6027","articlefeedback-field-wellwritten-tip":"\u4f60\u89c9\u5f97\u672c\u6761\u76ee\u5185\u5bb9\u7684\u7ec4\u7ec7\u548c\u64b0\u5199\u662f\u5426\u7cbe\u5fc3\u5b8c\u7f8e\uff1f","articlefeedback-field-wellwritten-tooltip-1":"\u4e0d\u77e5\u6240\u4e91","articlefeedback-field-wellwritten-tooltip-2":"\u96be\u4ee5\u7406\u89e3","articlefeedback-field-wellwritten-tooltip-3":"\u6bd4\u8f83\u6e05\u6670","articlefeedback-field-wellwritten-tooltip-4":"\u76f8\u5f53\u6e05\u6670","articlefeedback-field-wellwritten-tooltip-5":"\u975e\u5e38\u6e05\u6670"});mw.loader.implement("jquery.appear",function(){(function($){$.fn.appear=function(fn,options){var settings=$.extend({data:undefined,one:true},options);return this.each(function(){var t=$(this);t.appeared=false;if(!fn){t.trigger('appear',settings.data);return;}var
w=$(window);var check=function(){if(!t.is(':visible')){t.appeared=false;return;}var a=w.scrollLeft();var b=w.scrollTop();var o=t.offset();var x=o.left;var y=o.top;if(y+t.height()>=b&&y<=b+w.height()&&x+t.width()>=a&&x<=a+w.width()){if(!t.appeared)t.trigger('appear',settings.data);}else{t.appeared=false;}};var modifiedFn=function(){t.appeared=true;if(settings.one){w.unbind('scroll',check);var i=$.inArray(check,$.fn.appear.checks);if(i>=0)$.fn.appear.checks.splice(i,1);}fn.apply(this,arguments);};if(settings.one)t.one('appear',settings.data,modifiedFn);else t.bind('appear',settings.data,modifiedFn);w.scroll(check);$.fn.appear.checks.push(check);(check)();});};$.extend($.fn.appear,{checks:[],timeout:null,checkAll:function(){var length=$.fn.appear.checks.length;if(length>0)while(length--)($.fn.appear.checks[length])();},run:function(){if($.fn.appear.timeout)clearTimeout($.fn.appear.timeout);$.fn.appear.timeout=setTimeout($.fn.appear.checkAll,20);}});$.each(['append','prepend','after',
'before','attr','removeAttr','addClass','removeClass','toggleClass','remove','css','show','hide'],function(i,n){var old=$.fn[n];if(old){$.fn[n]=function(){var r=old.apply(this,arguments);$.fn.appear.run();return r;}}});})(jQuery);;},{},{});mw.loader.implement("jquery.articleFeedback",function(){(function($){var tracked=false;var showOptions='show'===mw.user.bucket('ext.articleFeedback-options',mw.config.get('wgArticleFeedbackOptions'));var loadUserRatings=!mw.user.anonymous()||$.cookie(prefix('rated'))==='true';function prefix(key){var version=mw.config.get('wgArticleFeedbackTracking').version||0;return'ext.articleFeedback@'+version+'-'+key;}var updateMailValidityLabel=function(mail,context){var isValid=mw.util.validateEmail(mail),$that=context.$ui.find('.articleFeedback-helpimprove-email');if(isValid===null){$that.removeClass('valid invalid');}else if(isValid){$that.addClass('valid').removeClass('invalid');}else{$that.addClass('invalid').removeClass('valid');}};$.articleFeedback={
'tpl':{'ui':
'\
<div class="articleFeedback-panel">\
	<div class="articleFeedback-buffer articleFeedback-ui">\
		<div class="articleFeedback-switch articleFeedback-switch-report articleFeedback-visibleWith-form" rel="report"><html:msg key="report-switch-label" /></div>\
		<div class="articleFeedback-switch articleFeedback-switch-form articleFeedback-visibleWith-report" rel="form"><html:msg key="form-switch-label" /></div>\
		<div class="articleFeedback-title articleFeedback-visibleWith-form"><html:msg key="form-panel-title" /></div>\
		<div class="articleFeedback-title articleFeedback-visibleWith-report"><html:msg key="report-panel-title" /></div>\
		<div class="articleFeedback-explanation articleFeedback-visibleWith-form"><a class="articleFeedback-explanation-link"><html:msg key="form-panel-explanation" /></a></div>\
		<div class="articleFeedback-description articleFeedback-visibleWith-report"><html:msg key="report-panel-description" /></div>\
		<div style="clear:both;"></div>\
		<div class="articleFeedback-ratings"></div>\
		<div style="clear:both;"></div>\
		<div class="articleFeedback-options">\
			<div class="articleFeedback-expertise articleFeedback-visibleWith-form" >\
				<input type="checkbox" value="general" disabled="disabled" /><label class="articleFeedback-expertise-disabled"><html:msg key="form-panel-expertise" /></label>\
				<div class="articleFeedback-expertise-options">\
					<div><input type="checkbox" value="studies" /><label><html:msg key="form-panel-expertise-studies" /></label></div>\
					<div><input type="checkbox" value="profession" /><label><html:msg key="form-panel-expertise-profession" /></label></div>\
					<div><input type="checkbox" value="hobby" /><label><html:msg key="form-panel-expertise-hobby" /></label></div>\
					<div><input type="checkbox" value="other" /><label><html:msg key="form-panel-expertise-other" /></label></div>\
					<div class="articleFeedback-helpimprove">\
						<input type="checkbox" value="helpimprove-email" />\
						<label><html:msg key="form-panel-helpimprove" /></label>\
						<input type="text" placeholder="" class="articleFeedback-helpimprove-email" />\
						<div class="articleFeedback-helpimprove-note"></div>\
					</div>\
				</div>\
			</div>\
			<div style="clear:both;"></div>\
		</div>\
		<button class="articleFeedback-submit articleFeedback-visibleWith-form" type="submit" disabled="disabled"><html:msg key="form-panel-submit" /></button>\
		<div class="articleFeedback-success articleFeedback-visibleWith-form"><span><html:msg key="form-panel-success" /></span></div>\
		<div class="articleFeedback-pending articleFeedback-visibleWith-form"><span><html:msg key="form-panel-pending" /></span></div>\
		<div style="clear:both;"></div>\
		<div class="articleFeedback-notices articleFeedback-visibleWith-form">\
			<div class="articleFeedback-expiry">\
				<div class="articleFeedback-expiry-title"><html:msg key="form-panel-expiry-title" /></div>\
				<div class="articleFeedback-expiry-message"><html:msg key="form-panel-expiry-message" /></div>\
			</div>\
		</div>\
	</div>\
	<div class="articleFeedback-error"><div class="articleFeedback-error-message"><html:msg key="error" /></div></div>\
	<div class="articleFeedback-pitches"></div>\
	<div style="clear:both;"></div>\
</div>\
<div class="articleFeedback-lock"></div>\
		'
,'rating':'\
<div class="articleFeedback-rating">\
	<div class="articleFeedback-label"></div>\
	<input type="hidden" />\
	<div class="articleFeedback-rating-labels articleFeedback-visibleWith-form">\
		<div class="articleFeedback-rating-label" rel="1"></div>\
		<div class="articleFeedback-rating-label" rel="2"></div>\
		<div class="articleFeedback-rating-label" rel="3"></div>\
		<div class="articleFeedback-rating-label" rel="4"></div>\
		<div class="articleFeedback-rating-label" rel="5"></div>\
		<div class="articleFeedback-rating-clear"></div>\
	</div>\
	<div class="articleFeedback-visibleWith-form">\
		<div class="articleFeedback-rating-tooltip"></div>\
	</div>\
	<div class="articleFeedback-rating-average articleFeedback-visibleWith-report"></div>\
	<div class="articleFeedback-rating-meter articleFeedback-visibleWith-report"><div></div></div>\
	<div class="articleFeedback-rating-count articleFeedback-visibleWith-report"></div>\
	<div style="clear:both;"></div>\
</div>\
		','pitch':
'\
<div class="articleFeedback-pitch">\
	<div class="articleFeedback-buffer">\
		<div class="articleFeedback-title"></div>\
		<div class="articleFeedback-pop">\
			<div class="articleFeedback-message"></div>\
			<div class="articleFeedback-body"></div>\
			<button class="articleFeedback-accept"></button>\
			<button class="articleFeedback-reject"></button>\
		</div>\
	</div>\
</div>\
		'},'fn':{'trackClick':function(id){if(tracked&&typeof $.trackActionWithInfo=='function'){$.trackActionWithInfo(prefix(id),mw.config.get('wgTitle')+'|'+mw.config.get('wgCurRevisionId'));}},'trackActionURL':function(url,id){return mw.config.get('wgScriptPath')+'/api.php?'+$.param({'action':'clicktracking','format':'json','eventid':prefix(id),'namespacenumber':mw.config.get('wgNamespaceNumber'),'token':$.cookie('clicktracking-session'),'additional':mw.config.get('wgTitle')+'|'+mw.config.get('wgCurRevisionId'),'redirectto':url});},'enableSubmission':function(state){var context=this;if(state){clearTimeout(
context.successTimeout);context.$ui.find('.articleFeedback-submit').button({'disabled':false}).end().find('.articleFeedback-success span').hide().end().find('.articleFeedback-pending span').fadeIn('fast');}else{context.$ui.find('.articleFeedback-submit').button({'disabled':true}).end().find('.articleFeedback-pending span').hide();}},'updateRating':function(){var $rating=$(this);$rating.find('.articleFeedback-rating-label').removeClass('articleFeedback-rating-label-full');var val=$rating.find('input:hidden').val();var $label=$rating.find('.articleFeedback-rating-label[rel="'+val+'"]');if($label.length){$label.prevAll('.articleFeedback-rating-label').add($label).addClass('articleFeedback-rating-label-full').end().end().nextAll('.articleFeedback-rating-label').removeClass('articleFeedback-rating-label-full');$rating.find('.articleFeedback-rating-clear').show();}else{$rating.find('.articleFeedback-rating-clear').hide();}},'enableExpertise':function($expertise){$expertise.find(
'input:checkbox[value=general]').attr('disabled',false).end().find('.articleFeedback-expertise-disabled').removeClass('articleFeedback-expertise-disabled');},'submit':function(){var context=this;if(mw.user.anonymous()){$.cookie(prefix('rated'),'true',{'expires':365,'path':'/'});loadUserRatings=true;}$.articleFeedback.fn.enableSubmission.call(context,false);context.$ui.find('.articleFeedback-lock').show();var data={};for(var key in context.options.ratings){var id=context.options.ratings[key];data['r'+id]=context.$ui.find('input[name="r'+id+'"]').val();}var expertise=[];context.$ui.find('.articleFeedback-expertise input:checked').each(function(){expertise.push($(this).val());});data.expertise=expertise.join('|');$.ajax({'url':mw.config.get('wgScriptPath')+'/api.php','type':'POST','dataType':'json','context':context,'data':$.extend(data,{'action':'articlefeedback','format':'json','anontoken':mw.user.id(),'pageid':mw.config.get('wgArticleId'),'revid':mw.config.get('wgCurRevisionId'),
'bucket':Number(showOptions)}),'success':function(data){var context=this;if('error'in data){mw.log('ArticleFeedback: Form submission error');mw.log(data.error);context.$ui.find('.articleFeedback-error').show();}else{$.articleFeedback.fn.load.call(context);context.$ui.find('.articleFeedback-lock').hide();}},'error':function(){var context=this;mw.log('Form submission error');context.$ui.find('.articleFeedback-error').show();}});if(context.$ui.find('.articleFeedback-helpimprove-email.valid').length&&!$.isEmpty(context.$ui.find('.articleFeedback-helpimprove-email').val())&&context.$ui.find('.articleFeedback-helpimprove input:checked').length){$.ajax({'url':mw.config.get('wgScriptPath')+'/api.php','type':'POST','dataType':'json','context':context,'data':{'email':context.$ui.find('.articleFeedback-helpimprove-email').val(),'info':$.toJSON({'ratingData':data,'pageTitle':mw.config.get('wgTitle'),'pageCategories':mw.config.get('wgCategories')}),'action':'emailcapture','format':'json'},'success'
:function(data){var context=this;if('error'in data){mw.log('EmailCapture: Form submission error');mw.log(data.error);updateMailValidityLabel('triggererror',context);}else{context.$ui.find('.articleFeedback-helpimprove').hide();$.cookie(prefix('helpimprove-email'),'hide',{'expires':30,'path':'/'});}}});}else{context.$ui.find('.articleFeedback-helpimprove').find('input:checkbox').removeAttr('checked').end().find('.articleFeedback-helpimprove-email').val('').removeClass('valid invalid');}},'executePitch':function(action){var $pitch=$(this).closest('.articleFeedback-pitch');$pitch.find('.articleFeedback-accept, .articleFeedback-altAccept').button({'disabled':true}).end().find('.articleFeedback-reject').attr('disabled',true);var key=$pitch.attr('rel');if(action.call($(this))){$pitch.fadeOut().find('.articleFeedback-accept, .articleFeedback-altAccept').button({'disabled':false}).end().find('.articleFeedback-reject').attr('disabled',false).end().closest('.articleFeedback-panel').find(
'.articleFeedback-ui').show();}return false;},'load':function(){var context=this;$.ajax({'url':mw.config.get('wgScriptPath')+'/api.php','type':'GET','dataType':'json','context':context,'cache':!loadUserRatings,'data':{'action':'query','format':'json','list':'articlefeedback','afpageid':mw.config.get('wgArticleId'),'afanontoken':loadUserRatings?mw.user.id():'','afuserrating':Number(loadUserRatings),'maxage':0,'smaxage':loadUserRatings?0:mw.config.get('wgArticleFeedbackSMaxage')},'success':function(data){var context=this;if(!('query'in data)||!('articlefeedback'in data.query)||!$.isArray(data.query.articlefeedback)||!data.query.articlefeedback.length){mw.log('ArticleFeedback invalid response error.');context.$ui.find('.articleFeedback-error').show();return;}var feedback=data.query.articlefeedback[0];var $expertise=context.$ui.find('.articleFeedback-expertise');if(typeof feedback.expertise==='string'){var tags=feedback.expertise.split('|');if($.inArray('general',tags)!==-1){$expertise.
find('input:checkbox').each(function(){$(this).attr('checked',$.inArray($(this).val(),tags)!==-1);});$expertise.find('.articleFeedback-expertise-options').hide().show();$.articleFeedback.fn.enableExpertise($expertise);}}else{$expertise.find('input:checkbox').attr('checked',false).end().find('.articleFeedback-expertise-options').hide();}var $helpimprove=context.$ui.find('.articleFeedback-helpimprove');var showHelpimprove=true;if($.cookie(prefix('helpimprove-email'))=='hide'||!mw.user.anonymous()){showHelpimprove=false;}if(!showHelpimprove){$helpimprove.hide();}var ratings={};if(typeof feedback.ratings==='object'&&feedback.ratings!==null){for(var i=0;i<feedback.ratings.length;i++){ratings[feedback.ratings[i].ratingid]=feedback.ratings[i];}}context.$ui.find('.articleFeedback-rating').each(function(){var name=$(this).attr('rel');var rating=name in context.options.ratings&&context.options.ratings[name]in ratings?ratings[context.options.ratings[name]]:null;if(rating!==null&&'total'in rating
&&'count'in rating&&rating.total>0&&rating.count>0){var average=rating.total/rating.count;average=average.toFixed(1);$(this).find('.articleFeedback-rating-average').text(mw.language.convertNumber(average,false)).end().find('.articleFeedback-rating-meter div').css('width',Math.round(average*21)+'px').end().find('.articleFeedback-rating-count').text(mw.msg('articlefeedback-report-ratings',rating.countall));}else{$(this).find('.articleFeedback-rating-average').html('&nbsp;').end().find('.articleFeedback-rating-meter div').css('width',0).end().find('.articleFeedback-rating-count').text(mw.msg('articlefeedback-report-empty'));}if(rating!==null&&typeof rating.userrating!=='undefined'){$(this).find('input:hidden').val(rating.userrating);if(rating.userrating>0){$.articleFeedback.fn.enableExpertise($expertise);}}else{$(this).find('input:hidden').val(0);}$.articleFeedback.fn.updateRating.call($(this));});if(typeof feedback.status==='string'&&feedback.status==='expired'){context.$ui.addClass(
'articleFeedback-expired').find('.articleFeedback-expiry').slideDown('fast');}else{context.$ui.removeClass('articleFeedback-expired').find('.articleFeedback-expiry').slideUp('fast');}context.$ui.find('.articleFeedback-rating-new').removeClass('articleFeedback-rating-new');},'error':function(){var context=this;mw.log('Report loading error');context.$ui.find('.articleFeedback-error').show();}});},'build':function(){var context=this;context.$ui.addClass('articleFeedback').append($.articleFeedback.tpl.ui).find('.articleFeedback-ratings').each(function(){for(var key in context.options.ratings){var tipMsg='articlefeedback-field-'+key+'-tip',labelMsg='articlefeedback-field-'+key+'-label';$($.articleFeedback.tpl.rating).attr('rel',key).find('.articleFeedback-label').attr('title',mw.msg(tipMsg)).text(mw.msg(labelMsg)).end().find('.articleFeedback-rating-clear').attr('title',mw.msg('articlefeedback-form-panel-clear')).end().appendTo($(this));}}).end().find('.articleFeedback-explanation-link').
attr('href',mw.config.get('wgArticlePath').replace('$1',mw.config.get('wgArticleFeedbackWhatsThisPage'))).end().find('.articleFeedback-pitches').each(function(){for(var key in context.options.pitches){var $pitch=$($.articleFeedback.tpl.pitch).attr('rel',key).find('.articleFeedback-title').text(mw.msg(context.options.pitches[key].title)).end().find('.articleFeedback-message').text(mw.msg(context.options.pitches[key].message)).end().find('.articleFeedback-body').text(mw.msg(context.options.pitches[key].body)).end().find('.articleFeedback-accept').text(mw.msg(context.options.pitches[key].accept)).click(function(){var $pitch=$(this).closest('.articleFeedback-pitch');var key=$pitch.attr('rel');return $.articleFeedback.fn.executePitch.call($(this),context.options.pitches[key].action);}).button().addClass('ui-button-green').end().find('.articleFeedback-reject').text(mw.msg(context.options.pitches[key].reject)).click(function(){var $pitch=$(this).closest('.articleFeedback-pitch');var key=
$pitch.attr('rel');$.cookie(prefix('pitch-'+key),'hide',{'expires':3,'path':'/'});$.articleFeedback.fn.trackClick('pitch-'+key+'-reject');$pitch.fadeOut('fast',function(){context.$ui.find('.articleFeedback-ui').show();});}).end().appendTo($(this));if(typeof context.options.pitches[key].altAccept=='string'&&typeof context.options.pitches[key].altAction=='function'){$pitch.find('.articleFeedback-accept').after('<button class="articleFeedback-altAccept"></button>').after($('<span class="articleFeedback-pitch-or"></span>').text(mw.msg('articlefeedback-pitch-or'))).end().find('.articleFeedback-altAccept').text(mw.msg(context.options.pitches[key].altAccept)).click(function(){var $pitch=$(this).closest('.articleFeedback-pitch');var key=$pitch.attr('rel');return $.articleFeedback.fn.executePitch.call($(this),context.options.pitches[key].altAction);}).button().addClass('ui-button-green');}}}).end().find('.articleFeedback-helpimprove-note').html(function(){var link=mw.html.element('a',{href:mw.
msg('articlefeedback-privacyurl')},mw.msg('articlefeedback-form-panel-helpimprove-privacy'));return mw.html.escape(mw.msg('articlefeedback-form-panel-helpimprove-note')).replace(/\$1/,link);}).end().find('.articleFeedback-helpimprove-email').attr('placeholder',mw.msg('articlefeedback-form-panel-helpimprove-email-placeholder')).placeholder().one('blur',function(){var $el=$(this);updateMailValidityLabel($el.val(),context);$el.keyup(function(){updateMailValidityLabel($el.val(),context);});}).end().localize({'prefix':'articlefeedback-'}).find('[title]').tipsy({'gravity':'sw','center':false,'fade':true,'delayIn':300,'delayOut':100}).end().find('.articleFeedback-expertise > input:checkbox').change(function(){var $options=context.$ui.find('.articleFeedback-expertise-options');if($(this).is(':checked')){$options.slideDown('fast');}else{$options.slideUp('fast',function(){$options.find('input:checkbox').attr('checked',false);});}}).end().find('.articleFeedback-expertise input:checkbox').each(
function(){var id='articleFeedback-expertise-'+$(this).attr('value');$(this).click(function(){$.articleFeedback.fn.enableSubmission.call(context,true);}).attr('id',id).next().attr('for',id);}).end().find('.articleFeedback-helpimprove > input:checkbox').each(function(){var id='articleFeedback-expertise-'+$(this).attr('value');$(this).attr('id',id).next().attr('for',id);}).end().find('.articleFeedback-helpimprove-email').bind('mousedown click',function(e){$(this).closest('.articleFeedback-helpimprove').find('input:checkbox').attr('checked',true);}).end().find('.articleFeedback-submit').button().addClass('ui-button-blue').click(function(){$.articleFeedback.fn.submit.call(context);var pitches=[];for(var key in context.options.pitches){var display=$.cookie(prefix('pitch-'+key));if(display!=='hide'&&context.options.pitches[key].condition()){var weight='weight'in context.options.pitches[key]?context.options.pitches[key].weight:1;for(var i=0;i<weight;i++){pitches.push(key);}}}if(pitches.length
){var key=pitches[Math.floor(Math.random()*pitches.length)];context.$ui.find('.articleFeedback-pitches').css('width',context.$ui.width()).find('.articleFeedback-pitch[rel="'+key+'"]').fadeIn('fast');context.$ui.find('.articleFeedback-ui').hide();$.articleFeedback.fn.trackClick('pitch-'+key+'-show');}else{$.articleFeedback.fn.trackClick('pitch-'+key+'-bypass');context.$ui.find('.articleFeedback-success span').fadeIn('fast');context.successTimeout=setTimeout(function(){context.$ui.find('.articleFeedback-success span').fadeOut('slow');},5000);}}).end().find('.articleFeedback-visibleWith-report').hide().end().find('.articleFeedback-rating').each(function(){$(this).find('input:hidden').attr('name','r'+context.options.ratings[$(this).attr('rel')]);}).end().find('.articleFeedback-switch').click(function(e){context.$ui.find('.articleFeedback-visibleWith-'+$(this).attr('rel')).show().end().find('.articleFeedback-switch').not($(this)).each(function(){context.$ui.find(
'.articleFeedback-visibleWith-'+$(this).attr('rel')).hide();});e.preventDefault();return false;}).end().find('.articleFeedback-rating-label').hover(function(){var $el=$(this),$rating=$el.closest('.articleFeedback-rating');$el.addClass('articleFeedback-rating-label-hover-head').prevAll('.articleFeedback-rating-label').addClass('articleFeedback-rating-label-hover-tail');$rating.find('.articleFeedback-rating-tooltip').text(mw.msg('articlefeedback-field-'+$rating.attr('rel')+'-tooltip-'+$el.attr('rel'))).show();},function(){var $el=$(this),$rating=$el.closest('.articleFeedback-rating');$el.removeClass('articleFeedback-rating-label-hover-head').prevAll('.articleFeedback-rating-label').removeClass('articleFeedback-rating-label-hover-tail');$rating.closest('.articleFeedback-rating').find('.articleFeedback-rating-tooltip').hide();$.articleFeedback.fn.updateRating.call($rating);}).mousedown(function(){$.articleFeedback.fn.enableSubmission.call(context,true);if(context.$ui.hasClass(
'articleFeedback-expired')){context.$ui.removeClass('articleFeedback-expired').find('.articleFeedback-rating').addClass('articleFeedback-rating-new');}context.$ui.find('.articleFeedback-expertise').each(function(){$.articleFeedback.fn.enableExpertise($(this));}).end();$(this).closest('.articleFeedback-rating').addClass('articleFeedback-rating-new').find('input:hidden').val($(this).attr('rel')).end().end().addClass('articleFeedback-rating-label-down').nextAll().removeClass('articleFeedback-rating-label-full').end().parent().find('.articleFeedback-rating-clear').show();}).mouseup(function(){$(this).removeClass('articleFeedback-rating-label-down');}).end().find('.articleFeedback-rating-clear').click(function(){$.articleFeedback.fn.enableSubmission.call(context,true);$(this).hide();var $rating=$(this).closest('.articleFeedback-rating');$rating.find('input:hidden').val(0);$.articleFeedback.fn.updateRating.call($rating);});if(!showOptions){context.$ui.find('.articleFeedback-options').hide();
}if(loadUserRatings){context.$ui.appear(function(){$.articleFeedback.fn.load.call(context);});}else{context.$ui.find('.articleFeedback-switch-report').one('click',function(){$.articleFeedback.fn.load.call(context);});}}}};$.fn.articleFeedback=function(){var args=arguments;$(this).each(function(){var context=$(this).data('articleFeedback-context');if(!context){context={'$ui':$(this),'options':{'ratings':{},'pitches':{}}};if(typeof args[0]==='object'){context=$.extend(true,context,{'options':args[0]});}$.articleFeedback.fn.build.call(context);$(this).data('articleFeedback-context',context);}});return $(this);};})(jQuery);;},{"css":[
".articleFeedback{position:relative;display:inline-block;margin-top:1em}@media print{.articleFeedback{display:none}}.articleFeedback-panel{background-color:#f9f9f9;border:1px solid #cccccc;padding-bottom:1px}.articleFeedback-error-message{padding:3em;text-align:center}.articleFeedback-error{display:none;position:absolute;top:0;bottom:0;left:0;right:0;background-color:#f9f9f9;border:1px solid #cccccc;padding-bottom:1px}.articleFeedback-lock{display:none;position:absolute;top:0;left:0;right:0}.articleFeedback-pitches{float:absolute;top:1;left:1;right:1;background-color:#f9f9f9}.articleFeedback-pitch{display:none}.articleFeedback-lock{background-color:transparent}.articleFeedback-pitch-or{margin-left:0.75em;margin-right:0.25em}.articleFeedback-reject{border:none;background-color:transparent;cursor:pointer;color:#0645AD;line-height:1.4em}.articleFeedback-reject:hover{text-decoration:underline}.articleFeedback-pitch .articleFeedback-buffer{padding:0.75em 1em}.articleFeedback-panel{float:left}.articleFeedback-panel .articleFeedback-buffer{padding:0.75em 1em}.articleFeedback-title{font-size:1.4em}.articleFeedback-pitch .articleFeedback-title{font-size:1em;padding-left:28px;line-height:32px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAulBMVEX5+fl8pFWDqjTi6Nx5n05/pjOQtEWLsT2kwmR3nyeoyl10lFJ6nVN1mkuJrF2TtWSwzXi82X2PtEKTu0W92oWnxXWZvkuuyXT29/WszGaXuGaQsW3U286GpmbN08eryXru8eyKrjzq7efd49jF0biy0XGawUyrvZaswpZqhFCatny4xaqbvGyhwVqkwXN3m1OgvWK41XuFq1mQr3Ocs4Su0WOUtUuz1mWGqTubuVehv1uCplWjx1Z8pC93iUb/AAAAAXRSTlMAQObYZgAAAMRJREFUeF6lkUVuQ0EQBYc/MzObmcL3v5aTlceZ2bkW3VI99aL1wOss1nIf5g0sZQEJ38LiLPp5dJ3pYSH4lHjxzDMHIVg137G+mwu+hVMQHPdAALox0/ORM0P6N0s784MEcn5tE/y7TFdRVBs/fE+8hIygdLadH1XcgZkhJSsuRoLQ9qvnAstFCH06G4aUzQpwYBL5P5QxSlUrfX7Y2N00SmmXL8A/KudDo9oBpmINJ1V7d2Rd1Et1WgIZrWHVQArG4CXuoiYOJw5+/RcAAAAASUVORK5CYII=);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/success.png?2013-02-04T16:13:20Z)!ie;background-repeat:no-repeat;background-position:left center;margin-bottom:0.5em}.articleFeedback-pitch .articleFeedback-pop{padding:1em;margin:0;background-color:white;border:solid 1px silver; -webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px}.articleFeedback-message{margin:0.33em;font-size:1.5em}.articleFeedback-body{margin:0.5em;color:#333333}.articleFeedback-switch{cursor:pointer;color:#0645AD;float:right;line-height:1.4em;background-repeat:no-repeat;background-position:right center;padding-right:22px}.articleFeedback-switch:hover{text-decoration:underline}.articleFeedback-switch-form{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAMFBMVEXx8fHz8/PNzc3Z2dnc3NzIyMjf39/19fX4+Pjo6Ojl5eXu7u7Ozs7v7+/Gxsb5+fkia50iAAAAaElEQVR4XpXPsRFGQBQE4L+DvwmxDpwWVEIHRGIdkEjVoAMjkRIg3WFIb7hjx0vZ5H2z85L9HU+W9/6L10C8jeIONa1LF051O4RNdHm3nPivjH06BeaMjgEkdI8GA517WhV0ay77T1tOIsTW/fHbXVUAAAAASUVORK5CYII=);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/form.png?2013-02-04T16:13:20Z)!ie}.articleFeedback-switch-report{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVAQMAAACT2TfVAAAABlBMVEXGxsb5+fnsr7DUAAAAJUlEQVR4XmXKoQ0AAAgDMCSOd3mXL+aGICGQiboaCRWH56pvrmoALTCmf8G/BQAAAABJRU5ErkJggg==);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/report.png?2013-02-04T16:13:20Z)!ie}.articleFeedback-switch-form:hover{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAMFBMVEWmpqbDw8OdnZ3q6uq+vr7m5ua7u7vn5+fZ2dny8vLU1NT4+PjIyMju7u6ZmZn5+flWE2OtAAAAZklEQVR4Xo3KsRFAMABGYRbIEvahMEAqrRGSDdiAU1jAAjZgBgrlf5yLzsWF/6TNq77iRfZvD7f2vhPva/NWkLTpBOL+8wTX/PpwXPinADJ6ANaRbgC0tIKApqvClDWdW3tKmgX5Ac8L1W9+Xeh1AAAAAElFTkSuQmCC);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/form-hover.png?2013-02-04T16:13:20Z)!ie}.articleFeedback-switch-report:hover{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVAQMAAACT2TfVAAAABlBMVEWZmZn5+fk4Wk0YAAAAJUlEQVR4XmXKoQ0AAAgDMCSOd3mXL+aGICGQiboaCRWH56pvrmoALTCmf8G/BQAAAABJRU5ErkJggg==);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/report-hover.png?2013-02-04T16:13:20Z)!ie}.articleFeedback-explanation,.articleFeedback-description{float:left;font-weight:bold;margin-bottom:0.75em}.articleFeedback-rating-labels{margin-left:10px}.articleFeedback-rating-label,.articleFeedback-rating-clear{float:left;height:21px;width:21px;background-repeat:no-repeat;background-position:center center;cursor:pointer}.articleFeedback-rating-label{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAMAAACeyVWkAAAASFBMVEXz8/P4+Pi9vb3i4uLDw8O+vr7t7e3g4ODW1tbm5ubl5eXCwsLV1dXb29vk5OTT09PExMTc3Nzy8vLU1NTPz8/S0tLQ0ND5+flW2nGXAAAAWElEQVR4XsXQxw6AQAgEUGBrsdf//1Pj6kGQo4lzfCEzCbBr+VQnTcGCopHiSyE5cgmY5kJXinnezreurAG3igvy3q6qEWtj1VZoYwOEoRfqz0b0+h9+0QNg2iL1y1GKrwAAAABJRU5ErkJggg==);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/star-empty.png?2013-02-04T16:13:20Z)!ie}.articleFeedback-rating-clear{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVAgMAAADUeU0FAAAADFBMVEXx8fH8/PzJycn5+flEd5eJAAAAO0lEQVR4Xo3NsREAEBQDUCuozRWNDWMIltHYgIaLhubfSfMuRS5uKdWCRXRSNMSnDaSDDz/cwWQW9u0GujBmctnuAjcAAAAASUVORK5CYII=);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/trash.png?2013-02-04T16:13:20Z)!ie;display:none}.articleFeedback-rating-labels:hover .articleFeedback-rating-clear{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVAgMAAADUeU0FAAAADFBMVEXPz8////+ZmZn5+fnMM0knAAAAO0lEQVR4Xo3NsREAEBQDUCuozRWNDWMIltHYgIaLhubfSfMuRS5uKdWCRXRSNMSnDaSDDz/cwWQW9u0GujBmctnuAjcAAAAASUVORK5CYII=);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/trash-hover.png?2013-02-04T16:13:20Z)!ie}.articleFeedback-rating-label.articleFeedback-rating-label-full{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAMAAACeyVWkAAAAclBMVEVDctAzZsw1aM3r7/bU3fHd5PPK1u6etuSnvOaAn904ac3b4/I/b8/y9Pf09vh5mtxPe9JIdtG/zuzi6PTk6fT5+fmMqOCctORbg9X4+PjD0e1NedKOqeGswOiQq+HBz+yqvueTreLR3PBYgtTY4fKlu+aQMOVWAAAAg0lEQVR4XpXORw7DMBBD0aGKey/pvdz/ihHiWCFibfI3At6CIxlDkeqQ6kYH9ITVUvsMmV1oDaD+UfNUcMU3r126wbd72r11aMG1w7RghVDyedcUHgvjYDtdi9QHVUR/qDBXkVqvD9Kd1zPpEZB1HwuQkF73Seme8tIcSPNxjna5v/UFoeEbk8m/710AAAAASUVORK5CYII=);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/star-full.png?2013-02-04T16:13:20Z)!ie}.articleFeedback-expired .articleFeedback-rating-label.articleFeedback-rating-label-full{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAMAAACeyVWkAAAAb1BMVEWisc6aqsrs7vKbq8vn6vDy8/b29vegr82crMvu8PPv8fS8xtvd4uvq7fLj5u6ntdGkss+/ydzN1eP39/jS2OamtNDHz+De4+ytutPGzuDEzd/p7PHU2ufI0OHR2OXM1OOsudPT2ebm6fDf5Oz5+fk1ZxUDAAAAgUlEQVR4XpXQxQ7DMBRE0TeGMEOR4f+/sVHhZdR407uxdBZjy/IIRepD6msf0BV2S00TJGahOYD8R93JYqq7qRbtBnOXtnhp1oBrsveCEUIpv7suVozdfFtlP2grekOvAz2pUd2T3lXXpAdAzmknwEB6HIdoOqJrvSUt9bdol/tbn5e/LEunDQ/5AAAAAElFTkSuQmCC);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/star-full-expired.png?2013-02-04T16:13:20Z)!ie}.articleFeedback-rating-new .articleFeedback-rating-label.articleFeedback-rating-label-full,.articleFeedback-rating .articleFeedback-rating-label.articleFeedback-rating-label-hover-tail{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAMAAACeyVWkAAAAb1BMVEW/FRW6AAD15+ftysrw1ta7AwPDIyPqvr6+Dw/fkpLy3Nz48/Py39/38PDSYWHv09PQWFjmsLC7Bgbch4fBGhrYeHjHMjLYdXXhmJjekJDsx8fv0NDglZXotrbWb2/ns7PXcnLbhITCICDGLy/5+fmoneOTAAAAgUlEQVR4XpXQxQ7DMBRE0TeGMEOR4f+/sVHhZdR407uxdBZjy/IIRWpCaiIT0DVOS806dG6hDYDmR+3WY6rfqbbVCnP3qn1pMYAbiveCE0Kpv7s2UUzsfFvsP+hjekOuAzmpU92THlXPpBtArlkvQEo63tJyOspDdCGt9bdol/tbn6NzLEuinjAbAAAAAElFTkSuQmCC);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/star-new.png?2013-02-04T16:13:20Z)!ie}.articleFeedback-rating .articleFeedback-rating-label.articleFeedback-rating-label-hover-head{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAMAAACeyVWkAAAAwFBMVEXi4uLp6enl5eXn5+fh4eHc3Ny6AADy8vLe3t709PTf39/5+fnd3d3v7+/gvb3a2triyMjj4+O7AwPb29vMWlrm2dm9Dg7WiYn19fW/GRnx8fG7BQXhw8PixcXo6Ojk5OTbpKTg4ODTfn7o5OTcqam+ExPesrLBISHk0NDLUlLn4eHjzs7r6+vAHh7PaGjq6urk19fDLCzTe3vQa2vDLy/w8PDXj4/m5ub29vbs7Oz39/fVhobQbm7RcHDWjIzgurqyWtoLAAAA+klEQVR4Xk3RxXYDMQyGUf2S7eEJMzOVmfv+b1U5Pknz7XQ3so8oO1ZM4kqlEb/2w3jUKLWG5U7YWJOc9L1BArQ2LUDIFkGvGgzty91AY/vsNQp4GLhBNXCimhJ8O+fcDj6qZVRYUSs/606b/6qKTahmps0n9999c2pAlrc9d1lvyzOqCKqrC1yNILFXlO0ztktA8qNiXXeh+hqqMeWsunCnFqpsaGJUq2cdqpox9a0Ay7MuAckTygwBL7r74TDXt3QAYv1xYhnf1509gP3P5hEcv6lmheURTg05jzJVzyQICcWKqlq35m8hwibnjyyoLxnP0jQ1t90w/gFYfxMie6zZxgAAAABJRU5ErkJggg==);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/star-new-hover.png?2013-02-04T16:13:20Z)!ie}.articleFeedback-rating-new .articleFeedback-rating-label.articleFeedback-rating-label-down{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAMAAACeyVWkAAAAwFBMVEXk5OTl5eXp6empAADh4eHc3Nz09PTn5+eaAQHi4uLe3t7v7+/f39/d3d2iAACyAACSAQH5+fmtAADb29vZvLzMiora2trx8fGjLi7dyMiiHBzy8vLj4+Po6Oji2dnm4eHg4ODdxcXdw8OxExO4b2/o5OTg0ND39/fVrKy5AADr6+vNpKS2AACaFhbLfX2uWlqXISHs7Oy6UlKwUlK0WlrduLirISHg19eqERG0Dg7izs7Aa2vezs64aGjFhobGj4/tunCpAAABE0lEQVR4XjXR1ZIEMQgF0EC8Xcfdfd3t//9qoXvmvqQ4RUFSEXmTUASdThlAty0bHUZagX2zoLQyN30ovUWc3E8Qrddhq4cSkLLKfvgA3WUdtvidOddv2ZBGHjlPLkkekeNHuQi1Jat+XSILealIrTZipI53vcwRpmkqE9d7PioUGjbnjBvT0+mUFjIZbGAmOhb75wb3+z3xco42YMXqXTIyf9BkGzeKO1lc9QWRe2MgXdOuRtM1KSghFGnfyevcBakaiy7fd+doHafY8VgjcuUR/1yyvHxeloWsET3Qi40GXA3qKSJO69cvhGBLmoca5njLAuJhTsrs7RWtDwhJKWbEf2EtqBi2DKzs41kURepg2vIfy7cbkARQ4ucAAAAASUVORK5CYII=);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/star-new-down.png?2013-02-04T16:13:20Z)!ie}.articleFeedback-rating-tooltip{float:left;width:12em;margin-left:12px;color:#999999;font-size:0.9em;display:none}.articleFeedback-rating{float:left;width:11em;height:5em;margin-bottom:0.5em}.articleFeedback-rating-average{float:left;margin-right:0.5em;width:2em;text-align:right;font-size:0.8em;line-height:17px}.articleFeedback-rating-meter{float:left;height:17px;width:104px;border:solid 1px #cccccc;border-radius:3px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAMFBMVEXPz8/R0dHr6+vo6Ojl5eXv7+/p6ent7e3n5+fk5OTu7u7i4uLs7Ozm5ubj4+Pq6uriFcL7AAAARUlEQVR4XlXGQQ2AMBQFwZXwNWChFrCAhVrAAhawgIVaqAUs1ALcNnlzGoaIL+Vv5XfBq/wlaIIu+FTxTcVU/lTxKH+ofmHJh1+heZyrAAAAAElFTkSuQmCC);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/segment-empty.png?2013-02-04T16:13:20Z)!ie;background-repeat:repeat-x;background-position:center left;overflow:hidden}.articleFeedback-rating-meter div{float:left;height:17px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAMAAACeyVWkAAAAUVBMVEUxYrLF0+vD0enG1OzE0urE0+o1ZbbC0ejD0uk8bL05aboyY7M2ZrczY7Q8bb06ars3Z7g4aLkyYrM0ZLU9br4xYbI6a7s3aLg7a7w0ZbU9bb64TMrYAAAASklEQVR4XnXIxwHEMAzAMEq209v1sv+gWYDBEzxF4S+udhOFURS+IniLYBfBJIKbaHxE4xCVRVQ6UfmJgYdIVpHMIrmLxPS8RH8C5R0bZN8+lMYAAAAASUVORK5CYII=);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/segment-full.png?2013-02-04T16:13:20Z)!ie;background-repeat:repeat-x;background-position:center left}.articleFeedback-rating-count{float:right;font-size:0.8em;color:#999999;cursor:default;margin-right:1em}.articleFeedback-label{cursor:pointer;padding-left:20px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAMFBMVEX09PR9fX3g4OCioqJzc3Pe3t7c3Nytra1mZmbQ0NDb29u+vr7X19eZmZn////5+fmnjGD8AAAAXElEQVR4Xp3OMQ5AQBRFUb0dKCSin06psRW9Qq9TS2zAzp5YAI/4UQrFz/zp51anvMlnXRG+BwC9WjqSrfrlPC6Hd5bmZu5rcOHMZ0MzGbxN3uJIluqnBlCpo/9/71rVS3Lpa5IAAAAASUVORK5CYII=);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/question.png?2013-02-04T16:13:20Z)!ie;background-repeat:no-repeat;background-position:center left}.articleFeedback-label:hover{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVBAMAAABbObilAAAAMFBMVEWKior09PTZ2dl7e3vg4OBzc3Ov2vm43vnKysrl8flmZmbi7/nj8v2n1/n////5+flMFkeiAAAAXUlEQVR4Xp3OoQ2AMABEUSZAMwcr4FFs0XQABArPFljGQLLBCfAcKBJCGiBpuApcTz11+cmt7RE+GwC19zGRHL0d275bP+dZKnMJZlHKW0WZDJ4Hrv//ywIwcc3yA80N14TxKYl7AAAAAElFTkSuQmCC);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/question-hover.png?2013-02-04T16:13:20Z)!ie}.articleFeedback-submit{float:right}.articleFeedback-expertise-disabled,.articleFeedback-helpimprove-disabled{color:silver}.articleFeedback-expertise{float:left;margin-bottom:0.5em;margin-top:0.75em}.articleFeedback-expertise input{float:left;margin-bottom:0.5em;clear:both;cursor:pointer}.articleFeedback-expertise label{margin-left:0.5em;margin-bottom:0.5em;float:left;line-height:1.4em;cursor:pointer}.articleFeedback-expertise-options{clear:both;display:none}.articleFeedback-expertise-options input{display:block;clear:both;margin-left:2em}.articleFeedback-expertise-options label{line-height:1.6em}.articleFeedback-expertise-options .articleFeedback-helpimprove-email{width:20em;margin-left:4em;margin-top:0.25em;cursor:text}.articleFeedback-helpimprove-note{margin-left:4em;font-size:0.8em;clear:both}.articleFeedback-helpimprove-email.valid{background-color:#C0FFC0}.articleFeedback-helpimprove-email.invalid{background-color:#FFC0C0}.articleFeedback-pending,.articleFeedback-success{float:right}.articleFeedback-pending span,.articleFeedback-success span{display:none;padding:12px 12px 12px 28px;font-size:0.8em;line-height:3.6em;background-repeat:no-repeat;background-position:center left;color:green}.articleFeedback-pending span{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAwFBMVEX5+flstCdarQt9vEB5tj6Eq194o1CbxnSCqVx5s0K+z69gqByiyX5UpAjx8fGUtXVitw9mvxFesg2EulF+qlWBukpRnQmIrmWExUVyrzmfwX+v0Y5XqAqhvIiPv2GLr2l9tkj19fRToAtym0qV21HO18WJzkZuyRXo6ejw8u2ZxW+Ls2VmqiVZjCmFtllPmwad3GCDsFXY4s6JtV1vrTXB3KhPhBt/zTOIu1fc3dqky4CRv2Tj692wyJuPylWQx1oK/jCbAAAAAXRSTlMAQObYZgAAAMNJREFUeF610TV2A0EQRdHGYWZmMcvM+9+VS8FY7eNxqBfWjf4pdJPK8z+gZNo08IesnIZcNuL2F9TxpV1eVYayEsE2jFdIfvZ9OXgXYKM2YehDYaO+KTMRVCCIsjT1Nx9XuE8Zo5RivegO0fbOHoHr+hZjx/MIAen20gjBwSyI5zhAhamfbPQDkQl313Udj+CgvG7hjCbJfP4EQiVN2Cj1lx6HhZv0M7iLtZalDItP6QX9LT5+8SWaqF6X1vSjNHSbvgFSNhGzJvYynQAAAABJRU5ErkJggg==);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/attention.png?2013-02-04T16:13:20Z)!ie}.articleFeedback-success span{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAulBMVEX5+fl8pFWDqjTi6Nx5n05/pjOQtEWLsT2kwmR3nyeoyl10lFJ6nVN1mkuJrF2TtWSwzXi82X2PtEKTu0W92oWnxXWZvkuuyXT29/WszGaXuGaQsW3U286GpmbN08eryXru8eyKrjzq7efd49jF0biy0XGawUyrvZaswpZqhFCatny4xaqbvGyhwVqkwXN3m1OgvWK41XuFq1mQr3Ocs4Su0WOUtUuz1mWGqTubuVehv1uCplWjx1Z8pC93iUb/AAAAAXRSTlMAQObYZgAAAMRJREFUeF6lkUVuQ0EQBYc/MzObmcL3v5aTlceZ2bkW3VI99aL1wOss1nIf5g0sZQEJ38LiLPp5dJ3pYSH4lHjxzDMHIVg137G+mwu+hVMQHPdAALox0/ORM0P6N0s784MEcn5tE/y7TFdRVBs/fE+8hIygdLadH1XcgZkhJSsuRoLQ9qvnAstFCH06G4aUzQpwYBL5P5QxSlUrfX7Y2N00SmmXL8A/KudDo9oBpmINJ1V7d2Rd1Et1WgIZrWHVQArG4CXuoiYOJw5+/RcAAAAASUVORK5CYII=);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/success.png?2013-02-04T16:13:20Z)!ie}.articleFeedback-expiry{display:none;border:solid 1px orange;background-color:white;padding:0.5em}.articleFeedback-expiry-title{font-size:1.2em;padding-left:28px;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABUAAAAVCAMAAACeyVWkAAABelBMVEX/ngD/owD/qAD/qwD/44j/89L/lgD/jgD////+nQD/y1P//fz/kwLzjwD8rADVcgDfegP//vv/y1//4p7/6rT/tFrxxFr6lwD/pzL//Pf/sgD/xFX/2Xz/7cf++/P/1pj6sAD/tir/8MX++vPfoFf/uBX+7LfyuRv/nxX/7rrzxnjuphv99uT/9d/9pwD/mgH/yFv/uQX66cP/rgD/kgD/mgD//vz/iwDZdQD/9df/6rP/yDDz0371pAD/9t7/7bv/u0b/kwz537r/24j/uwj/xU7/4Zj/34L8kAD/sA71y5b/x3z1hgD3swD/vEX/4oH88Nv/0W3/+u7fgxX/79nunTD/2Wn/zUj9t2b/wCH/9+r/2nb/wVv/2X3/4r7/sj32iQD/4JfusjD/myT/xj722Zz/v0j/pgf/5ZH+tgD/wE3/uFP/2IT/6qX/vzXzqgDwlwb/qR3//v3wsAz/887/1Xj/0mHvr0v/4av/7K/4nwD/zW3/sEz/wU+nYJHVAAAA1klEQVR4XoXRU5MDQRSG4e4exrZte23btm3vf9/pZHeSTrYq78V3qp7bA/j/qmtlJdiqms3OkLNF9atD013NuvCynjl/jDfpyJG9Z9ttJDUhDTAVxnqbJfTqJtfx1JtTHhQb1DE8Tu17dRTVfVxXy6cHoefIIELJmE/Ut5lTCLXv8xDCj+ifbmzdAwBOrtPCSu7mftW1myqImV5runQZZoUuzmwsTjGA9WHSnMeN0rQc37HloqA7X/0crm/2m6u2NyGo4bBENrUoA/yaukym8vPtftFefwCV7jDM8Iy11wAAAABJRU5ErkJggg==);background-image:url(//bits.wikimedia.org/static-1.21wmf9/extensions/ArticleFeedback/modules/jquery.articleFeedback/images/alert.png?2013-02-04T16:13:20Z)!ie;background-repeat:no-repeat;background-position:center left}.articleFeedback-expiry-message{padding-left:28px;color:#777777}\n/* cache key: zhwiki:resourceloader:filter:minify-css:7:5fa74379aeb237fbe655073215cb7b14 */"
]},{"articlefeedback-error":"\u53d1\u751f\u4e86\u4e00\u4e2a\u9519\u8bef\u3002\u8bf7\u7a0d\u540e\u91cd\u8bd5\u3002","articlefeedback-form-switch-label":"\u7ed9\u672c\u6587\u8bc4\u5206","articlefeedback-form-panel-title":"\u7ed9\u672c\u6587\u8bc4\u5206","articlefeedback-form-panel-explanation":"\u8fd9\u662f\u4ec0\u4e48\uff1f","articlefeedback-form-panel-explanation-link":"Project:\u6761\u76ee\u8bc4\u5206\u5de5\u5177","articlefeedback-form-panel-clear":"\u79fb\u9664\u8be5\u8bc4\u5206","articlefeedback-form-panel-expertise":"\u6211\u975e\u5e38\u4e86\u89e3\u4e0e\u672c\u4e3b\u9898\u76f8\u5173\u7684\u77e5\u8bc6\uff08\u53ef\u9009\uff09","articlefeedback-form-panel-expertise-studies":"\u6211\u6709\u4e0e\u5176\u6709\u5173\u7684\u5927\u5b66\u5b66\u4f4d","articlefeedback-form-panel-expertise-profession":"\u8fd9\u662f\u6211\u4e13\u4e1a\u7684\u4e00\u90e8\u5206","articlefeedback-form-panel-expertise-hobby":"\u4e2a\u4eba\u5bf9\u6b64\u6709\u6df1\u539a\u7684\u5174\u8da3",
"articlefeedback-form-panel-expertise-other":"\u6587\u4e2d\u672a\u5217\u51fa\u6211\u6240\u4e86\u89e3\u77e5\u8bc6\u7684\u6765\u6e90","articlefeedback-form-panel-helpimprove":"\u6211\u60f3\u5e2e\u52a9\u6539\u5584\u7ef4\u57fa\u767e\u79d1\uff0c\u8bf7\u7ed9\u6211\u53d1\u9001\u4e00\u5c01\u7535\u5b50\u90ae\u4ef6\uff08\u53ef\u9009\uff09","articlefeedback-form-panel-helpimprove-note":"\u6211\u4eec\u5c06\u5411\u60a8\u53d1\u9001\u786e\u8ba4\u7535\u5b50\u90ae\u4ef6\u3002\u57fa\u4e8e$1\uff0c\u6211\u4eec\u4e0d\u4f1a\u4e0e\u4efb\u4f55\u4eba\u5171\u4eab\u60a8\u7684\u5730\u5740\u3002","articlefeedback-form-panel-helpimprove-email-placeholder":"email@example.org","articlefeedback-form-panel-helpimprove-privacy":"\u53cd\u9988\u9690\u79c1\u653f\u7b56","articlefeedback-form-panel-submit":"\u63d0\u4ea4\u8bc4\u5206","articlefeedback-form-panel-success":"\u4fdd\u5b58\u6210\u529f","articlefeedback-form-panel-pending":"\u4f60\u7684\u8bc4\u5206\u5c1a\u672a\u63d0\u4ea4","articlefeedback-form-panel-expiry-title":
"\u4f60\u7684\u8bc4\u5206\u5df2\u8fc7\u671f","articlefeedback-form-panel-expiry-message":"\u8bf7\u91cd\u65b0\u8bc4\u4f30\u672c\u9875\u5e76\u91cd\u65b0\u8bc4\u5206\u3002","articlefeedback-report-switch-label":"\u67e5\u770b\u6761\u76ee\u8bc4\u5206","articlefeedback-report-panel-title":"\u6761\u76ee\u8bc4\u5206","articlefeedback-report-panel-description":"\u5f53\u524d\u5e73\u5747\u5206\u3002","articlefeedback-report-empty":"\u65e0\u8bc4\u5206","articlefeedback-report-ratings":"$1\u4eba\u8bc4\u5206","articlefeedback-privacyurl":"http:\/\/wikimediafoundation.org\/wiki\/Feedback_privacy_statement"});mw.loader.implement("jquery.localize",function(){(function($,mw){function msg(options,key){var args=options.params[key]||[];args.unshift(options.prefix+(options.keys[key]||key));return mw.msg.apply(mw,args);}$.fn.localize=function(options){var $target=this,attributes=['title','alt','placeholder'];options=$.extend({prefix:'',keys:{},params:{}},options);$target.find('msg,html\\:msg').each(function(
){var $el=$(this);if($el.attr('raw')){$el.html(msg(options,$el.attr('key')));}else{$el.text(msg(options,$el.attr('key')));}$el.replaceWith($el.html());});$.each(attributes,function(i,attr){var msgAttr=attr+'-msg';$target.find('['+msgAttr+']').each(function(){var $el=$(this);$el.attr(attr,msg(options,$el.attr(msgAttr))).removeAttr(msgAttr);});});$target.find('[data-msg-text]').each(function(){var $el=$(this);$el.text(msg(options,$el.attr('data-msg-text')));});$target.find('[data-msg-html]').each(function(){var $el=$(this);$el.html(msg(options,$el.attr('data-msg-html')));});return $target;};document.createElement('msg');}(jQuery,mediaWiki));;},{},{});mw.loader.implement("mediawiki.cldr",function(){(function(mw){'use strict';var cldr={getPluralForm:function(number,pluralRules){var i;for(i=0;i<pluralRules.length;i++){if(mw.libs.pluralRuleParser(pluralRules[i],number)){break;}}return i;}};mw.cldr=cldr;}(mediaWiki));;},{},{});mw.loader.implement("mediawiki.jqueryMsg",function(){(function(mw,
$){var oldParser,slice=Array.prototype.slice,parserDefaults={magic:{'SITENAME':mw.config.get('wgSiteName')},messages:mw.messages,language:mw.language,format:'parse'};function getFailableParserFn(options){var parser=new mw.jqueryMsg.parser(options);return function(args){var key=args[0],argsArray=$.isArray(args[1])?args[1]:slice.call(args,1);try{return parser.parse(key,argsArray);}catch(e){return $('<span>').append(key+': '+e.message);}};}mw.jqueryMsg={};mw.jqueryMsg.getMessageFunction=function(options){var failableParserFn=getFailableParserFn(options),format;if(options&&options.format!==undefined){format=options.format;}else{format=parserDefaults.format;}return function(){var failableResult=failableParserFn(arguments);if(format==='text'||format==='escaped'){return failableResult.text();}else{return failableResult.html();}};};mw.jqueryMsg.getPlugin=function(options){var failableParserFn=getFailableParserFn(options);return function(){var $target=this.empty();$.each(failableParserFn(
arguments).contents(),function(i,node){$target.append(node);});return $target;};};mw.jqueryMsg.parser=function(options){this.settings=$.extend({},parserDefaults,options);this.settings.onlyCurlyBraceTransform=(this.settings.format==='text'||this.settings.format==='escaped');this.emitter=new mw.jqueryMsg.htmlEmitter(this.settings.language,this.settings.magic);};mw.jqueryMsg.parser.prototype={astCache:{},parse:function(key,replacements){return this.emitter.emit(this.getAst(key),replacements);},getAst:function(key){var cacheKey=[key,this.settings.onlyCurlyBraceTransform].join(':'),wikiText;if(this.astCache[cacheKey]===undefined){wikiText=this.settings.messages.get(key);if(typeof wikiText!=='string'){wikiText='\\['+key+'\\]';}this.astCache[cacheKey]=this.wikiTextToAst(wikiText);}return this.astCache[cacheKey];},wikiTextToAst:function(input){var pos,regularLiteral,regularLiteralWithoutBar,regularLiteralWithoutSpace,regularLiteralWithSquareBrackets,backslash,anyCharacter,
escapedOrLiteralWithoutSpace,escapedOrLiteralWithoutBar,escapedOrRegularLiteral,whitespace,dollar,digits,openExtlink,closeExtlink,wikilinkPage,wikilinkContents,openLink,closeLink,templateName,pipe,colon,templateContents,openTemplate,closeTemplate,nonWhitespaceExpression,paramExpression,expression,curlyBraceTransformExpression,result;pos=0;function choice(ps){return function(){var i,result;for(i=0;i<ps.length;i++){result=ps[i]();if(result!==null){return result;}}return null;};}function sequence(ps){var i,res,originalPos=pos,result=[];for(i=0;i<ps.length;i++){res=ps[i]();if(res===null){pos=originalPos;return null;}result.push(res);}return result;}function nOrMore(n,p){return function(){var originalPos=pos,result=[],parsed=p();while(parsed!==null){result.push(parsed);parsed=p();}if(result.length<n){pos=originalPos;return null;}return result;};}function transform(p,fn){return function(){var result=p();return result===null?null:fn(result);};}function makeStringParser(s){var len=s.length;
return function(){var result=null;if(input.substr(pos,len)===s){result=s;pos+=len;}return result;};}function makeRegexParser(regex){return function(){var matches=input.substr(pos).match(regex);if(matches===null){return null;}pos+=matches[0].length;return matches[0];};}regularLiteral=makeRegexParser(/^[^{}\[\]$\\]/);regularLiteralWithoutBar=makeRegexParser(/^[^{}\[\]$\\|]/);regularLiteralWithoutSpace=makeRegexParser(/^[^{}\[\]$\s]/);regularLiteralWithSquareBrackets=makeRegexParser(/^[^{}$\\]/);backslash=makeStringParser('\\');anyCharacter=makeRegexParser(/^./);function escapedLiteral(){var result=sequence([backslash,anyCharacter]);return result===null?null:result[1];}escapedOrLiteralWithoutSpace=choice([escapedLiteral,regularLiteralWithoutSpace]);escapedOrLiteralWithoutBar=choice([escapedLiteral,regularLiteralWithoutBar]);escapedOrRegularLiteral=choice([escapedLiteral,regularLiteral]);function literalWithoutSpace(){var result=nOrMore(1,escapedOrLiteralWithoutSpace)();return result===
null?null:result.join('');}function literalWithoutBar(){var result=nOrMore(1,escapedOrLiteralWithoutBar)();return result===null?null:result.join('');}function unescapedLiteralWithoutBar(){var result=nOrMore(1,regularLiteralWithoutBar)();return result===null?null:result.join('');}function literal(){var result=nOrMore(1,escapedOrRegularLiteral)();return result===null?null:result.join('');}function curlyBraceTransformExpressionLiteral(){var result=nOrMore(1,regularLiteralWithSquareBrackets)();return result===null?null:result.join('');}whitespace=makeRegexParser(/^\s+/);dollar=makeStringParser('$');digits=makeRegexParser(/^\d+/);function replacement(){var result=sequence([dollar,digits]);if(result===null){return null;}return['REPLACE',parseInt(result[1],10)-1];}openExtlink=makeStringParser('[');closeExtlink=makeStringParser(']');function extlink(){var result,parsedResult;result=null;parsedResult=sequence([openExtlink,nonWhitespaceExpression,whitespace,expression,closeExtlink]);if(
parsedResult!==null){result=['LINK',parsedResult[1],parsedResult[3]];}return result;}function extLinkParam(){var result=sequence([openExtlink,dollar,digits,whitespace,expression,closeExtlink]);if(result===null){return null;}return['LINKPARAM',parseInt(result[2],10)-1,result[4]];}openLink=makeStringParser('[[');closeLink=makeStringParser(']]');pipe=makeStringParser('|');function template(){var result=sequence([openTemplate,templateContents,closeTemplate]);return result===null?null:result[1];}wikilinkPage=choice([unescapedLiteralWithoutBar,template]);function pipedWikilink(){var result=sequence([wikilinkPage,pipe,expression]);return result===null?null:[result[0],result[2]];}wikilinkContents=choice([pipedWikilink,wikilinkPage]);function link(){var result,parsedResult,parsedLinkContents;result=null;parsedResult=sequence([openLink,wikilinkContents,closeLink]);if(parsedResult!==null){parsedLinkContents=parsedResult[1];result=['WLINK'].concat(parsedLinkContents);}return result;}templateName=
transform(makeRegexParser(/^[ !"$&'()*,.\/0-9;=?@A-Z\^_`a-z~\x80-\xFF+\-]+/),function(result){return result.toString();});function templateParam(){var expr,result;result=sequence([pipe,nOrMore(0,paramExpression)]);if(result===null){return null;}expr=result[1];return expr.length>1?['CONCAT'].concat(expr):expr[0];}function templateWithReplacement(){var result=sequence([templateName,colon,replacement]);return result===null?null:[result[0],result[2]];}function templateWithOutReplacement(){var result=sequence([templateName,colon,paramExpression]);return result===null?null:[result[0],result[2]];}colon=makeStringParser(':');templateContents=choice([function(){var res=sequence([choice([templateWithReplacement,templateWithOutReplacement]),nOrMore(0,templateParam)]);return res===null?null:res[0].concat(res[1]);},function(){var res=sequence([templateName,nOrMore(0,templateParam)]);if(res===null){return null;}return[res[0]].concat(res[1]);}]);openTemplate=makeStringParser('{{');closeTemplate=
makeStringParser('}}');nonWhitespaceExpression=choice([template,link,extLinkParam,extlink,replacement,literalWithoutSpace]);paramExpression=choice([template,link,extLinkParam,extlink,replacement,literalWithoutBar]);expression=choice([template,link,extLinkParam,extlink,replacement,literal]);curlyBraceTransformExpression=choice([template,replacement,curlyBraceTransformExpressionLiteral]);function start(rootExpression){var result=nOrMore(0,rootExpression)();if(result===null){return null;}return['CONCAT'].concat(result);}result=start(this.settings.onlyCurlyBraceTransform?curlyBraceTransformExpression:expression);if(result===null||pos!==input.length){throw new Error('Parse error at position '+pos.toString()+' in input: '+input);}return result;}};mw.jqueryMsg.htmlEmitter=function(language,magic){this.language=language;var jmsg=this;$.each(magic,function(key,val){jmsg[key.toLowerCase()]=function(){return val;};});this.emit=function(node,replacements){var ret,subnodes,operation,jmsg=this;
switch(typeof node){case'string':case'number':ret=node;break;case'object':subnodes=$.map(node.slice(1),function(n){return jmsg.emit(n,replacements);});operation=node[0].toLowerCase();if(typeof jmsg[operation]==='function'){ret=jmsg[operation](subnodes,replacements);}else{throw new Error('Unknown operation "'+operation+'"');}break;case'undefined':ret='';break;default:throw new Error('Unexpected type in AST: '+typeof node);}return ret;};};mw.jqueryMsg.htmlEmitter.prototype={concat:function(nodes){var $span=$('<span>').addClass('mediaWiki_htmlEmitter');$.each(nodes,function(i,node){if(node instanceof jQuery&&node.hasClass('mediaWiki_htmlEmitter')){$.each(node.contents(),function(j,childNode){$span.append(childNode);});}else{$span.append($.type(node)==='object'?node:document.createTextNode(node));}});return $span;},replace:function(nodes,replacements){var index=parseInt(nodes[0],10);if(index<replacements.length){return replacements[index];}else{return'$'+(index+1);}},wlink:function(nodes){
var page,anchor,url;page=nodes[0];url=mw.util.wikiGetlink(page);if(nodes.length===1){anchor=page;}else{anchor=nodes[1];}return $('<a />').attr({title:page,href:url}).text(anchor);},link:function(nodes){var $el,arg=nodes[0],contents=nodes[1];if(arg instanceof jQuery){$el=arg;}else{$el=$('<a>');if(typeof arg==='function'){$el.click(arg).attr('href','#');}else{$el.attr('href',arg.toString());}}$el.append(contents);return $el;},linkparam:function(nodes,replacements){var replacement,index=parseInt(nodes[0],10);if(index<replacements.length){replacement=replacements[index];}else{replacement='$'+(index+1);}return this.link([replacement,nodes[1]]);},plural:function(nodes){var forms,count;count=parseFloat(this.language.convertNumber(nodes[0],true));forms=nodes.slice(1);return forms.length?this.language.convertPlural(count,forms):'';},gender:function(nodes){var gender,forms;if(nodes[0]&&nodes[0].options instanceof mw.Map){gender=nodes[0].options.get('gender');}else{gender=nodes[0];}forms=nodes.
slice(1);return this.language.gender(gender,forms);},grammar:function(nodes){var form=nodes[0],word=nodes[1];return word&&form&&this.language.convertGrammar(word,form);},int:function(nodes){return mw.jqueryMsg.getMessageFunction()(nodes[0].toLowerCase());},formatnum:function(nodes){var isInteger=(nodes[1]&&nodes[1]==='R')?true:false,number=nodes[0];return this.language.convertNumber(number,isInteger);}};window.gM=mw.jqueryMsg.getMessageFunction();$.fn.msg=mw.jqueryMsg.getPlugin();oldParser=mw.Message.prototype.parser;mw.Message.prototype.parser=function(){var messageFunction;if(this.format==='plain'||!/\{\{|\[/.test(this.map.get(this.key))){return oldParser.apply(this);}messageFunction=mw.jqueryMsg.getMessageFunction({'messages':this.map,'format':this.format});return messageFunction(this.key,this.parameters);};}(mediaWiki,jQuery));;},{},{});mw.loader.implement("mediawiki.language",function(){(function(mw,$){var language={procPLURAL:function(template){if(template.title&&template.
parameters&&mw.language.convertPlural){if(template.parameters.length===0){return'';}var count=mw.language.convertNumber(template.title,true);return mw.language.convertPlural(parseInt(count,10),template.parameters);}if(template.parameters[0]){return template.parameters[0];}return'';},convertPlural:function(count,forms){var pluralRules,pluralFormIndex=0;if(!forms||forms.length===0){return'';}pluralRules=mw.language.getData(mw.config.get('wgUserLanguage'),'pluralRules');if(!pluralRules){return(count===1)?forms[0]:forms[1];}pluralFormIndex=mw.cldr.getPluralForm(count,pluralRules);pluralFormIndex=Math.min(pluralFormIndex,forms.length-1);return forms[pluralFormIndex];},preConvertPlural:function(forms,count){while(forms.length<count){forms.push(forms[forms.length-1]);}return forms;},convertNumber:function(num,integer){var i,tmp,transformTable,numberString,convertedNumber;transformTable=mw.language.getData(mw.config.get('wgUserLanguage'),'digitTransformTable');if(!transformTable){return num;}
if(integer){if(parseInt(num,10)===num){return num;}tmp=[];for(i in transformTable){tmp[transformTable[i]]=i;}transformTable=tmp;}numberString=''+num;convertedNumber='';for(i=0;i<numberString.length;i++){if(transformTable[numberString[i]]){convertedNumber+=transformTable[numberString[i]];}else{convertedNumber+=numberString[i];}}return integer?parseInt(convertedNumber,10):convertedNumber;},gender:function(gender,forms){if(!forms||forms.length===0){return'';}forms=mw.language.preConvertPlural(forms,2);if(gender==='male'){return forms[0];}if(gender==='female'){return forms[1];}return(forms.length===3)?forms[2]:forms[0];},convertGrammar:function(word,form){var grammarForms=mw.language.getData(mw.config.get('wgUserLanguage'),'grammarForms');if(grammarForms&&grammarForms[form]){return grammarForms[form][word]||word;}return word;},digitTransformTable:mw.language.getData(mw.config.get('wgUserLanguage'),'digitTransformTable')};$.extend(mw.language,language);}(mediaWiki,jQuery));;},{},{});mw.
loader.implement("mediawiki.language.data",function(){mw.language.setData("zh-cn",{"digitTransformTable":null,"grammarForms":[],"pluralRules":["n is 1"]});;},{},{});mw.loader.implement("mediawiki.language.init",function(){(function(mw){var language={data:{},getData:function(langCode,dataKey){var langData=language.data;if(langData&&langData[langCode]instanceof mw.Map){return langData[langCode].get(dataKey);}return undefined;},setData:function(langCode,dataKey,value){var langData=language.data;if(!(langData[langCode]instanceof mw.Map)){langData[langCode]=new mw.Map();}langData[langCode].set(dataKey,value);}};mw.language=language;}(mediaWiki));;},{},{});mw.loader.implement("mediawiki.libs.pluralruleparser",function(){(function(mw){function pluralRuleParser(rule,number){var pos=0;var whitespace=makeRegexParser(/^\s+/);var digits=makeRegexParser(/^\d+/);var _n_=makeStringParser('n');var _is_=makeStringParser('is');var _mod_=makeStringParser('mod');var _not_=makeStringParser('not');var _in_=
makeStringParser('in');var _within_=makeStringParser('within');var _range_=makeStringParser('..');var _comma_=makeStringParser(',');var _or_=makeStringParser('or');var _and_=makeStringParser('and');function debug(){}debug('pluralRuleParser',rule,number);function choice(parserSyntax){return function(){for(var i=0;i<parserSyntax.length;i++){var result=parserSyntax[i]();if(result!==null){return result;}}return null;};}function sequence(parserSyntax){var originalPos=pos;var result=[];for(var i=0;i<parserSyntax.length;i++){var res=parserSyntax[i]();if(res===null){pos=originalPos;return null;}result.push(res);}return result;}function nOrMore(n,p){return function(){var originalPos=pos;var result=[];var parsed=p();while(parsed!==null){result.push(parsed);parsed=p();}if(result.length<n){pos=originalPos;return null;}return result;};}function makeStringParser(s){var len=s.length;return function(){var result=null;if(rule.substr(pos,len)===s){result=s;pos+=len;}return result;};}function
makeRegexParser(regex){return function(){var matches=rule.substr(pos).match(regex);if(matches===null){return null;}pos+=matches[0].length;return matches[0];};}function n(){var result=_n_();if(result===null){debug(" -- failed n");return result;}result=parseInt(number,10);debug(" -- passed n ",result);return result;}var expression=choice([mod,n]);function mod(){var result=sequence([n,whitespace,_mod_,whitespace,digits]);if(result===null){debug(" -- failed mod");return null;}debug(" -- passed mod");return parseInt(result[0],10)%parseInt(result[4],10);}function not(){var result=sequence([whitespace,_not_]);if(result===null){debug(" -- failed not");return null;}else{return result[1];}}function is(){var result=sequence([expression,whitespace,_is_,nOrMore(0,not),whitespace,digits]);if(result!==null){debug(" -- passed is");if(result[3][0]==='not'){return result[0]!==parseInt(result[5],10);}else{return result[0]===parseInt(result[5],10);}}debug(" -- failed is");return null;}function rangeList()
{var result=sequence([choice([range,digits]),nOrMore(0,rangeTail)]);var resultList=[];if(result!==null){resultList=resultList.concat(result[0],result[1][0]);return resultList;}debug(" -- failed rangeList");return null;}function rangeTail(){var result=sequence([_comma_,rangeList]);if(result!==null){return result[1];}debug(" -- failed rangeTail");return null;}function range(){var i;var result=sequence([digits,_range_,digits]);if(result!==null){debug(" -- passed range");var array=[];var left=parseInt(result[0],10);var right=parseInt(result[2],10);for(i=left;i<=right;i++){array.push(i);}return array;}debug(" -- failed range");return null;}function _in(){var result=sequence([expression,nOrMore(0,not),whitespace,_in_,whitespace,rangeList]);if(result!==null){debug(" -- passed _in");var range_list=result[5];for(var i=0;i<range_list.length;i++){if(parseInt(range_list[i],10)===result[0]){return(result[1][0]!=='not');}}return(result[1][0]==='not');}debug(" -- failed _in ");return null;}function
within(){var result=sequence([expression,whitespace,_within_,whitespace,rangeList]);if(result!==null){debug(" -- passed within ");var range_list=result[4];return(parseInt(range_list[0],10)<=result[0]&&result[0]<=parseInt(range_list[1],10));}debug(" -- failed within ");return null;}var relation=choice([is,_in,within]);function and(){var result=sequence([relation,whitespace,_and_,whitespace,condition]);if(result){debug(" -- passed and");return result[0]&&result[4];}debug(" -- failed and");return null;}function or(){var result=sequence([relation,whitespace,_or_,whitespace,condition]);if(result){debug(" -- passed or");return result[0]||result[4];}debug(" -- failed or");return null;}var condition=choice([and,or,relation]);function isInt(n){return parseFloat(n)%1===0;}function start(){if(!isInt(number)){return false;}var result=condition();return result;}var result=start();if(result===null||pos!==rule.length){}return result;}if(typeof module!=='undefined'&&module.exports){module.exports=
pluralRuleParser;}mw.libs.pluralRuleParser=pluralRuleParser;})(mediaWiki);;},{},{});
/* cache key: zhwiki:resourceloader:filter:minify-js:7:f27605179359f21df6bdc5f6d77f2526 */