# Copyright 2012 Mozilla Foundation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#     http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

# Main toolbar buttons (tooltips and alt text for images)
previous.title=Faqja e Mëparshme
previous_label=E mëparshmja
next.title=Faqja Pasuese
next_label=Pasuesja

# LOCALIZATION NOTE (page.title): The tooltip for the pageNumber input.
page.title=Faqe
# LOCALIZATION NOTE (of_pages): "{{pagesCount}}" will be replaced by a number
# representing the total number of pages in the document.
of_pages=nga {{pagesCount}} gjithsej
# LOCALIZATION NOTE (page_of_pages): "{{pageNumber}}" and "{{pagesCount}}"
# will be replaced by a number representing the currently visible page,
# respectively a number representing the total number of pages in the document.
page_of_pages=({{pageNumber}} nga {{pagesCount}})

zoom_out.title=Zvogëlim
zoom_out_label=Zvogëlojini
zoom_in.title=Zmadhim
zoom_in_label=Zmadhojini
zoom.title=Zoom
presentation_mode.title=Kalo te Mënyra Paraqitje
presentation_mode_label=Mënyra Paraqitje
open_file.title=Hapni Kartelë
open_file_label=Hape
print.title=Shtypje
print_label=Shtype
download.title=Shkarkim
download_label=Shkarkoje
bookmark.title=Pamja e tanishme (kopjojeni ose hapeni në dritare të re)
bookmark_label=Pamja e Tanishme

# Secondary toolbar and context menu
tools.title=Mjete
tools_label=Mjete
first_page.title=Kaloni te Faqja e Parë
first_page.label=Kaloni te Faqja e Parë
first_page_label=Kaloni te Faqja e Parë
last_page.title=Kaloni te Faqja e Fundit
last_page.label=Kaloni te Faqja e Fundit
last_page_label=Kaloni te Faqja e Fundit
page_rotate_cw.title=Rrotullojeni Në Kahun Orar
page_rotate_cw.label=Rrotulloje Në Kahun Orar
page_rotate_cw_label=Rrotulloje Në Kahun Orar
page_rotate_ccw.title=Rrotullojeni Në Kahun Kundërorar
page_rotate_ccw.label=Rrotulloje Në Kahun Kundërorar
page_rotate_ccw_label=Rrotulloje Në Kahun Kundërorar

cursor_text_select_tool.title=Aktivizo Mjet Përzgjedhjeje Teksti
cursor_text_select_tool_label=Mjet Përzgjedhjeje Teksti
cursor_hand_tool.title=Aktivizo Mjetin Dorë
cursor_hand_tool_label=Mjeti Dorë

scroll_vertical.title=Përdor Rrëshqitje Vertikale
scroll_vertical_label=Rrëshqitje Vertikale
scroll_horizontal.title=Përdor Rrëshqitje Horizontale
scroll_horizontal_label=Rrëshqitje Horizontale
scroll_wrapped.title=Përdor Rrëshqitje Me Mbështjellje
scroll_wrapped_label=Rrëshqitje Me Mbështjellje

# Document properties dialog box
document_properties.title=Veti Dokumenti…
document_properties_label=Veti Dokumenti…
document_properties_file_name=Emër kartele:
document_properties_file_size=Madhësi kartele:
# LOCALIZATION NOTE (document_properties_kb): "{{size_kb}}" and "{{size_b}}"
# will be replaced by the PDF file size in kilobytes, respectively in bytes.
document_properties_kb={{size_kb}} KB ({{size_b}} bajte)
# LOCALIZATION NOTE (document_properties_mb): "{{size_mb}}" and "{{size_b}}"
# will be replaced by the PDF file size in megabytes, respectively in bytes.
document_properties_mb={{size_mb}} MB ({{size_b}} bajte)
document_properties_title=Titull:
document_properties_author=Autor:
document_properties_subject=Subjekt:
document_properties_keywords=Fjalëkyçe:
document_properties_creation_date=Datë Krijimi:
document_properties_modification_date=Datë Ndryshimi:
# LOCALIZATION NOTE (document_properties_date_string): "{{date}}" and "{{time}}"
# will be replaced by the creation/modification date, and time, of the PDF file.
document_properties_date_string={{date}}, {{time}}
document_properties_creator=Krijues:
document_properties_producer=Prodhues PDF-je:
document_properties_version=Version PDF-je:
document_properties_page_count=Numër Faqesh:
document_properties_page_size=Madhësi Faqeje:
document_properties_page_size_unit_inches=in
document_properties_page_size_unit_millimeters=mm
document_properties_page_size_orientation_portrait=portret
document_properties_page_size_orientation_landscape=së gjeri
document_properties_page_size_name_a3=A3
document_properties_page_size_name_a4=A4
document_properties_page_size_name_letter=Letter
document_properties_page_size_name_legal=Legal
# LOCALIZATION NOTE (document_properties_page_size_dimension_string):
# "{{width}}", "{{height}}", {{unit}}, and {{orientation}} will be replaced by
# the size, respectively their unit of measurement and orientation, of the (current) page.
document_properties_page_size_dimension_string={{width}} × {{height}} {{unit}} ({{orientation}})
# LOCALIZATION NOTE (document_properties_page_size_dimension_name_string):
# "{{width}}", "{{height}}", {{unit}}, {{name}}, and {{orientation}} will be replaced by
# the size, respectively their unit of measurement, name, and orientation, of the (current) page.
document_properties_page_size_dimension_name_string={{width}} × {{height}} {{unit}} ({{name}}, {{orientation}})
# LOCALIZATION NOTE (document_properties_linearized): The linearization status of
# the document; usually called "Fast Web View" in English locales of Adobe software.
document_properties_linearized_yes=Po
document_properties_linearized_no=Jo
document_properties_close=Mbylleni

print_progress_message=Po përgatitet dokumenti për shtypje…
# LOCALIZATION NOTE (print_progress_percent): "{{progress}}" will be replaced by
# a numerical per cent value.
print_progress_percent={{progress}}%
print_progress_close=Anuloje

# Tooltips and alt text for side panel toolbar buttons
# (the _label strings are alt text for the buttons, the .title strings are
# tooltips)
toggle_sidebar.title=Shfaqni/Fshihni Anështyllën
toggle_sidebar_notification.title=Shfaqni Anështyllën (dokumenti përmban përvijim/bashkëngjitje)
toggle_sidebar_label=Shfaq/Fshih Anështyllën
document_outline.title=Shfaqni Përvijim Dokumenti (dyklikoni që të shfaqen/fshihen krejt elementët)
document_outline_label=Përvijim Dokumenti
attachments.title=Shfaqni Bashkëngjitje
attachments_label=Bashkëngjitje
thumbs.title=Shfaqni Miniatura
thumbs_label=Miniatura
findbar.title=Gjeni në Dokument
findbar_label=Gjej

# Thumbnails panel item (tooltip and alt text for images)
# LOCALIZATION NOTE (thumb_page_title): "{{page}}" will be replaced by the page
# number.
thumb_page_title=Faqja {{page}}
# LOCALIZATION NOTE (thumb_page_canvas): "{{page}}" will be replaced by the page
# number.
thumb_page_canvas=Miniaturë e Faqes {{page}}

# Find panel button title and messages
find_input.title=Gjeje
find_input.placeholder=Gjeni në dokument…
find_previous.title=Gjeni hasjen e mëparshme të togfjalëshit
find_previous_label=E mëparshmja
find_next.title=Gjeni hasjen pasuese të togfjalëshit
find_next_label=Pasuesja
find_highlight=Theksoji të tëra
find_match_case_label=Siç është shkruar
find_entire_word_label=Krejt fjalët
find_reached_top=U mbërrit në krye të dokumentit, vazhduar prej fundit
find_reached_bottom=U mbërrit në fund të dokumentit, vazhduar prej kreut
# LOCALIZATION NOTE (find_match_count): The supported plural forms are
# [one|two|few|many|other], with [other] as the default value.
# "{{current}}" and "{{total}}" will be replaced by a number representing the
# index of the currently active find result, respectively a number representing
# the total number of matches in the document.
find_match_count={[ plural(total) ]}
find_match_count[one]={{current}} nga {{total}} përputhje gjithsej
find_match_count[two]={{current}} nga {{total}} përputhje gjithsej
find_match_count[few]={{current}} nga {{total}} përputhje gjithsej
find_match_count[many]={{current}} nga {{total}} përputhje gjithsej
find_match_count[other]={{current}} nga {{total}} përputhje gjithsej
# LOCALIZATION NOTE (find_match_count_limit): The supported plural forms are
# [zero|one|two|few|many|other], with [other] as the default value.
# "{{limit}}" will be replaced by a numerical value.
find_match_count_limit={[ plural(limit) ]}
find_match_count_limit[zero]=Më shumë se {{limit}} përputhje
find_match_count_limit[one]=Më shumë se {{limit}} përputhje
find_match_count_limit[two]=Më shumë se {{limit}} përputhje
find_match_count_limit[few]=Më shumë se {{limit}} përputhje
find_match_count_limit[many]=Më shumë se {{limit}} përputhje
find_match_count_limit[other]=Më shumë se {{limit}} përputhje
find_not_found=Togfjalësh që s’gjendet

# Error panel labels
error_more_info=Më Tepër të Dhëna
error_less_info=Më Pak të Dhëna
error_close=Mbylleni
# LOCALIZATION NOTE (error_version_info): "{{version}}" and "{{build}}" will be
# replaced by the PDF.JS version and build ID.
error_version_info=PDF.js v{{version}} (build: {{build}})
# LOCALIZATION NOTE (error_message): "{{message}}" will be replaced by an
# english string describing the error.
error_message=Mesazh: {{message}}
# LOCALIZATION NOTE (error_stack): "{{stack}}" will be replaced with a stack
# trace.
error_stack=Stack: {{stack}}
# LOCALIZATION NOTE (error_file): "{{file}}" will be replaced with a filename
error_file=Kartelë: {{file}}
# LOCALIZATION NOTE (error_line): "{{line}}" will be replaced with a line number
error_line=Rresht: {{line}}
rendering_error=Ndodhi një gabim gjatë riprodhimit të faqes.

# Predefined zoom values
page_scale_width=Gjerësi Faqeje
page_scale_fit=Sa Nxë Faqja
page_scale_auto=Zoom i Vetvetishëm
page_scale_actual=Madhësia Faktike
# LOCALIZATION NOTE (page_scale_percent): "{{scale}}" will be replaced by a
# numerical scale value.
page_scale_percent={{scale}}%

# Loading indicator messages
loading_error_indicator=Gabim
loading_error=Ndodhi një gabim gjatë ngarkimit të PDF-së.
invalid_file_error=Kartelë PDF e pavlefshme ose e dëmtuar.
missing_file_error=Kartelë PDF që mungon.
unexpected_response_error=Përgjigje shërbyesi e papritur.

# LOCALIZATION NOTE (annotation_date_string): "{{date}}" and "{{time}}" will be
# replaced by the modification date, and time, of the annotation.
annotation_date_string={{date}}, {{time}}

# LOCALIZATION NOTE (text_annotation_type.alt): This is used as a tooltip.
# "{{type}}" will be replaced with an annotation type from a list defined in
# the PDF spec (32000-1:2008 Table 169 – Annotation types).
# Some common types are e.g.: "Check", "Text", "Comment", "Note"
text_annotation_type.alt=[Nënvizim {{type}}]
password_label=Jepni fjalëkalimin që të hapet kjo kartelë PDF.
password_invalid=Fjalëkalim i pavlefshëm. Ju lutemi, riprovoni.
password_ok=OK
password_cancel=Anuloje

printing_not_supported=Kujdes: Shtypja s’mbulohet plotësisht nga ky shfletues.
printing_not_ready=Kujdes: PDF-ja s’është ngarkuar plotësisht që ta shtypni.
web_fonts_disabled=Shkronjat Web janë të çaktivizuara: s’arrihet të përdoren shkronja të trupëzuara në PDF.
document_colors_not_allowed=Dokumenteve PDF s’u lejohet të përdorin ngjyrat e tyre: 'Lejoji faqet t’i zgjedhin vetë ngjyrat' është e çaktivizuar te shfletuesi.


MILKDROP_PRESET_VERSION=201
PSVERSION=2
PSVERSION_WARP=2
PSVERSION_COMP=2
[preset00]
fRating=3.000000
fGammaAdj=2.0
fDecay=1.0
fVideoEchoZoom=0.999609
fVideoEchoAlpha=0.5
nVideoEchoOrientation=2
nWaveMode=1
bAdditiveWaves=0
bWaveDots=0
bWaveThick=0
bModWaveAlphaByVolume=0
bMaximizeWaveColor=1
bTexWrap=0
bDarkenCenter=0
bRedBlueStereo=0
bBrighten=0
bDarken=0
bSolarize=0
bInvert=0
fWaveAlpha=0.001000
fWaveScale=1.0
fWaveSmoothing=0.750000
fWaveParam=0.0
fModWaveAlphaStart=0.750000
fModWaveAlphaEnd=0.950000
fWarpAnimSpeed=1.0
fWarpScale=1.0
fZoomExponent=1.0
fShader=0.0
zoom=0.960000
rot=0.0
cx=0.5
cy=0.5
dx=0.0
dy=0.0
warp=0.000521
sx=1.0
sy=1.0
wave_r=0.0
wave_g=0.0
wave_b=0.0
wave_x=0.5
wave_y=0.5
ob_size=0.010000
ob_r=1.0
ob_g=1.0
ob_b=1.0
ob_a=0.0
ib_size=0.010000
ib_r=0.25
ib_g=0.25
ib_b=0.25
ib_a=0.0
nMotionVectorsX=12.0
nMotionVectorsY=9.0
mv_dx=0.0
mv_dy=0.0
mv_l=0.9
mv_r=1.0
mv_g=1.0
mv_b=1.0
mv_a=0.0
b1n=0.0
b2n=0.0
b3n=0.0
b1x=1.0
b2x=1.0
b3x=1.0
b1ed=0.25
wavecode_0_enabled=1
wavecode_0_samples=512
wavecode_0_sep=0
wavecode_0_bSpectrum=1
wavecode_0_bUseDots=1
wavecode_0_bDrawThick=0
wavecode_0_bAdditive=1
wavecode_0_scaling=1.0
wavecode_0_smoothing=0.5
wavecode_0_r=1.0
wavecode_0_g=1.0
wavecode_0_b=1.0
wavecode_0_a=0.5
wave_0_per_point1=u = abs(cos(q1*0.1))*3.14159;
wave_0_per_point2=v = abs(cos(q1*0.015))*3.14159*2;
wave_0_per_point3=s = sample*3.14*100;
wave_0_per_point4=ss = sample*6.28*1000;
wave_0_per_point5=
wave_0_per_point6=//draw
wave_0_per_point7=xs = 0.5*sin(s)*cos(ss);
wave_0_per_point8=ys = 0.5*sin(s)*sin(ss);
wave_0_per_point9=zs = 0.5*cos(s);
wave_0_per_point10=
wave_0_per_point11=
wave_0_per_point12=//rotate x axis
wave_0_per_point13=angle = sin(q1*0.015)*6.28;
wave_0_per_point14=yx = ys*cos(angle) - zs*sin(angle);
wave_0_per_point15=zx = ys*sin(angle) + zs*cos(angle);
wave_0_per_point16=xx = xs;
wave_0_per_point17=
wave_0_per_point18=//rotate y axis
wave_0_per_point19=angle2 = sin(q1*0.02)*6.28;
wave_0_per_point20=xd = xx*cos(angle2) - zx*sin(angle2);
wave_0_per_point21=zd = xx*sin(angle2) + zx*cos(angle2);
wave_0_per_point22=yd = yx;
wave_0_per_point23=
wave_0_per_point24=//rotaye z axis
wave_0_per_point25=angle3 = sin(q1*0.012)*6.28;
wave_0_per_point26=xn = xd*cos(angle3) - yd*sin(angle3);
wave_0_per_point27=yn = xd*sin(angle3) + yd*cos(angle3);
wave_0_per_point28=
wave_0_per_point29=//scale
wave_0_per_point30=k = 5;
wave_0_per_point31=
wave_0_per_point32=norm = 1/sqrt(xn*xn + yn*yn + ((zd+2)*(zd+2)));
wave_0_per_point33=xnorm = norm*xn;
wave_0_per_point34=ynorm = norm*yn;
wave_0_per_point35=znrom = norm*zd;
wave_0_per_point36=
wave_0_per_point37=xs = xnorm*(1 + (k-1)*q5*q5)  + ynorm*((k-1)*q5*q6) + znorm*((k-1)*q5*q7);
wave_0_per_point38=ys = xnorm*((k-1)*q5*q6) + ynorm*(1+(k-1)*q6*q6) + znorm*((k-1)*q6*q7);
wave_0_per_point39=zd = xnorm*((k-1)*q5*q7) + ynorm*((k-1)*q6*q7) + znorm*(1+(k-1)*q7*q7);
wave_0_per_point40=
wave_0_per_point41=zd = zd + 2;
wave_0_per_point42=
wave_0_per_point43=x = xs*zd*0.1 + 0.5;
wave_0_per_point44=y = ys*zd*0.1*1.2 + 0.5;
wave_0_per_point45=
wave_0_per_point46=
wave_0_per_point47=r = 0.5 + 0.5*sin(q1*1.2 + x + x);
wave_0_per_point48=g = 0.5 + 0.5*sin(q1*1.5 + x + y);
wave_0_per_point49=b = 0.5 + 0.5*sin(q1*1.36 + y + y);
wavecode_1_enabled=1
wavecode_1_samples=512
wavecode_1_sep=0
wavecode_1_bSpectrum=1
wavecode_1_bUseDots=1
wavecode_1_bDrawThick=0
wavecode_1_bAdditive=1
wavecode_1_scaling=1.0
wavecode_1_smoothing=0.5
wavecode_1_r=1.0
wavecode_1_g=1.0
wavecode_1_b=1.0
wavecode_1_a=0.5
wave_1_per_point1=u = abs(cos(q1*0.1))*3.14159;
wave_1_per_point2=v = abs(cos(q1*0.015))*3.14159*2;
wave_1_per_point3=s = sample*3.14*100;
wave_1_per_point4=ss = sample*6.28*1000;
wave_1_per_point5=
wave_1_per_point6=//draw
wave_1_per_point7=xs = 0.5*sin(s)*cos(ss);
wave_1_per_point8=ys = 0.5*sin(s)*sin(ss);
wave_1_per_point9=zs = 0.5*cos(s);
wave_1_per_point10=
wave_1_per_point11=
wave_1_per_point12=//rotate x axis
wave_1_per_point13=angle = sin(q1*0.015)*6.28;
wave_1_per_point14=yx = ys*cos(angle) - zs*sin(angle);
wave_1_per_point15=zx = ys*sin(angle) + zs*cos(angle);
wave_1_per_point16=xx = xs;
wave_1_per_point17=
wave_1_per_point18=//rotate y axis
wave_1_per_point19=angle2 = sin(q1*0.05)*6.28;
wave_1_per_point20=xd = xx*cos(angle2) - zx*sin(angle2);
wave_1_per_point21=zd = xx*sin(angle2) + zx*cos(angle2);
wave_1_per_point22=yd = yx;
wave_1_per_point23=
wave_1_per_point24=//rotaye z axis
wave_1_per_point25=angle3 = sin(q1*0.022)*6.28;
wave_1_per_point26=xn = xd*cos(angle3) - yd*sin(angle3);
wave_1_per_point27=yn = xd*sin(angle3) + yd*cos(angle3);
wave_1_per_point28=
wave_1_per_point29=//scale
wave_1_per_point30=k = 1;
wave_1_per_point31=
wave_1_per_point32=norm = 1/sqrt(xn*xn + yn*yn + ((zd+2)*(zd+2)));
wave_1_per_point33=xnorm = norm*xn;
wave_1_per_point34=ynorm = norm*yn;
wave_1_per_point35=znrom = norm*zd;
wave_1_per_point36=
wave_1_per_point37=xs = xnorm*(1 + (k-1)*q5*q5)  + ynorm*((k-1)*q5*q6) + znorm*((k-1)*q5*q7);
wave_1_per_point38=ys = xnorm*((k-1)*q5*q6) + ynorm*(1+(k-1)*q6*q6) + znorm*((k-1)*q6*q7);
wave_1_per_point39=zd = xnorm*((k-1)*q5*q7) + ynorm*((k-1)*q6*q7) + znorm*(1+(k-1)*q7*q7);
wave_1_per_point40=
wave_1_per_point41=zd = zd + 2;
wave_1_per_point42=
wave_1_per_point43=x = xs*zd*0.10 + 0.5;
wave_1_per_point44=y = ys*zd*0.10*1.2 + 0.5;
wave_1_per_point45=
wave_1_per_point46=
wave_1_per_point47=r = 0.5 + 0.5*sin(q1*1.2 + x + x);
wave_1_per_point48=g = 0.5 + 0.5*sin(q1*1.25 + x + y);
wave_1_per_point49=b = 0.5 + 0.5*sin(q1*1.36 + y + y);
wavecode_2_enabled=1
wavecode_2_samples=512
wavecode_2_sep=0
wavecode_2_bSpectrum=1
wavecode_2_bUseDots=1
wavecode_2_bDrawThick=1
wavecode_2_bAdditive=1
wavecode_2_scaling=1.0
wavecode_2_smoothing=0.5
wavecode_2_r=1.0
wavecode_2_g=1.0
wavecode_2_b=1.0
wavecode_2_a=0.5
wave_2_per_point1=u = abs(cos(q1*0.1))*3.14159;
wave_2_per_point2=v = abs(cos(q1*0.015))*3.14159*2;
wave_2_per_point3=s = sample*3.14*100;
wave_2_per_point4=ss = sample*6.28*1000;
wave_2_per_point5=
wave_2_per_point6=//draw
wave_2_per_point7=xs = 0.5*sin(s)*cos(ss);
wave_2_per_point8=ys = 0.5*sin(s)*sin(ss);
wave_2_per_point9=zs = 0.5*cos(s);
wave_2_per_point10=
wave_2_per_point11=
wave_2_per_point12=//rotate x axis
wave_2_per_point13=angle = sin(q1*0.015)*6.28;
wave_2_per_point14=yx = ys*cos(angle) - zs*sin(angle);
wave_2_per_point15=zx = ys*sin(angle) + zs*cos(angle);
wave_2_per_point16=xx = xs;
wave_2_per_point17=
wave_2_per_point18=//rotate y axis
wave_2_per_point19=angle2 = sin(q1*0.02)*6.28;
wave_2_per_point20=xd = xx*cos(angle2) - zx*sin(angle2);
wave_2_per_point21=zd = xx*sin(angle2) + zx*cos(angle2);
wave_2_per_point22=yd = yx;
wave_2_per_point23=
wave_2_per_point24=//rotaye z axis
wave_2_per_point25=angle3 = sin(q1*0.012)*6.28;
wave_2_per_point26=xn = xd*cos(angle3) - yd*sin(angle3);
wave_2_per_point27=yn = xd*sin(angle3) + yd*cos(angle3);
wave_2_per_point28=
wave_2_per_point29=//scale
wave_2_per_point30=k = 5;
wave_2_per_point31=
wave_2_per_point32=norm = 1/sqrt(xn*xn + yn*yn + ((zd+2)*(zd+2)));
wave_2_per_point33=xnorm = norm*xn;
wave_2_per_point34=ynorm = norm*yn;
wave_2_per_point35=znrom = norm*zd;
wave_2_per_point36=
wave_2_per_point37=xs = xnorm*(1 + (k-1)*q5*q5)  + ynorm*((k-1)*q5*q6) + znorm*((k-1)*q5*q7);
wave_2_per_point38=ys = xnorm*((k-1)*q5*q6) + ynorm*(1+(k-1)*q6*q6) + znorm*((k-1)*q6*q7);
wave_2_per_point39=zd = xnorm*((k-1)*q5*q7) + ynorm*((k-1)*q6*q7) + znorm*(1+(k-1)*q7*q7);
wave_2_per_point40=
wave_2_per_point41=zd = zd + 2;
wave_2_per_point42=
wave_2_per_point43=
wave_2_per_point44=
wave_2_per_point45=x = -xs*zd*0.1 +  0.5;
wave_2_per_point46=y = ys*zd*0.1*1.2 + 0.5;
wave_2_per_point47=
wave_2_per_point48=
wave_2_per_point49=r = 0.5 + 0.5*sin(q1*1.2 + x + x);
wave_2_per_point50=g = 0.5 + 0.5*sin(q1*1.5 + x + y);
wave_2_per_point51=b = 0.5 + 0.5*sin(q1*1.36 + y + y);
wavecode_3_enabled=0
wavecode_3_samples=512
wavecode_3_sep=0
wavecode_3_bSpectrum=0
wavecode_3_bUseDots=0
wavecode_3_bDrawThick=0
wavecode_3_bAdditive=0
wavecode_3_scaling=1.0
wavecode_3_smoothing=0.5
wavecode_3_r=1.0
wavecode_3_g=1.0
wavecode_3_b=1.0
wavecode_3_a=0.5
wave_3_per_point1=u = abs(cos(q1*0.1))*3.14159;
wave_3_per_point2=v = abs(cos(q1*0.015))*3.14159*2;
wave_3_per_point3=s = sample*20;
wave_3_per_point4=
wave_3_per_point5=//draw
wave_3_per_point6=xs = 0.5*sin(s)*cos(s*v);
wave_3_per_point7=ys = 0.5*sin(s)*sin(s*v);
wave_3_per_point8=zs = 0.5*sin(u);
wave_3_per_point9=
wave_3_per_point10=
wave_3_per_point11=//plot x,y,z to point on circle
wave_3_per_point12=//smp=sample*6.283;
wave_3_per_point13=//xp=sin(smp )*0.30;
wave_3_per_point14=//yp=cos(smp )*0.30;
wave_3_per_point15=//zp=0;
wave_3_per_point16=
wave_3_per_point17=
wave_3_per_point18=//alter shape;
wave_3_per_point19=///angy=sin(sample*6.28*4 +t1 )*6.28;
wave_3_per_point20=//xq=xp*cos(angy) - zp*sin(angy);
wave_3_per_point21=//zq=xp*sin(angy) + zp*cos(angy);
wave_3_per_point22=//xp=xq;
wave_3_per_point23=//zp=zq;
wave_3_per_point24=
wave_3_per_point25=
wave_3_per_point26=
wave_3_per_point27=//rotate on y axis;
wave_3_per_point28=//angy=t1*0.1;
wave_3_per_point29=//xq=xp*cos(angy) - zp*sin(angy);
wave_3_per_point30=//zq=xp*sin(angy) + zp*cos(angy);
wave_3_per_point31=//xp=xq;
wave_3_per_point32=//zp=zq;
wave_3_per_point33=
wave_3_per_point34=//rotate on x axis
wave_3_per_point35=//axs1 = sin(t1*0.15) + 1.6;
wave_3_per_point36=//yq= yp*cos(axs1) - zp*sin(axs1);
wave_3_per_point37=//zq= yp*sin(axs1) + zp*cos(axs1);
wave_3_per_point38=//yp=yq;
wave_3_per_point39=//zp=zq;
wave_3_per_point40=
wave_3_per_point41=//rotate on y axis again
wave_3_per_point42=//axs2 = sin(t1*0.1)*3.3;
wave_3_per_point43=//xq=xp*cos(axs2) - zp*sin(axs2);
wave_3_per_point44=//zq=xp*sin(axs2) + zp*cos(axs2);
wave_3_per_point45=//xp=xq;
wave_3_per_point46=//zp=zq;
wave_3_per_point47=
wave_3_per_point48=
wave_3_per_point49=
wave_3_per_point50=
wave_3_per_point51=//rotate x axis
wave_3_per_point52=angle = sin(q1*0.15 - 1.57);
wave_3_per_point53=yx = ys*cos(angle) - zs*sin(angle);
wave_3_per_point54=zx = ys*sin(angle) + zs*cos(angle);
wave_3_per_point55=xx = xs;
wave_3_per_point56=
wave_3_per_point57=//rotate y axis
wave_3_per_point58=//angle2 = sin(q1*0.2 - 1.57);
wave_3_per_point59=xd = xx*cos(angle2) - zx*sin(angle2);
wave_3_per_point60=zd = xx*sin(angle2) + zx*cos(angle2);
wave_3_per_point61=yd = yx;
wave_3_per_point62=
wave_3_per_point63=
wave_3_per_point64=x = xd*zd + 0.5;
wave_3_per_point65=y = yd*zd + 0.5;
wave_3_per_point66=
wave_3_per_point67=
wave_3_per_point68=r = 0.5 + 0.5*sin(q1*1.2 + x + x);
wave_3_per_point69=g = 0.5 + 0.5*sin(q1*1.5 + x + y);
wave_3_per_point70=b = 0.5 + 0.5*sin(q1*1.36 + y + y);
shapecode_0_enabled=1
shapecode_0_sides=4
shapecode_0_additive=0
shapecode_0_thickOutline=0
shapecode_0_textured=1
shapecode_0_x=0.5
shapecode_0_y=0.5
shapecode_0_rad=2.185871
shapecode_0_ang=0.0
shapecode_0_tex_ang=0.0
shapecode_0_tex_zoom=1.0
shapecode_0_r=1.0
shapecode_0_g=1.0
shapecode_0_b=1.0
shapecode_0_a=0.4
shapecode_0_r2=1.0
shapecode_0_g2=1.0
shapecode_0_b2=1.0
shapecode_0_a2=0.0
shapecode_0_border_r=1.0
shapecode_0_border_g=1.0
shapecode_0_border_b=1.0
shapecode_0_border_a=0.1
shape_0_per_frame1=tex_capture = above(q3,1);
shapecode_1_enabled=1
shapecode_1_sides=4
shapecode_1_additive=0
shapecode_1_thickOutline=0
shapecode_1_textured=1
shapecode_1_x=0.5
shapecode_1_y=0.5
shapecode_1_rad=2.185871
shapecode_1_ang=0.0
shapecode_1_tex_ang=0.0
shapecode_1_tex_zoom=1.0
shapecode_1_r=1.0
shapecode_1_g=1.0
shapecode_1_b=1.0
shapecode_1_a=0.4
shapecode_1_r2=1.0
shapecode_1_g2=1.0
shapecode_1_b2=1.0
shapecode_1_a2=0.0
shapecode_1_border_r=1.0
shapecode_1_border_g=1.0
shapecode_1_border_b=1.0
shapecode_1_border_a=0.1
shapecode_2_enabled=0
shapecode_2_sides=4
shapecode_2_additive=0
shapecode_2_thickOutline=0
shapecode_2_textured=0
shapecode_2_x=0.5
shapecode_2_y=0.5
shapecode_2_rad=0.1
shapecode_2_ang=0.0
shapecode_2_tex_ang=0.0
shapecode_2_tex_zoom=1.0
shapecode_2_r=1.0
shapecode_2_g=0.0
shapecode_2_b=0.0
shapecode_2_a=1.0
shapecode_2_r2=0.0
shapecode_2_g2=1.0
shapecode_2_b2=0.0
shapecode_2_a2=0.0
shapecode_2_border_r=1.0
shapecode_2_border_g=1.0
shapecode_2_border_b=1.0
shapecode_2_border_a=0.1
shapecode_3_enabled=0
shapecode_3_sides=4
shapecode_3_additive=0
shapecode_3_thickOutline=0
shapecode_3_textured=0
shapecode_3_x=0.5
shapecode_3_y=0.5
shapecode_3_rad=0.1
shapecode_3_ang=0.0
shapecode_3_tex_ang=0.0
shapecode_3_tex_zoom=1.0
shapecode_3_r=1.0
shapecode_3_g=0.0
shapecode_3_b=0.0
shapecode_3_a=1.0
shapecode_3_r2=0.0
shapecode_3_g2=1.0
shapecode_3_b2=0.0
shapecode_3_a2=0.0
shapecode_3_border_r=1.0
shapecode_3_border_g=1.0
shapecode_3_border_b=1.0
shapecode_3_border_a=0.1
per_frame_1=basstime = basstime + bass*0.03;
per_frame_2=basstime2 = basstime + bass*0.03;
per_frame_3=q1 = basstime2;
per_frame_4=
per_frame_5=//start in most active range
per_frame_6=basstime = if(below(basstime,1000),1000,basstime);
per_frame_7=//basstime = if(above(basstime,495),450,basstime);
per_frame_8=
per_frame_9=basstime = basstime + bass_att*0.03;
per_frame_10=vol = pow(bass+mid+treb,2);
per_frame_11=basssum = vol;
per_frame_12=
per_frame_13=stickybit = time%2;
per_frame_14=
per_frame_15=//avg vol
per_frame_16=//buffer 1
per_frame_17=volAvg = volAvg + vol*equal(stickybit,1);
per_frame_18=//number of samples 1 or framerate
per_frame_19=sample1 = sample1 + equal(stickybit,1);
per_frame_20=//buffer 2
per_frame_21=volAvg2 = volAvg2 + vol*equal(stickybit,0);
per_frame_22=//number of samples 2
per_frame_23=sample2 = sample2 + equal(stickybit,0);
per_frame_24=
per_frame_25=//transision
per_frame_26=edge = bnot(equal(bit2,stickybit));
per_frame_27=
per_frame_28=volAvg = volAvg - volAvg*edge*stickybit;
per_frame_29=volAvg2 = volAvg2 - volAvg2*edge*equal(stickybit,0);
per_frame_30=
per_frame_31=sample1 = sample1  - sample1*edge*stickybit;
per_frame_32=sample2 = sample2  - sample2*edge*equal(stickybit,0);
per_frame_33=
per_frame_34=//test vol against avg buffer lvl
per_frame_35=diff = if(equal(stickybit,1), (basssum/(volAvg2/sample2)) , 0);
per_frame_36=diff = if(equal(stickybit,0), (basssum/(volAvg/sample1)), diff);
per_frame_37=
per_frame_38=q3 = diff;
per_frame_39=
per_frame_40=bit2 = time%2;
per_frame_41=
per_frame_42=difftime = difftime + diff*0.03;
per_frame_43=q2 = difftime;
per_frame_44=
per_frame_45=//fix a strange error
per_frame_46=difftime = if(above(difftime,2000),0, difftime);
per_frame_47=
per_frame_48=monitor = abs(cos(time))*3.14;
per_frame_49=
per_frame_50=rarr = rand(100)*0.01;
per_frame_51=
per_frame_52=decay_r = 0.5 + 0.2*(abs(sin(diff+rarr)));
per_frame_53=decay_g = 0.5 + 0.25*(abs(cos(diff+rarr)));
per_frame_54=decay_b = 0.5 + 0.30*(abs(atan(diff+rarr)));
per_frame_55=
per_frame_56=
per_frame_57=//compute unit vec to scale on
per_frame_58=xxx = sin(difftime*0.89);
per_frame_59=yyy = sin(difftime*0.99);
per_frame_60=zzz = sin(difftime*0.74);
per_frame_61=
per_frame_62=//normalise
per_frame_63=norm = 1/sqrt(xxx*xxx + yyy*yyy + zzz*zzz);
per_frame_64=xxx = xxx*norm;
per_frame_65=yyy = yyy*norm;
per_frame_66=zzz = zzz*norm;
per_frame_67=
per_frame_68=monitor = ZZZ;
per_frame_69=
per_frame_70=q5 = xxx;
per_frame_71=q6 = yyy;
per_frame_72=q7 = zzz;
per_pixel_1=zoom = 1 + 0.05*q3;
warp_1=`shader_body
warp_2=`{
warp_3=`    // sample previous frame
warp_4=`    ret = tex2D( sampler_fc_main, uv ).xyz;
warp_5=`
warp_6=`    // darken (decay) over time
warp_7=`    ret *= 0.8; //or try: ret -= 0.004;
warp_8=`}
comp_1=`shader_body
comp_2=`{
comp_3=`    float2 uv_echo = (uv - 0.5)*1.000*float2(1,-1) + 0.5;
comp_4=`    float3 value = lerp( tex2D(sampler_main, (uv)).xyz,
comp_5=`                tex2D(sampler_main, (uv_echo)).xyz,
comp_6=`                0.50
comp_7=`              ); //video echo
comp_8=`    float3 value2 = lerp( tex2D(sampler_main, GetBlur1(uv)).xyz,
comp_9=`                tex2D(sampler_main, GetBlur1(uv_echo)).xyz,
comp_10=`                0.50
comp_11=`              )*0.5; //video echo
comp_12=`   ret = (value + value2);
comp_13=`
comp_14=`   ret = ret*2.00*ret; //gamma
comp_15=`}


require "ordinare/version"
require "ordinare/sort"
require "ordinare/check"
require "optparse"

module Ordinare
  module_function

  def hi
    "Ciao, sono Ordinare"
  end

  def parse_args
    path = "Gemfile"
    overwrite = true
    version = nil
    help = nil
    check = nil

    OptionParser.new do |opts|
      opts.banner = "Usage: ordinare inside your Rails project"
      opts.separator ""
      opts.separator "Specific options:"

      opts.on("-pFILE", "--path=FILE", "Order file") do |filename|
        path = filename
      end

      opts.on("-n", "--no-overwrite", "Don't overwrite Gemfile") do
        overwrite = false
      end

      opts.on("-c", "--check", "Check if Gemfile is sorted properly") do
        check = true
      end

      opts.on("-v", "--version", "Check gem version") do
        puts Ordinare::VERSION
        version = true
      end

      opts.on("-h", "--help", "Get help") do
        puts opts
        help = true
      end
    end.parse!

    return if version || help

    if check
      Ordinare::Check.gemfile_sorted?(path)
    else
      puts path
      Ordinare::Sort.sort_gemfile(overwrite, path)
    end
  end
end


/***************************************************************************/
/*                                                                         */
/*  svgxval.h                                                              */
/*                                                                         */
/*    FreeType API for validating TrueTypeGX/AAT tables (specification).   */
/*                                                                         */
/*  Copyright 2004, 2005 by                                                */
/*  Masatake YAMATO, Red Hat K.K.,                                         */
/*  David Turner, Robert Wilhelm, and Werner Lemberg.                      */
/*                                                                         */
/*  This file is part of the FreeType project, and may only be used,       */
/*  modified, and distributed under the terms of the FreeType project      */
/*  license, LICENSE.TXT.  By continuing to use, modify, or distribute     */
/*  this file you indicate that you have read the license and              */
/*  understand and accept it fully.                                        */
/*                                                                         */
/***************************************************************************/

/***************************************************************************/
/*                                                                         */
/* gxvalid is derived from both gxlayout module and otvalid module.        */
/* Development of gxlayout is supported by the Information-technology      */
/* Promotion Agency(IPA), Japan.                                           */
/*                                                                         */
/***************************************************************************/

#ifndef __SVGXVAL_H__
#define __SVGXVAL_H__

#include FT_GX_VALIDATE_H
#include FT_INTERNAL_VALIDATE_H

FT_BEGIN_HEADER

#define FT_SERVICE_ID_GX_VALIDATE           "truetypegx-validate"
#define FT_SERVICE_ID_CLASSICKERN_VALIDATE  "classickern-validate"

  typedef FT_Error
  (*gxv_validate_func)( FT_Face   face,
                        FT_UInt   gx_flags,
                        FT_Bytes  tables[FT_VALIDATE_GX_LENGTH],
                        FT_UInt   table_length );

  typedef FT_Error
  (*ckern_validate_func)( FT_Face   face,
                          FT_UInt   ckern_flags,
                          FT_Bytes  *ckern_table );

  FT_DEFINE_SERVICE( GXvalidate )
  {
    gxv_validate_func  validate;
  };

  FT_DEFINE_SERVICE( CKERNvalidate )
  {
    ckern_validate_func  validate;
  };

  /* */

FT_END_HEADER

#endif /* __SVGXVAL_H__ */

/* END */


/*
 * Copyright (C) 2017 Apple Inc. All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted provided that the following conditions
 * are met:
 * 1. Redistributions of source code must retain the above copyright
 *    notice, this list of conditions and the following disclaimer.
 * 2. Redistributions in binary form must reproduce the above copyright
 *    notice, this list of conditions and the following disclaimer in the
 *    documentation and/or other materials provided with the distribution.
 *
 * THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
 * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
 * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
 * THE POSSIBILITY OF SUCH DAMAGE.
 */

#include "config.h"
#include "HTMLMenuItemElement.h"

#include "Chrome.h"
#include "ChromeClient.h"
#include "Document.h"
#include "HTMLMenuElement.h"
#include "HTMLNames.h"
#include "Page.h"
#include <wtf/IsoMallocInlines.h>

namespace WebCore {

WTF_MAKE_ISO_ALLOCATED_IMPL(HTMLMenuItemElement);

using namespace HTMLNames;

inline HTMLMenuItemElement::HTMLMenuItemElement(const QualifiedName& tagName, Document& document)
    : HTMLElement(tagName, document)
{
    ASSERT(hasTagName(menuitemTag));
}

Node::InsertedIntoAncestorResult HTMLMenuItemElement::insertedIntoAncestor(InsertionType type, ContainerNode& ancestor)
{
    auto result = HTMLElement::insertedIntoAncestor(type, ancestor);
    if (type.connectedToDocument) {
        if (auto* page = document().page()) {
            if (is<HTMLMenuElement>(ancestor) && downcast<HTMLMenuElement>(ancestor).isTouchBarMenu())
                page->chrome().client().didInsertMenuItemElement(*this);
        }
    }
    return result;
}

void HTMLMenuItemElement::removedFromAncestor(RemovalType type, ContainerNode& ancestor)
{
    HTMLElement::removedFromAncestor(type, ancestor);
    if (type.disconnectedFromDocument) {
        if (auto* page = document().page()) {
            if (is<HTMLMenuElement>(ancestor) && downcast<HTMLMenuElement>(ancestor).isTouchBarMenu())
                page->chrome().client().didRemoveMenuItemElement(*this);
        }
    }
}

Ref<HTMLMenuItemElement> HTMLMenuItemElement::create(const QualifiedName& tagName, Document& document)
{
    return adoptRef(*new HTMLMenuItemElement(tagName, document));
}

}


..
    **************************************************
    *                                                *
    *   Automatically generated file, do not edit!   *
    *                                                *
    **************************************************

.. _amdgpu_synid10_sdst256_0:

sdst
===========================

Instruction output.

*Size:* 8 dwords.

*Operands:* :ref:`s<amdgpu_synid_s>`, :ref:`ttmp<amdgpu_synid_ttmp>`


import { Tag } from '@database/entity/Tag';
import { TagCategory } from '@database/entity/TagCategory';
import { TagSuggestion } from '@shared/back/types';
import { memoizeOne } from '@shared/memoize';
import * as React from 'react';
import { checkIfAncestor } from '../Util';
import { InputField, InputFieldProps } from './InputField';
import { OpenIcon } from './OpenIcon';

/** A function that receives a HTML element (or null). */
type RefFunc<T extends HTMLElement> = (instance: T | null) => void;

/** Input element types used by this component. */
type InputElement = HTMLInputElement | HTMLTextAreaElement;

export type TagInputFieldProps = InputFieldProps & {
  /** Items to display in the drop-down list. */
  tags: Tag[];
  /** Called when a tag is selected */
  onTagSelect?: (tag: Tag, index: number) => void;
  /** Called when a tag is selected when editable */
  onTagEditableSelect?: (tag: Tag, index: number) => void;
  /** Called when a tag suggestion is selected */
  onTagSuggestionSelect?: (suggestion: TagSuggestion) => void;
  /** Called when the tag input box is submitted */
  onTagSubmit?: (text: string) => void;
  /** Function for getting a reference to the input element. Called whenever the reference could change. */
  inputRef?: RefFunc<InputElement>;
  /** Tag suggestions based on currently entered tag */
  suggestions: TagSuggestion[];
  /** Tag Category info */
  categories: TagCategory[];
};

type TagInputFieldState = {
  expanded: boolean;
};

/** An input element with a drop-down menu that can list any number of selectable and clickable text elements. */
export class TagInputField extends React.Component<TagInputFieldProps, TagInputFieldState> {
  rootRef: React.RefObject<HTMLDivElement> = React.createRef();
  contentRef: React.RefObject<HTMLUListElement> = React.createRef();
  inputRef: React.RefObject<InputElement> = React.createRef();

  constructor(props: TagInputFieldProps) {
    super(props);
    this.state = {
      expanded: false
    };
  }

  componentDidMount() {
    document.addEventListener('mousedown', this.onGlobalMouseDown);
    document.addEventListener('keydown', this.onGlobalKeyDown);
    this.updatePropRefs();
  }

  componentDidUpdate() {
    this.updatePropRefs();
  }

  componentWillUnmount() {
    document.removeEventListener('mousedown', this.onGlobalMouseDown);
    document.removeEventListener('keydown', this.onGlobalKeyDown);
    this.updatePropRefs();
  }

  render() {
    const { suggestions, tags: items, className, editable, text } = this.props;
    const { expanded } = this.state;
    // Render input field
    const inputField = (
      <InputField
        { ...this.props }
        text={text}
        className={(className || '') + ' input-dropdown__input-field__input__inner'}
        onChange={this.onInputChange}
        onClick={this.onInputFieldClick}
        onKeyDown={this.onInputKeyDown}
        reference={this.inputRef} />
    );
    // Render
    return (

        { editable ? inputField : undefined }
        { expanded && suggestions.length > 0 ?

            { this.renderSuggestions(suggestions, expanded, this.contentRef) }

          : undefined }

          { this.renderItems(items) }

    );
  }

  /** Renders the list of items in the drop-down menu. */
  renderSuggestions = memoizeOne<(items: TagSuggestion[], expanded: boolean, ref: React.RefObject<HTMLUListElement>) => JSX.Element>((items: TagSuggestion[], expanded: boolean,  ref: React.RefObject<HTMLUListElement>) => {
    const itemsRendered = items.map((suggestion, index) => this.renderSuggestionItem(suggestion, index));
    return (

        {itemsRendered}

    );
  }, ([ itemsA, expandedA ], [ itemsB, expandedB ]) => {
    return expandedA === expandedB ? checkIfArraysAreEqual(itemsA, itemsB) : false;
  });

  renderSuggestionItem = (suggestion: TagSuggestion, index: number) => {
    const category = this.props.categories.find(c => c.id == suggestion.tag.categoryId);
    const aliasRender = suggestion.alias ? (

{suggestion.alias} {'->'} {suggestion.primaryAlias}

        {suggestion.tag.count ? (
{suggestion.tag.count}
) : undefined}

    ) : (

{suggestion.primaryAlias}

        {suggestion.tag.count ? (
{suggestion.tag.count}
) : undefined}

    );
    return (

 this.onSuggestionItemClick(suggestion)}
        onKeyDown={(event) => this.onSuggestionKeyDown(event, suggestion)}
        className='tag-input-dropdown__suggestion' key={index} >
        <OpenIcon
          className='tag-icon'
          color={category ? category.color : '#FFFFFF'}
          key={index * 2}
          icon='tag'/>

          {aliasRender}

    );
  };

  /** Renders the list of items in the drop-down menu. */
  renderItems = memoizeOne<(items: Tag[]) => JSX.Element[]>((items: Tag[]) => {
    const className = this.props.editable ? 'tag-editable' : '';
    return items.map((tag, index) => {
      const category = this.props.categories.find(c => c.id == tag.categoryId);
      const shownAlias = tag.primaryAlias ? tag.primaryAlias.name : 'No Primary Alias Set';
      return (

          <OpenIcon
            className='tag-icon'
            color={category ? category.color : '#FFFFFF'}
            key={index * 2}
            icon='tag'/>

            { shownAlias }

      );
    });
  }, ([ itemsA ], [ itemsB ]) => {
    return checkIfArraysAreEqual(itemsA, itemsB);
  });

  onListItemClick = (event: React.MouseEvent): void => {
    if (!this.props.disabled) {
      if (this.props.editable) {
        if (this.props.onTagEditableSelect) {
          const index = getListItemIndex(event.target);
          if (index >= 0) {
            this.props.onTagEditableSelect(this.props.tags[index], index);
          }
        }
      } else {
        if (this.props.onTagSelect) {
          const index = getListItemIndex(event.target);
          if (index >= 0) {
            this.props.onTagSelect(this.props.tags[index], index);
          }
        }
      }
    }
  }

  onSuggestionItemClick = (suggestion: TagSuggestion): void => {
    if (!this.props.disabled) {
      if (this.props.onTagSuggestionSelect) {
        this.props.onTagSuggestionSelect(suggestion);
      }
    }
  }

  onInputChange = (event: React.ChangeEvent<InputElement>): void => {
    if (!this.props.disabled) {
      if (this.props.onChange) { this.props.onChange(event); }
    }
  }

  onInputFieldClick = (event: React.MouseEvent): void => {
    this.setState({ expanded: true });
  }

  onSuggestionKeyDown = (event: React.KeyboardEvent<HTMLLIElement>, tagSuggestion: TagSuggestion): void => {
    const { key } = event;
    if (key === 'Enter' && this.props.onTagSuggestionSelect) {
      this.props.onTagSuggestionSelect(tagSuggestion);
      const element = this.inputRef.current;
      if (element) { element.focus(); }
    }
    if (key === 'ArrowUp' || key === 'ArrowDown') {
      // Focus the first or last item
      const element = document.activeElement;
      if (element && checkIfAncestor(element, this.contentRef.current)) {
        const next: any = (key === 'ArrowUp')
          ? element.previousSibling
          : element.nextElementSibling;
        if (next && next.focus) {
          next.focus();
          event.preventDefault();
        }
      }
    }
  }

  onInputKeyDown = (event: React.KeyboardEvent<InputElement>): void => {
    this.setState({ expanded: true });
    if (!this.props.disabled) {
      const { key } = event;
      if (key === 'Enter' && this.props.onTagSubmit) {
        this.props.onTagSubmit(this.props.text);
      }
      if (key === 'ArrowUp' || key === 'ArrowDown') {
        // Focus the first or last item
        event.preventDefault();
        const content = this.contentRef.current;
        if (!content) { throw new Error('dropdown input field content div is missing'); }
        const element: any = (key === 'ArrowUp') ? content.lastChild : content.firstChild;
        if (element && element.focus) { element.focus(); }
      }
      // Relay event
      if (this.props.onKeyDown) { this.props.onKeyDown(event); }
    }
  }

  onGlobalMouseDown = (event: MouseEvent) => {
    if (this.state.expanded && !event.defaultPrevented) {
      if (!checkIfAncestor(event.target as Element | null, this.rootRef.current)) {
        this.setState({ expanded: false });
      }
    }
  }

  onGlobalKeyDown = (event: KeyboardEvent): void => {
    if (this.state.expanded && event.key === 'Escape') {
      this.setState({ expanded: false });
      if (!this.inputRef.current) { throw new Error('input field is missing'); }
      this.inputRef.current.focus();
    }
  }

  /**
   * Call the "ref" property functions.
   * Do this whenever there's a possibility that the referenced elements has been replaced.
   */
  updatePropRefs(): void {
    if (this.props.inputRef) {
      this.props.inputRef(this.inputRef.current || null);
    }
  }
}

/** Get the index of an item element (or -1 if index was not found). */
function getListItemIndex(target: any): number {
  if (target instanceof Element || target instanceof HTMLElement) {
    return parseInt(target.getAttribute('data-dropdown-index') || '-1', 10);
  }
  return -1;
}

/** Check if two arrays are of equal length and contains the exact same items in the same order. */
function checkIfArraysAreEqual(a: Array<any>, b: Array<any>): boolean {
  if (a.length !== b.length) { return false; }
  for (let i = a.length; i >= 0; i--) {
    if (a[i] !== b[i]) { return false; }
  }
  return true;
}


#!/bin/sh
#
#    Licensed to the Apache Software Foundation (ASF) under one or more
#    contributor license agreements.  See the NOTICE file distributed with
#    this work for additional information regarding copyright ownership.
#    The ASF licenses this file to You under the Apache License, Version 2.0
#    (the "License"); you may not use this file except in compliance with
#    the License.  You may obtain a copy of the License at
#
#       http://www.apache.org/licenses/LICENSE-2.0
#
#    Unless required by applicable law or agreed to in writing, software
#    distributed under the License is distributed on an "AS IS" BASIS,
#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
#    See the License for the specific language governing permissions and
#    limitations under the License.
#

realpath() {
  # Use in priority xpg4 awk or nawk on SunOS as standard awk is outdated
  AWK=awk
  if ${solaris}; then
      if [ -x /usr/xpg4/bin/awk ]; then
          AWK=/usr/xpg4/bin/awk
      elif [ -x /usr/bin/nawk ]; then
          AWK=/usr/bin/nawk
      fi
  fi

  READLINK_EXISTS=$(command -v readlink &> /dev/null)
  if [ -z "$READLINK_EXISTS" ]; then
    OURPWD=${PWD}
    cd "$(dirname "${1}")" || exit 2
    LINK=$(ls -l "$(basename "${1}")" | ${AWK} -F"-> " '{print $2}')
    while [ "${LINK}" ]; do
        echo "link: ${LINK}" >&2
        cd "$(dirname "${LINK}")" || exit 2
        LINK=$(ls -l "$(basename "${1}")" | ${AWK} -F"-> " '{print $2}')
    done
    REALPATH="${PWD}/$(basename "${1}")"
    cd "${OURPWD}" || exit 2
    echo "${REALPATH}"
  else
    OURPWD=${PWD}
    cd "$(dirname "${1}")" || exit 2
    LINK=$(readlink "$(basename "${1}")")
    while [ "${LINK}" ]; do
	    echo "link: ${LINK}" >&2
        cd "$(dirname "${LINK}")" || exit 2
        LINK=$(readlink "$(basename "${1}")")
    done
    REALPATH="${PWD}/$(basename "${1}")"
    cd "${OURPWD}" || exit 2
    echo "${REALPATH}"
  fi
}

REALNAME=$(realpath "$0")
DIRNAME=$(dirname "${REALNAME}")
PROGNAME=$(basename "${REALNAME}")
LOCAL_CLASSPATH=$CLASSPATH

#
# Load common functions
#
. "${DIRNAME}/inc"

#
# Sourcing environment settings for karaf similar to tomcats setenv
#
KARAF_SCRIPT="${PROGNAME}"
export KARAF_SCRIPT
if [ -f "${DIRNAME}/setenv" ]; then
  . "${DIRNAME}/setenv"
fi

forceNoRoot() {
    # If configured, prevent execution as root
    if [ "${KARAF_NOROOT}" ] && [ "$(id -u)" -eq 0 ]; then
        die "Do not run as root!"
    fi
}

setupClassPath() {
    # Add the jars in the lib dir
    for file in "${KARAF_HOME}"/lib/boot/*.jar
    do
        if [ -z "${CLASSPATH}" ]; then
            CLASSPATH="${file}"
        else
            CLASSPATH="${CLASSPATH}:${file}"
        fi
    done
}

checkRootInstance() {
   ROOT_INSTANCE_RUNNING=false
   if [ -f "${KARAF_HOME}/instances/instance.properties" ];
   then
      ROOT_INSTANCE_PID=$(sed -n -e '/item.0.pid/ s/.*\= *//p' "${KARAF_HOME}/instances/instance.properties")
      ROOT_INSTANCE_NAME=$(sed -n -e '/item.0.name/ s/.*\= *//p' "${KARAF_HOME}/instances/instance.properties")
      if [ "${ROOT_INSTANCE_PID}" -ne "0" ]; then
          if ps -p "${ROOT_INSTANCE_PID}" > /dev/null
          then
              MAIN=org.apache.karaf.main.Main
              PID_COMMAND=$("${PS_PREFIX}"ps -p "${ROOT_INSTANCE_PID}" -o args | sed 1d)

              if [ "${PID_COMMAND#*$MAIN}" != "$PID_COMMAND" ]; then
                ROOT_INSTANCE_RUNNING=true
              fi
          fi
      fi
   fi
}

init() {
    # Prevent root execution if configured
    forceNoRoot

    # Determine if there is special OS handling we must perform
    detectOS

    # Unlimit the number of file descriptors if possible
    unlimitFD

    # Locate the Karaf home directory
    locateHome

    # Locate the Karaf base directory
    locateBase

    # Locate the Karaf data directory
    locateData

    # Locate the Karaf etc directory
    locateEtc

    # Setup the native library path
    setupNativePath

    # Locate the Java VM to execute
    locateJava

    # Determine the JVM vendor
    detectJVM

    # Determine the JVM version >= 1.6
    checkJvmVersion

    # Check if a root instance is already running
    checkRootInstance

    # Setup default options
    setupDefaults

    # Setup classpath
    setupClassPath

    # Install debug options
    setupDebugOptions

}

run() {
    OPTS="-Dkaraf.startLocalConsole=true -Dkaraf.startRemoteShell=true"
    MAIN=org.apache.karaf.main.Main
    if [ "x$CHECK_ROOT_INSTANCE_RUNNING" = "x" ]; then
        CHECK_ROOT_INSTANCE_RUNNING=true
    fi
    JAVA_ENDORSED_DIRS="${JAVA_HOME}/jre/lib/endorsed:${JAVA_HOME}/lib/endorsed:${KARAF_HOME}/lib/endorsed"
    JAVA_EXT_DIRS="${JAVA_HOME}/jre/lib/ext:${JAVA_HOME}/lib/ext:${KARAF_HOME}/lib/ext"
    if ${cygwin}; then
        JAVA_HOME=$(cygpath --path --windows "${JAVA_HOME}")
        JAVA_ENDORSED_DIRS=$(cygpath --path --windows "${JAVA_ENDORSED_DIRS}")
        JAVA_EXT_DIRS=$(cygpath --path --windows "${JAVA_EXT_DIRS}")
    fi
    convertPaths
    cd "${KARAF_BASE}" || exit 2

    if [ -z "${KARAF_EXEC}" ]; then
        KARAF_EXEC=""
    fi

    debug=false
    debugs=false
    nodebug=false
    while [ "${1}" != "" ]; do
        case "${1}" in
            'clean')
                rm -rf "${KARAF_DATA:?}"
                shift
                ;;
            'debug')
                debug=true
                shift
                ;;
            'debugs')
                debug=true
                debugs=true
                shift
                ;;
            'status')
                MAIN=org.apache.karaf.main.Status
                CHECK_ROOT_INSTANCE_RUNNING=false
                nodebug=true
                shift
                ;;
            'stop')
                MAIN=org.apache.karaf.main.Stop
                CHECK_ROOT_INSTANCE_RUNNING=false
                nodebug=true
                shift
                ;;
            'console')
                CHECK_ROOT_INSTANCE_RUNNING=false
                shift
                ;;
            'server')
                OPTS="-Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true"
                shift
                ;;
            'run')
                OPTS="-Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true -Dkaraf.log.console=ALL"
                shift
                ;;
            'daemon')
                OPTS="-Dkaraf.startLocalConsole=false -Dkaraf.startRemoteShell=true"
                KARAF_DAEMON="true"
                KARAF_EXEC="exec"
                shift
                ;;
            'client')
                OPTS="-Dkaraf.startLocalConsole=true -Dkaraf.startRemoteShell=false"
                CHECK_ROOT_INSTANCE_RUNNING=false
                nodebug=true
                shift
                ;;
            'classpath')
                echo "Classpath: ${CLASSPATH}"
                shift
                ;;
            *)
                break
                ;;
        esac
    done

    if ${nodebug}; then
        debug=false
    fi
    if ${debug}; then
        if [ "x${JAVA_DEBUG_OPTS}" = "x" ]; then
            if ${debugs}; then
                JAVA_DEBUG_OPTS="${DEFAULT_JAVA_DEBUGS_OPTS}"
            else
                JAVA_DEBUG_OPTS="${DEFAULT_JAVA_DEBUG_OPTS}"
            fi
        fi
        JAVA_OPTS="${JAVA_DEBUG_OPTS} ${JAVA_OPTS}"
    fi

    while true; do
        # When users want to update the lib version of, they just need to create
        # a lib.next directory and on the new restart, it will replace the current lib directory.
        if [ -d "${KARAF_HOME:?}/lib.next" ] ; then
            echo "Updating libs..."
            rm -rf "${KARAF_HOME:?}/lib"
            mv -f "${KARAF_HOME:?}/lib.next" "${KARAF_HOME}/lib"

            echo "Updating classpath..."
            CLASSPATH=$LOCAL_CLASSPATH
            setupClassPath
        fi

        # Ensure the log directory exists
        # We may need to have a place to redirect stdout/stderr
        if [ ! -d "${KARAF_DATA}/log" ]; then
            mkdir -p "${KARAF_DATA}/log"
        fi
        if [ ! -d "${KARAF_DATA}/tmp" ]; then
            mkdir -p "${KARAF_DATA}/tmp"
        fi

        if [ "${ROOT_INSTANCE_RUNNING}" = "false" ] || [ "${CHECK_ROOT_INSTANCE_RUNNING}" = "false" ] ; then
            if [ "${VERSION}" -gt "8" ]; then
                ${KARAF_EXEC} "${JAVA}" ${JAVA_OPTS} \
                    --add-reads=java.xml=java.logging \
                    --patch-module java.base=lib/endorsed/org.apache.karaf.specs.locator-4.2.1.jar \
                    --patch-module java.xml=lib/endorsed/org.apache.karaf.specs.java.xml-4.2.1.jar \
                    --add-opens java.base/java.security=ALL-UNNAMED \
                    --add-opens java.base/java.net=ALL-UNNAMED \
                    --add-opens java.base/java.lang=ALL-UNNAMED \
                    --add-opens java.base/java.util=ALL-UNNAMED \
                    --add-opens java.naming/javax.naming.spi=ALL-UNNAMED \
                    --add-opens java.rmi/sun.rmi.transport.tcp=ALL-UNNAMED \
                    --add-exports=java.base/sun.net.www.protocol.http=ALL-UNNAMED \
                    --add-exports=java.base/sun.net.www.protocol.https=ALL-UNNAMED \
                    --add-exports=java.base/sun.net.www.protocol.jar=ALL-UNNAMED \
                    --add-exports=jdk.xml.dom/org.w3c.dom.html=ALL-UNNAMED \
                    --add-exports=jdk.naming.rmi/com.sun.jndi.url.rmi=ALL-UNNAMED \
                    -Dkaraf.instances="${KARAF_HOME}/instances" \
                    -Dkaraf.home="${KARAF_HOME}" \
                    -Dkaraf.base="${KARAF_BASE}" \
                    -Dkaraf.data="${KARAF_DATA}" \
                    -Dkaraf.etc="${KARAF_ETC}" \
                    -Dkaraf.restart.jvm.supported=true \
                    -Djava.io.tmpdir="${KARAF_DATA}/tmp" \
                    -Djava.util.logging.config.file="${KARAF_BASE}/etc/java.util.logging.properties" \
                    ${KARAF_SYSTEM_OPTS} \
                    ${KARAF_OPTS} \
                    ${OPTS} \
                    -classpath "${CLASSPATH}" \
                    ${MAIN} "$@"
            else
                ${KARAF_EXEC} "${JAVA}" ${JAVA_OPTS} \
                    -Djava.endorsed.dirs="${JAVA_ENDORSED_DIRS}" \
                    -Djava.ext.dirs="${JAVA_EXT_DIRS}" \
                    -Dkaraf.instances="${KARAF_HOME}/instances" \
                    -Dkaraf.home="${KARAF_HOME}" \
                    -Dkaraf.base="${KARAF_BASE}" \
                    -Dkaraf.data="${KARAF_DATA}" \
                    -Dkaraf.etc="${KARAF_ETC}" \
                    -Dkaraf.restart.jvm.supported=true \
                    -Djava.io.tmpdir="${KARAF_DATA}/tmp" \
                    -Djava.util.logging.config.file="${KARAF_BASE}/etc/java.util.logging.properties" \
                    ${KARAF_SYSTEM_OPTS} \
                    ${KARAF_OPTS} \
                    ${OPTS} \
                    -classpath "${CLASSPATH}" \
                    ${MAIN} "$@"
            fi
        else
            die "There is a Root instance already running with name ${ROOT_INSTANCE_NAME} and pid ${ROOT_INSTANCE_PID}. If you know what you are doing and want to force the run anyway, export CHECK_ROOT_INSTANCE_RUNNING=false and re run the command."
        fi

        KARAF_RC=$?
        if [ ${KARAF_DAEMON} ] ; then
            exit ${KARAF_RC}
        else
            if [ "${KARAF_RC}" -eq 10 ]; then
               echo "Restarting JVM..."
            else
               exit ${KARAF_RC}
            fi
        fi
    done
}

nothing() {
   # nothing to do here
   a=a
}

main() {
    init
    trap 'nothing' TSTP
    run "$@"
}

main "$@"


local core_utils = require "luacheck.core_utils"

local stage = {}

stage.warnings = {
   ["531"] = {message_format = "right side of assignment has more values than left side expects", fields = {}},
   ["532"] = {message_format = "right side of assignment has less values than left side expects", fields = {}}
}

local function is_unpacking(node)
   return node.tag == "Dots" or node.tag == "Call" or node.tag == "Invoke"
end

local function check_assignment(chstate, node)
   local rhs = node[2]

   if not rhs then
      return
   end

   local lhs = node[1]

   if #rhs > #lhs then
      chstate:warn_range("531", node)
   elseif #rhs < #lhs and node.tag == "Set" and not is_unpacking(rhs[#rhs]) then
      chstate:warn_range("532", node)
   end
end

function stage.run(chstate)
   core_utils.each_statement(chstate, {"Set", "Local"}, check_assignment)
end

return stage


package opts

import (
	"github.com/docker/docker/pkg/testutil/assert"
	"testing"
)

func TestQuotedStringSetWithQuotes(t *testing.T) {
	value := ""
	qs := NewQuotedString(&value)
	assert.NilError(t, qs.Set("\"something\""))
	assert.Equal(t, qs.String(), "something")
	assert.Equal(t, value, "something")
}

func TestQuotedStringSetWithMismatchedQuotes(t *testing.T) {
	value := ""
	qs := NewQuotedString(&value)
	assert.NilError(t, qs.Set("\"something'"))
	assert.Equal(t, qs.String(), "\"something'")
}

func TestQuotedStringSetWithNoQuotes(t *testing.T) {
	value := ""
	qs := NewQuotedString(&value)
	assert.NilError(t, qs.Set("something"))
	assert.Equal(t, qs.String(), "something")
}


//
//     Generated by class-dump 3.5 (64 bit).
//
//     class-dump is Copyright (C) 1997-1998, 2000-2001, 2004-2013 by Steve Nygard.
//

#import "NSView.h"

@interface IARoundedCornerBackgroundView : NSView
{
}

- (void)updateLayer;
- (BOOL)wantsUpdateLayer;

@end


import { PanelPlugin } from '@grafana/data';

import { TextPanel } from './TextPanel';
import { TextOptions } from './types';
import { textPanelMigrationHandler } from './textPanelMigrationHandler';
import { TextPanelEditor } from './TextPanelEditor';

export const plugin = new PanelPlugin<TextOptions>(TextPanel)
  .setPanelOptions(builder => {
    builder
      .addRadio({
        path: 'mode',
        name: 'Mode',
        description: 'text mode of the panel',
        settings: {
          options: [
            { value: 'markdown', label: 'Markdown' },
            { value: 'html', label: 'HTML' },
          ],
        },
        defaultValue: 'markdown',
      })
      .addCustomEditor({
        id: 'content',
        path: 'content',
        name: 'Content',
        description: 'Content of the panel',
        defaultValue: `# Title

For markdown syntax help: [commonmark.org/help](https://commonmark.org/help/)
         `,
        editor: TextPanelEditor,
      });
  })
  .setMigrationHandler(textPanelMigrationHandler);


import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
import org.jetbrains.kotlin.pill.PillExtension

description = "Kotlin annotations for Android"

plugins {
    kotlin("jvm")
    id("jps-compatible")
}

pill {
    variant = PillExtension.Variant.FULL
}

jvmTarget = "1.6"
javaHome = rootProject.extra["JDK_16"] as String

tasks.withType<KotlinCompile> {
    kotlinOptions.freeCompilerArgs += listOf(
            "-Xallow-kotlin-package",
            "-module-name", project.name
    )
}

sourceSets {
    "main" {
        projectDefault()
    }
}

dependencies {
    compileOnly(kotlinBuiltins())
}

publish()

sourcesJar()
javadocJar()
runtimeJar()


/*
 Copyright (c) 2003-2019, CKSource - Frederico Knabben. All rights reserved.
 For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license
*/
CKEDITOR.plugins.setLang("codesnippet","pt-br",{button:"Inserir fragmento de código",codeContents:"Conteúdo do código",emptySnippetError:"Um fragmento de código não pode ser vazio",language:"Idioma",title:"Fragmento de código",pathName:"fragmento de código"});


/// Copyright (c) 2012 Ecma International.  All rights reserved.
/// Ecma International makes this code available under the terms and conditions set
/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
/// "Use Terms").   Any redistribution of this code must retain the above
/// copyright and this notice and otherwise comply with the Use Terms.
/**
 * @path ch15/15.2/15.2.3/15.2.3.7/15.2.3.7-5-b-191.js
 * @description Object.defineProperties - 'get' property of 'descObj' is present (8.10.5 step 7)
 */

function testcase() {
        var obj = {};

        var getter = function () {
            return "present";
        };

        Object.defineProperties(obj, {
            property: {
                get: getter
            }
        });

        return obj.property === "present";
    }
runTestCase(testcase);


51
Lattice="1.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 1.0" Properties=species:S:1:pos:R:3:Z:I:1 pbc="F F F"
N     -2.30104494      -1.40021396       1.54219699        7
C     -2.28210092      -1.41105795       0.07750300        6
C     -0.89002401      -1.10864401      -0.41236499        6
O     -0.30645600      -1.93403900      -1.16661894        8
C     -3.27036691      -0.37298200      -0.48741999        6
C     -4.69434023      -0.75434297      -0.21047200        6
N     -5.28805017      -1.86290705      -0.69737601        7
C     -5.58945608      -0.04143700       0.55557102        6
C     -6.54400778      -1.79895496      -0.20672201        6
N     -6.75323486      -0.70781302       0.55411202        7
N     -0.22949700       0.10534100      -0.02279800        7
C      1.10404003       0.45944801      -0.51935202        6
C      2.13716197      -0.39264399       0.16921000        6
O      2.23315811      -0.35758701       1.42688298        8
C      1.40539503       1.95193994      -0.27960399        6
C      0.48627499       2.85956693      -1.11591494        6
C      0.85673499       4.34850407      -1.00014997        6
C      0.56713200       4.95331097       0.38145399        6
N     -0.84809399       4.83281088       0.72104299        7
N      3.00225496      -1.24483299      -0.59673899        7
C      4.02726507      -2.08104300       0.03459700        6
C      5.13062191      -1.21635795       0.57257301        6
O      5.42617178      -1.25880098       1.79683495        8
C      4.59314013      -3.08908892      -0.96908802        6
O      5.82457018      -0.36183500      -0.27944899        8
H     -1.61248302      -2.10941792       1.88574898        1
H     -3.23706198      -1.73534501       1.86650097        1
H     -2.57431197      -2.42386794      -0.28593799        1
H     -3.05987501       0.62764800      -0.05004600        1
H     -3.14373112      -0.29504499      -1.58930802        1
H     -5.40904522       0.89001399       1.07629597        1
H     -7.30160809      -2.54541898      -0.40537000        1
H     -7.63631392      -0.43689400       1.04032803        1
H     -0.72177398       0.75084603       0.63590902        1
H      1.14279604       0.27459499      -1.61588001        1
H      1.28500700       2.18008304       0.80109203        1
H      2.46248388       2.15672588      -0.56084800        1
H      0.57653999       2.57045102      -2.18583608        1
H     -0.57488298       2.71045089      -0.82284999        1
H      1.93439996       4.48338509      -1.23767304        1
H      0.28072199       4.91630793      -1.76308405        1
H      1.18234599       4.45066214       1.15722299        1
H      0.85780299       6.02755690       0.37276500        1
H     -1.39202094       5.45840216       0.08305700        1
H     -0.97660398       5.20933390       1.68803596        1
H      2.87038302      -1.28856802      -1.63314497        1
H      3.56300592      -2.65761209       0.86593401        1
H      3.77768707      -3.74173093      -1.34734404        1
H      5.35590696      -3.73113394      -0.47841400        1
H      5.06114006      -2.56665111      -1.83126605        1
H      6.56877184       0.22931699       0.07092100        1


#=============================================================================
#  MuseScore
#  Music Composition & Notation
#
#  Copyright (C) 2020 MuseScore BVBA and others
#
#  This program is free software; you can redistribute it and/or modify
#  it under the terms of the GNU General Public License version 2.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#=============================================================================

set(MODULE global)

include(${CMAKE_CURRENT_LIST_DIR}/modularity/modularity.cmake)
include(${CMAKE_CURRENT_LIST_DIR}/async/async.cmake)

set(MODULE_SRC
    ${MODULARITY_SRC}
    ${ASYNC_SRC}
    ${CMAKE_CURRENT_LIST_DIR}/globalmodule.cpp
    ${CMAKE_CURRENT_LIST_DIR}/globalmodule.h
    ${CMAKE_CURRENT_LIST_DIR}/iinteractive.h
    ${CMAKE_CURRENT_LIST_DIR}/iglobalconfiguration.h
    ${CMAKE_CURRENT_LIST_DIR}/io/path.cpp
    ${CMAKE_CURRENT_LIST_DIR}/io/path.h
    ${CMAKE_CURRENT_LIST_DIR}/log.h
    ${CMAKE_CURRENT_LIST_DIR}/dataformatter.cpp
    ${CMAKE_CURRENT_LIST_DIR}/dataformatter.h
    ${CMAKE_CURRENT_LIST_DIR}/val.cpp
    ${CMAKE_CURRENT_LIST_DIR}/val.h
    ${CMAKE_CURRENT_LIST_DIR}/settings.cpp
    ${CMAKE_CURRENT_LIST_DIR}/settings.h
    ${CMAKE_CURRENT_LIST_DIR}/version.cpp
    ${CMAKE_CURRENT_LIST_DIR}/version.h
    ${CMAKE_CURRENT_LIST_DIR}/stringutils.cpp
    ${CMAKE_CURRENT_LIST_DIR}/stringutils.h
    ${CMAKE_CURRENT_LIST_DIR}/ptrutils.h
    ${CMAKE_CURRENT_LIST_DIR}/realfn.h
    ${CMAKE_CURRENT_LIST_DIR}/runtime.cpp
    ${CMAKE_CURRENT_LIST_DIR}/runtime.h
    ${CMAKE_CURRENT_LIST_DIR}/translation.cpp
    ${CMAKE_CURRENT_LIST_DIR}/translation.h
    ${CMAKE_CURRENT_LIST_DIR}/ret.cpp
    ${CMAKE_CURRENT_LIST_DIR}/ret.h
    ${CMAKE_CURRENT_LIST_DIR}/retval.h
    ${CMAKE_CURRENT_LIST_DIR}/uri.cpp
    ${CMAKE_CURRENT_LIST_DIR}/uri.h
    ${CMAKE_CURRENT_LIST_DIR}/invoker.cpp
    ${CMAKE_CURRENT_LIST_DIR}/invoker.h
    ${CMAKE_CURRENT_LIST_DIR}/smuflranges.cpp
    ${CMAKE_CURRENT_LIST_DIR}/smuflranges.h
    ${CMAKE_CURRENT_LIST_DIR}/widgetstatestore.cpp
    ${CMAKE_CURRENT_LIST_DIR}/widgetstatestore.h
    ${CMAKE_CURRENT_LIST_DIR}/internal/globalconfiguration.cpp
    ${CMAKE_CURRENT_LIST_DIR}/internal/globalconfiguration.h
    ${CMAKE_CURRENT_LIST_DIR}/internal/interactive.cpp
    ${CMAKE_CURRENT_LIST_DIR}/internal/interactive.h
    )

include(${PROJECT_SOURCE_DIR}/build/module.cmake)


/**
 * Private `concat` function to merge two array-like objects.
 *
 * @private
 * @param {Array|Arguments} [set1=[]] An array-like object.
 * @param {Array|Arguments} [set2=[]] An array-like object.
 * @return {Array} A new, merged array.
 * @example
 *
 *      _concat([4, 5, 6], [1, 2, 3]); //=> [4, 5, 6, 1, 2, 3]
 */
module.exports = function _concat(set1, set2) {
  set1 = set1 || [];
  set2 = set2 || [];
  var idx;
  var len1 = set1.length;
  var len2 = set2.length;
  var result = [];

  idx = 0;
  while (idx < len1) {
    result[result.length] = set1[idx];
    idx += 1;
  }
  idx = 0;
  while (idx < len2) {
    result[result.length] = set2[idx];
    idx += 1;
  }
  return result;
};


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE params SYSTEM "../../../../src/libs/tgf/params.dtd">

<params name="NASCAR RWD" type="template">

    <attnum name="initial fuel" unit="l" min="1.0" max="100.0" val="100.0"/>

    <attnum name="angle" unit="deg" min="0" max="30" val="13"/>

        <attnum name="ratio" min="-3" max="0" val="-2.0"/>

        <attnum name="ratio" min="0" max="5" val="4.7"/>

        <attnum name="ratio" min="0" max="5" val="3.3"/>

        <attnum name="ratio" min="0" max="5" val="1.9"/>

        <attnum name="ratio" min="0" max="5" val="1.6"/>

        <attnum name="ratio" min="0" max="5" val="1.4"/>

        <attnum name="ratio" min="0" max="5" val="1.25"/>

    <attstr name="type" in="SPOOL,FREE,LIMITED SLIP" val="FREE"/>

    <attnum name="front-rear brake repartition" min="0.3" max="0.7" val="0.45"/>
    <attnum name="max pressure" unit="kPa" min="100" max="150000" val="14000"/>

    <attnum name="ride height" unit="mm" min="100" max="200" val="100"/>
    <attnum name="toe" unit="deg" min="-5" max="5" val="0"/>
    <attnum name="camber" min="-5" max="0" unit="deg" val="-5"/>

    <attnum name="ride height" unit="mm" min="100" max="200" val="100"/>
    <attnum name="toe" unit="deg" min="-5" max="5" val="0"/>
    <attnum name="camber" min="-5" max="0" unit="deg" val="-5"/>

    <attnum name="ride height" unit="mm" min="100" max="200" val="100"/>
    <attnum name="toe" unit="deg" min="-5" max="5" val="0"/>
    <attnum name="camber" min="-5" max="0" unit="deg" val="-5"/>

    <attnum name="ride height" unit="mm" min="100" max="200" val="100"/>
    <attnum name="toe" unit="deg" min="-5" max="5" val="0"/>
    <attnum name="camber" min="-5" max="0" unit="deg" val="-5"/>

    <attnum name="spring" unit="lbs/in" min="0" max="5000" val="0"/>
    <attnum name="dynamic friction" unit="%" min="80" max="70" val="80"/>
    <attnum name="bellcrank" min="1" max="5" val="1.8"/>

    <attnum name="spring" unit="lbs/in" min="0" max="5000" val="0"/>
    <attnum name="suspension course" unit="m" min="0" max="0.2" val="0.2"/>
    <attnum name="bellcrank" min="1" max="5" val="1.8"/>

    <attnum name="spring" unit="lbs/in" min="0" max="10000" val="1500"/>
    <attnum name="suspension course" unit="m" min="0" max="0.2" val="0.2"/>
    <attnum name="bellcrank" min="1" max="5" val="1.5"/>
    <attnum name="packers" unit="mm" min="0" max="10" val="0"/>
    <attnum name="slow bump" unit="lbs/in/s" min="0" max="1000" val="40"/>
    <attnum name="slow rebound" unit="lbs/in/s" min="0" max="1000" val="40"/>
    <attnum name="fast bump" unit="lbs/in/s" min="0" max="1000" val="60"/>
    <attnum name="fast rebound" unit="lbs/in/s" min="0" max="1000" val="60"/>

    <attnum name="spring" unit="lbs/in" min="0" max="10000" val="1500"/>
    <attnum name="suspension course" unit="m" min="0" max="0.2" val="0.2"/>
    <attnum name="bellcrank" min="1" max="5" val="1.5"/>
    <attnum name="packers" unit="mm" min="0" max="10" val="0"/>
    <attnum name="slow bump" unit="lbs/in/s" min="0" max="1000" val="40"/>
    <attnum name="slow rebound" unit="lbs/in/s" min="0" max="1000" val="40"/>
    <attnum name="fast bump" unit="lbs/in/s" min="0" max="1000" val="60"/>
    <attnum name="fast rebound" unit="lbs/in/s" min="0" max="1000" val="60"/>

    <attnum name="spring" unit="lbs/in" min="0" max="10000" val="1500"/>
    <attnum name="suspension course" unit="m" min="0" max="0.2" val="0.2"/>
    <attnum name="bellcrank" min="1" max="5" val="1.5"/>
    <attnum name="packers" unit="mm" min="0" max="10" val="0"/>
    <attnum name="slow bump" unit="lbs/in/s" min="0" max="1000" val="80"/>
    <attnum name="slow rebound" unit="lbs/in/s" min="0" max="1000" val="80"/>
    <attnum name="fast bump" unit="lbs/in/s" min="0" max="1000" val="80"/>
    <attnum name="fast rebound" unit="lbs/in/s" min="0" max="1000" val="80"/>

    <attnum name="spring" unit="lbs/in" min="0" max="10000" val="1500"/>
    <attnum name="suspension course" unit="m" min="0" max="0.2" val="0.2"/>
    <attnum name="bellcrank" min="1" max="5" val="1.5"/>
    <attnum name="packers" unit="mm" min="0" max="10" val="0"/>
    <attnum name="slow bump" unit="lbs/in/s" min="0" max="1000" val="80"/>
    <attnum name="slow rebound" unit="lbs/in/s" min="0" max="1000" val="80"/>
    <attnum name="fast bump" unit="lbs/in/s" min="0" max="1000" val="80"/>
    <attnum name="fast rebound" unit="lbs/in/s" min="0" max="1000" val="80"/>

    <attnum name="fuelperlap" val="2.0"/>

</params>


CREATE TABLE IF NOT EXISTS versions (
  label varchar(32) NOT NULL,
  value varchar(10) NOT NULL,
  PRIMARY KEY (label)
);

DELETE FROM versions WHERE label = 'schema';
INSERT INTO versions VALUES('schema', '2016110301');


/**
 * \file
 * Implements missing standard socket functions.
 *
 * Author:
 *	Rodrigo Kumpera (kumpera@gmail.com)
 *
 * (C) 2015 Xamarin
 */

#include <mono/utils/networking.h>
#include <mono/utils/mono-compiler.h>
#include <glib.h>

#ifdef HAVE_NETDB_H
#include <netdb.h>
#endif

//wasm does have inet_pton even though autoconf fails to find
#if !defined (HAVE_INET_PTON) && !defined (HOST_WASM)

int
inet_pton (int family, const char *address, void *inaddrp)
{
	if (family == AF_INET) {
#ifdef HAVE_INET_ATON
		struct in_addr inaddr;

		if (!inet_aton (address, &inaddr))
			return 0;

		memcpy (inaddrp, &inaddr, sizeof (struct in_addr));
		return 1;
#else
		/* assume the system has inet_addr(), if it doesn't
		   have that we're pretty much screwed... */
		guint32 inaddr;

		if (!strcmp (address, "255.255.255.255")) {
			/* special-case hack */
			inaddr = 0xffffffff;
		} else {
			inaddr = inet_addr (address);
#ifndef INADDR_NONE
#define INADDR_NONE ((in_addr_t) -1)
#endif
			if (inaddr == INADDR_NONE)
				return 0;
		}

		memcpy (inaddrp, &inaddr, sizeof (guint32));
		return 1;
#endif /* HAVE_INET_ATON */
	}

	return -1;
}

#else /* !HAVE_INET_PTON */

MONO_EMPTY_SOURCE_FILE (networking_missing);
#endif /* !HAVE_INET_PTON */


/*
 * Copyright (c) 2014 castLabs GmbH
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */

package com.castlabs.dash.descriptors.index {
import com.castlabs.dash.DashContext;

public class SegmentIndexFactory {
    private var _context:DashContext;

    public function SegmentIndexFactory(context:DashContext) {
        _context = context;
    }

    public function create(representation:XML):SegmentIndex {
        return traverseAndCreate(representation, representation);
    }

    private function traverseAndCreate(node:XML, representation:XML):SegmentIndex {
        if (node == null) {
            throw _context.console.logAndBuildError("Couldn't find any 'SegmentTimeline', 'SegmentTemplate', " +
                    "'SegmentTemplate', 'SegmentList' or 'BaseURL' tag");
        }

        var segmentIndex:SegmentIndex = null;

        if (node.SegmentTemplate.length() == 1
                && node.SegmentTemplate.SegmentTimeline.length() == 1) {
            _context.console.info("Creating segment time line...");
            segmentIndex = _context.buildSegmentTimeline(representation);
            _context.console.info("Created segment time line, " + segmentIndex.toString());
            return segmentIndex;
        }

        if (node.SegmentTemplate.length() == 1) {
            _context.console.info("Creating segment template...");
            segmentIndex = _context.buildSegmentTemplate(representation);
            _context.console.info("Created segment template, " + segmentIndex.toString());
            return segmentIndex;
        }

        if (node.SegmentList.length() == 1) {
            _context.console.info("Creating segment list...");
            segmentIndex = _context.buildSegmentList(representation);
            _context.console.info("Created segment list, " + segmentIndex.toString());
            return segmentIndex;
        }

        if (node.BaseURL.length() == 1) {
            _context.console.info("Creating segment base URL...");
            segmentIndex = _context.buildSegmentRange(representation);
            _context.console.info("Created segment base URL, " + segmentIndex.toString());
            return segmentIndex;
        }

        return traverseAndCreate(node.parent(), representation);
    }
}
}


레진 피규어

The garage kit is the drop item upon a maid's death, storing all the NBT data for the dead maid. Re-crafting in the altar can revive the maid.


import { inspect as safeInspect } from "../safe/util.js"

import GenericFunction from "../generic/function.js"
import GenericObject from "../generic/object.js"
import OwnProxy from "../own/proxy.js"

import assign from "./assign.js"
import builtinInspect from "../builtin/inspect.js"
import getProxyDetails from "./get-proxy-details.js"
import isModuleNamespaceObject from "./is-module-namespace-object.js"
import isObjectLike from "./is-object-like.js"
import isOwnProxy from "./is-own-proxy.js"
import isProxy from "./is-proxy.js"
import isProxyInspectable from "./is-proxy-inspectable.js"
import isUpdatableDescriptor from "./is-updatable-descriptor.js"
import isUpdatableGet from "./is-updatable-get.js"
import ownPropertyNames from "./own-property-names.js"
import prepareValue from "./prepare-value.js"
import shared from "../shared.js"
import toExternalFunction from "./to-external-function.js"
import toRawModuleNamespaceObject from "./to-raw-module-namespace-object.js"

const UNINITIALIZED_BINDING = "<uninitialized>"
const UNINITIALIZED_VALUE = {}

const nonWhitespaceRegExp = /\S/

function proxyInspectable(object, options, map) {
  if (! isProxyInspectable(object)) {
    return object
  }

  if (map === void 0) {
    map = new Map
  } else {
    const cached = map.get(object)

    if (cached !== void 0) {
      return cached
    }
  }

  let objectIsProxy
  let objectIsOwnProxy
  let inspecting = false

  const proxy = new OwnProxy(object, {
    get(object, name, receiver) {
      if (receiver === proxy) {
        receiver = object
      }

      const { customInspectKey } = shared
      const value = Reflect.get(object, name, receiver)

      let newValue = value

      if (value === builtinInspect &&
          (name === customInspectKey ||
            name === "inspect")) {
        newValue = safeInspect
      } else if (inspecting ||
                  name !== customInspectKey) {
        if (name === "toString" &&
            typeof value === "function") {
          newValue = GenericFunction.bind(value, object)
        }
      } else {
        newValue = toExternalFunction((...args) => {
          inspecting = true

          let [recurseTimes, context] = args

          const contextAsOptions = assign(GenericObject.create(), context)
          const { showProxy } = options

          contextAsOptions.customInspect = options.customInspect
          contextAsOptions.depth = recurseTimes
          contextAsOptions.showProxy = showProxy

          try {
            if (object === UNINITIALIZED_VALUE) {
              return contextAsOptions.colors
                ? stylize(UNINITIALIZED_BINDING, "special")
                : UNINITIALIZED_BINDING
            }

            if (isModuleNamespaceObject(object)) {
              return formatNamespaceObject(object, contextAsOptions)
            }

            if (objectIsOwnProxy === void 0) {
              objectIsOwnProxy = isOwnProxy(object)
            }

            if (objectIsProxy === void 0) {
              objectIsProxy = isProxy(object)
            }

            if (! showProxy ||
                ! objectIsProxy ||
                objectIsOwnProxy) {
              if (typeof value !== "function") {
                contextAsOptions.customInspect = true
              }

              contextAsOptions.showProxy = false

              return safeInspect(proxy, contextAsOptions)
            }

            return formatProxy(object, contextAsOptions)
          } finally {
            inspecting = false
          }
        })
      }

      if (newValue !== value &&
          isUpdatableGet(object, name)) {
        return newValue
      }

      return prepareValue(value)
    },
    getOwnPropertyDescriptor(object, name) {
      const descriptor = Reflect.getOwnPropertyDescriptor(object, name)

      if (isUpdatableDescriptor(descriptor)) {
        const { value } = descriptor

        if (isObjectLike(value)) {
          descriptor.value = proxyInspectable(value, options, map)
        }
      }

      return descriptor
    }
  })

  map.set(object, proxy)
  map.set(proxy, proxy)

  return proxy
}

function formatNamespaceObject(namespace, context) {
  // Avoid `Object.keys()` because it calls `[[GetOwnProperty]]()`,
  // which calls `[[Get]]()`, which calls `GetBindingValue()`,
  // which throws for uninitialized bindings.
  //
  // Section 8.1.1.5.1: GetBindingValue()
  // Step 5: Throw a reference error if the binding is uninitialized.
  // https://tc39.github.io/ecma262/#sec-module-environment-records-getbindingvalue-n-s
  const names = ownPropertyNames(namespace)
  const object = toRawModuleNamespaceObject()

  for (const name of names) {
    object[name] = tryGet(namespace, name)
  }

  const result = builtinInspect(object, context)
  const indentation = result.slice(0, result.search(nonWhitespaceRegExp))
  const trimmed = result.slice(result.indexOf("{"), result.lastIndexOf("}") + 1)

  return indentation + "[Module] " + trimmed
}

function formatProxy(proxy, context) {
  const details = getProxyDetails(proxy)

  let object = proxy

  if (details !== void 0) {
    object = new Proxy(
      toInspectable(details[0], context),
      toInspectable(details[1], context)
    )
  }

  const contextAsOptions = assign({}, context)

  contextAsOptions.customInspect = true

  return safeInspect(object, contextAsOptions)
}

function stylize(string, styleType) {
  const style = builtinInspect.styles[styleType]

  if (style === void 0) {
    return string
  }

  const [foregroundCode, backgroundCode] = builtinInspect.colors[style]

  return "\u001B[" + foregroundCode + "m" + string + "\u001B[" + backgroundCode + "m"
}

function toInspectable(value, options) {
  return {
    __proto__: null,
    [shared.customInspectKey]: toExternalFunction((recurseTimes) => {
      const contextAsOptions = assign(GenericObject.create(), options)

      contextAsOptions.depth = recurseTimes

      return builtinInspect(value, contextAsOptions)
    })
  }
}

function tryGet(object, name) {
  try {
    return Reflect.get(object, name)
  } catch {}

  return UNINITIALIZED_VALUE
}

export default proxyInspectable


# GeoPoints

Parse allows you to associate real-world latitude and longitude coordinates with an object.  Adding a `ParseGeoPoint` to a `ParseObject` allows queries to take into account the proximity of an object to a reference point.  This allows you to easily do things like find out what user is closest to another user or which places are closest to a user.

## ParseGeoPoint

To associate a point with an object you first need to create a `ParseGeoPoint`.  For example, to create a point with latitude of 40.0 degrees and -30.0 degrees longitude:

```php
$point = new ParseGeoPoint(40.0, -30.0);
```

This point is then stored in the object as a regular field.

```php
$placeObject->set("location", $point);
```

Note: Currently only one key in a class may be a `ParseGeoPoint`.

## Geo Queries

Now that you have a bunch of objects with spatial coordinates, it would be nice to find out which objects are closest to a point.  This can be done by adding another restriction to `ParseQuery` using `near`.  Getting an array of ten places that are closest to a user may look something like:

```php
// User's location
$userGeoPoint = $userObject->get("location");
// Create a query for places
$query = new ParseQuery("PlaceObject");
// Interested in locations near user.
$query->near("location", $userGeoPoint);
// Limit what could be a lot of points.
$query->limit(10);
// Final array of objects
$placesObjects = $query->find();
```

At this point `$placesObjects` will be an array of objects ordered by distance (nearest to farthest) from `$userGeoPoint`. Note that if an additional `ascending()`/`descending()` order-by constraint is applied, it will take precedence over the distance ordering.

To limit the results using distance, check out `withinMiles`, `withinKilometers`, and `withinRadians`.

It's also possible to query for the set of objects that are contained within a particular area.  To find the objects in a rectangular bounding box, add the `withinGeoBox` restriction to your `ParseQuery`.

```php
$southwestOfSF = new ParseGeoPoint(37.708813, -122.526398);
$northeastOfSF = new ParseGeoPoint(37.822802, -122.373962);

$query = new ParseQuery("PizzaPlaceObject");
$query->withinGeoBox("location", $southwestOfSF, $northeastOfSF);
$pizzaPlacesInSF = $query->find();
```

## Caveats

At the moment there are a couple of things to watch out for:

1.  Each ParseObject class may only have one key with a ParseGeoPoint object.
2.  Using the `near` constraint will also limit results to within 100 miles.
3.  Points should not equal or exceed the extreme ends of the ranges.  Latitude should not be -90.0 or 90.0.  Longitude should not be -180.0 or 180.0.  Attempting to set latitude or longitude out of bounds will cause an error.